pub enum DeviceMonitorRequest {
Show 20 variants
ListPhys {
responder: DeviceMonitorListPhysResponder,
},
ListIfaces {
responder: DeviceMonitorListIfacesResponder,
},
GetDevPath {
phy_id: u16,
responder: DeviceMonitorGetDevPathResponder,
},
GetSupportedMacRoles {
phy_id: u16,
responder: DeviceMonitorGetSupportedMacRolesResponder,
},
WatchDevices {
watcher: ServerEnd<DeviceWatcherMarker>,
control_handle: DeviceMonitorControlHandle,
},
GetCountry {
phy_id: u16,
responder: DeviceMonitorGetCountryResponder,
},
SetCountry {
req: SetCountryRequest,
responder: DeviceMonitorSetCountryResponder,
},
ClearCountry {
req: ClearCountryRequest,
responder: DeviceMonitorClearCountryResponder,
},
SetPowerSaveMode {
req: SetPowerSaveModeRequest,
responder: DeviceMonitorSetPowerSaveModeResponder,
},
GetPowerSaveMode {
phy_id: u16,
responder: DeviceMonitorGetPowerSaveModeResponder,
},
PowerDown {
phy_id: u16,
responder: DeviceMonitorPowerDownResponder,
},
PowerUp {
phy_id: u16,
responder: DeviceMonitorPowerUpResponder,
},
Reset {
phy_id: u16,
responder: DeviceMonitorResetResponder,
},
GetPowerState {
phy_id: u16,
responder: DeviceMonitorGetPowerStateResponder,
},
CreateIface {
payload: DeviceMonitorCreateIfaceRequest,
responder: DeviceMonitorCreateIfaceResponder,
},
QueryIface {
iface_id: u16,
responder: DeviceMonitorQueryIfaceResponder,
},
DestroyIface {
req: DestroyIfaceRequest,
responder: DeviceMonitorDestroyIfaceResponder,
},
GetClientSme {
iface_id: u16,
sme_server: ServerEnd<ClientSmeMarker>,
responder: DeviceMonitorGetClientSmeResponder,
},
GetApSme {
iface_id: u16,
sme_server: ServerEnd<ApSmeMarker>,
responder: DeviceMonitorGetApSmeResponder,
},
GetSmeTelemetry {
iface_id: u16,
telemetry_server: ServerEnd<TelemetryMarker>,
responder: DeviceMonitorGetSmeTelemetryResponder,
},
}
Variants§
ListPhys
Fields
responder: DeviceMonitorListPhysResponder
ListIfaces
Fields
responder: DeviceMonitorListIfacesResponder
GetDevPath
GetSupportedMacRoles
WatchDevices
GetCountry
SetCountry
ClearCountry
SetPowerSaveMode
GetPowerSaveMode
PowerDown
All interfaces should be deleted before calling this method. If supported, the wlan driver will power down the wlan chip. Refer to wlan.phyimpl fidl for more details.
PowerUp
If supported, the wlan driver will power up the wlan chip. Refer to wlan.phyimpl fidl for more details.
Reset
If supported, the wlan driver will reset the wlan chip. An attempt is made to delete any existing interfaces. Refer to wlan.phyimpl fidl for more details.
GetPowerState
This will return the current power state of the wlan chip.
CreateIface
QueryIface
DestroyIface
GetClientSme
Attempt to establish a new connection to a Client SME. Connections may be established for the whole lifetime of the SME, but concurrent connections might lead to unexpected behavior. Likely errors include: * NOT_FOUND: The given iface_id does not exist. * NOT_SUPPORTED: The underlying SME is not a Client SME. * PEER_CLOSED: The underlying SME is shutting down.
GetApSme
Attempt to establish a new connection to an AP SME. Connections may be established for the whole lifetime of the SME, but concurrent connections might lead to unexpected behavior. Likely errors include: * NOT_FOUND: The given iface_id does not exist. * NOT_SUPPORTED: The underlying SME is not a Client SME. * PEER_CLOSED: The underlying SME is shutting down.
GetSmeTelemetry
Attempt to establish a new connection to telemetry for an SME. Connections may be established for the whole lifetime of the SME, and concurrent connections are safe since this is a read-only API. Likely errors include: * NOT_FOUND: The given iface_id does not exist. * NOT_SUPPORTED: The underlying SME is not a Client SME. * PEER_CLOSED: The underlying SME is shutting down.
Fields
telemetry_server: ServerEnd<TelemetryMarker>
responder: DeviceMonitorGetSmeTelemetryResponder
Implementations§
Source§impl DeviceMonitorRequest
impl DeviceMonitorRequest
pub fn into_list_phys(self) -> Option<DeviceMonitorListPhysResponder>
pub fn into_list_ifaces(self) -> Option<DeviceMonitorListIfacesResponder>
pub fn into_get_dev_path( self, ) -> Option<(u16, DeviceMonitorGetDevPathResponder)>
pub fn into_get_supported_mac_roles( self, ) -> Option<(u16, DeviceMonitorGetSupportedMacRolesResponder)>
pub fn into_watch_devices( self, ) -> Option<(ServerEnd<DeviceWatcherMarker>, DeviceMonitorControlHandle)>
pub fn into_get_country(self) -> Option<(u16, DeviceMonitorGetCountryResponder)>
pub fn into_set_country( self, ) -> Option<(SetCountryRequest, DeviceMonitorSetCountryResponder)>
pub fn into_clear_country( self, ) -> Option<(ClearCountryRequest, DeviceMonitorClearCountryResponder)>
pub fn into_set_power_save_mode( self, ) -> Option<(SetPowerSaveModeRequest, DeviceMonitorSetPowerSaveModeResponder)>
pub fn into_get_power_save_mode( self, ) -> Option<(u16, DeviceMonitorGetPowerSaveModeResponder)>
pub fn into_power_down(self) -> Option<(u16, DeviceMonitorPowerDownResponder)>
pub fn into_power_up(self) -> Option<(u16, DeviceMonitorPowerUpResponder)>
pub fn into_reset(self) -> Option<(u16, DeviceMonitorResetResponder)>
pub fn into_get_power_state( self, ) -> Option<(u16, DeviceMonitorGetPowerStateResponder)>
pub fn into_create_iface( self, ) -> Option<(DeviceMonitorCreateIfaceRequest, DeviceMonitorCreateIfaceResponder)>
pub fn into_query_iface(self) -> Option<(u16, DeviceMonitorQueryIfaceResponder)>
pub fn into_destroy_iface( self, ) -> Option<(DestroyIfaceRequest, DeviceMonitorDestroyIfaceResponder)>
pub fn into_get_client_sme( self, ) -> Option<(u16, ServerEnd<ClientSmeMarker>, DeviceMonitorGetClientSmeResponder)>
pub fn into_get_ap_sme( self, ) -> Option<(u16, ServerEnd<ApSmeMarker>, DeviceMonitorGetApSmeResponder)>
pub fn into_get_sme_telemetry( self, ) -> Option<(u16, ServerEnd<TelemetryMarker>, DeviceMonitorGetSmeTelemetryResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL