pub struct WlanFullmacImpl_SynchronousProxy { /* private fields */ }
Implementations§
Source§impl WlanFullmacImpl_SynchronousProxy
impl WlanFullmacImpl_SynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<WlanFullmacImpl_Event, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<WlanFullmacImpl_Event, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn init(
&self,
payload: WlanFullmacImplInitRequest,
___deadline: MonotonicInstant,
) -> Result<WlanFullmacImplInitResult, Error>
pub fn init( &self, payload: WlanFullmacImplInitRequest, ___deadline: MonotonicInstant, ) -> Result<WlanFullmacImplInitResult, Error>
Initialize the FullMAC driver. This is the first request that the platform will make to the FullMAC driver.
On initialization, MLME provides the client end to the WlanFullmacImplIfc protocol. The driver must return the SME server end channel, which is used internally by the platform. Typically, the SME server end channel is given to the FullMAC driver by fuchsia.wlan.phyimpl/WlanPhyImpl.CreateIface.
If Init
completes successfully, the platform will begin making other WlanFullmacImpl
requests to the FullMAC driver, and the FullMAC driver is free to make WlanFullmacImplIfc
requests to the platform. The platform may continue making WlanFullmacImpl requests until
the WlanFullmacImpl server unbinds.
Common errors include:
ZX_ERR_ALREADY_BOUND
:Init
was already called on this FullMAC driver.
Sourcepub fn query(
&self,
___deadline: MonotonicInstant,
) -> Result<WlanFullmacImplQueryResult, Error>
pub fn query( &self, ___deadline: MonotonicInstant, ) -> Result<WlanFullmacImplQueryResult, Error>
Returns high-level information describing the state of the FullMAC driver. This is safe to call even before the call to WlanFullmacImpl::Start.
pub fn query_mac_sublayer_support( &self, ___deadline: MonotonicInstant, ) -> Result<WlanFullmacImplQueryMacSublayerSupportResult, Error>
pub fn query_security_support( &self, ___deadline: MonotonicInstant, ) -> Result<WlanFullmacImplQuerySecuritySupportResult, Error>
pub fn query_spectrum_management_support( &self, ___deadline: MonotonicInstant, ) -> Result<WlanFullmacImplQuerySpectrumManagementSupportResult, Error>
pub fn start_scan( &self, payload: &WlanFullmacImplStartScanRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
pub fn connect( &self, payload: &WlanFullmacImplConnectRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
pub fn reconnect( &self, payload: &WlanFullmacImplReconnectRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
Sourcepub fn roam(
&self,
payload: &WlanFullmacImplRoamRequest,
___deadline: MonotonicInstant,
) -> Result<(), Error>
pub fn roam( &self, payload: &WlanFullmacImplRoamRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
Initiate a roam attempt, which moves association to a different BSS within the ESS.
pub fn auth_resp( &self, payload: &WlanFullmacImplAuthRespRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
pub fn deauth( &self, payload: &WlanFullmacImplDeauthRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
pub fn assoc_resp( &self, payload: &WlanFullmacImplAssocRespRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
pub fn disassoc( &self, payload: &WlanFullmacImplDisassocRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
pub fn start_bss( &self, payload: &WlanFullmacImplStartBssRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
pub fn stop_bss( &self, payload: &WlanFullmacImplStopBssRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
Sourcepub fn set_keys(
&self,
payload: &WlanFullmacImplSetKeysRequest,
___deadline: MonotonicInstant,
) -> Result<WlanFullmacSetKeysResp, Error>
pub fn set_keys( &self, payload: &WlanFullmacImplSetKeysRequest, ___deadline: MonotonicInstant, ) -> Result<WlanFullmacSetKeysResp, Error>
Sets security keys for a connection. This is typically called after a successful key exchange.
Note that the platform assumes that the driver will automatically delete keys on a disconnect or key rotation.
pub fn eapol_tx( &self, payload: &WlanFullmacImplEapolTxRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
pub fn get_iface_counter_stats( &self, ___deadline: MonotonicInstant, ) -> Result<WlanFullmacImplGetIfaceCounterStatsResult, Error>
pub fn get_iface_histogram_stats( &self, ___deadline: MonotonicInstant, ) -> Result<WlanFullmacImplGetIfaceHistogramStatsResult, Error>
Sourcepub fn sae_handshake_resp(
&self,
payload: &WlanFullmacImplSaeHandshakeRespRequest,
___deadline: MonotonicInstant,
) -> Result<(), Error>
pub fn sae_handshake_resp( &self, payload: &WlanFullmacImplSaeHandshakeRespRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
Informs the driver of the result of an SAE handshake.
Sourcepub fn sae_frame_tx(
&self,
frame: &SaeFrame,
___deadline: MonotonicInstant,
) -> Result<(), Error>
pub fn sae_frame_tx( &self, frame: &SaeFrame, ___deadline: MonotonicInstant, ) -> Result<(), Error>
Transmit an SAE authentication frame.
pub fn wmm_status_req(&self, ___deadline: MonotonicInstant) -> Result<(), Error>
pub fn on_link_state_changed( &self, payload: &WlanFullmacImplOnLinkStateChangedRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
Trait Implementations§
Source§impl SynchronousProxy for WlanFullmacImpl_SynchronousProxy
impl SynchronousProxy for WlanFullmacImpl_SynchronousProxy
Source§type Proxy = WlanFullmacImpl_Proxy
type Proxy = WlanFullmacImpl_Proxy
Source§type Protocol = WlanFullmacImpl_Marker
type Protocol = WlanFullmacImpl_Marker
Proxy
controls.