pub struct WlanFullmacImpl_Proxy { /* private fields */ }
Implementations§
Source§impl WlanFullmacImpl_Proxy
impl WlanFullmacImpl_Proxy
Sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fuchsia.wlan.fullmac/WlanFullmacImpl.
Sourcepub fn take_event_stream(&self) -> WlanFullmacImpl_EventStream
pub fn take_event_stream(&self) -> WlanFullmacImpl_EventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
Sourcepub fn init(
&self,
payload: WlanFullmacImplInitRequest,
) -> QueryResponseFut<WlanFullmacImplInitResult, DefaultFuchsiaResourceDialect>
pub fn init( &self, payload: WlanFullmacImplInitRequest, ) -> QueryResponseFut<WlanFullmacImplInitResult, DefaultFuchsiaResourceDialect>
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,
) -> QueryResponseFut<WlanFullmacImplQueryResult, DefaultFuchsiaResourceDialect>
pub fn query( &self, ) -> QueryResponseFut<WlanFullmacImplQueryResult, DefaultFuchsiaResourceDialect>
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_security_support( &self, ) -> QueryResponseFut<WlanFullmacImplQuerySecuritySupportResult, DefaultFuchsiaResourceDialect>
pub fn query_spectrum_management_support( &self, ) -> QueryResponseFut<WlanFullmacImplQuerySpectrumManagementSupportResult, DefaultFuchsiaResourceDialect>
pub fn query_telemetry_support( &self, ) -> QueryResponseFut<WlanFullmacImplQueryTelemetrySupportResult, DefaultFuchsiaResourceDialect>
pub fn start_scan( &self, payload: &WlanFullmacImplStartScanRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn connect( &self, payload: &WlanFullmacImplConnectRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn reconnect( &self, payload: &WlanFullmacImplReconnectRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
Sourcepub fn roam(
&self,
payload: &WlanFullmacImplRoamRequest,
) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn roam( &self, payload: &WlanFullmacImplRoamRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
Initiate a roam attempt, which moves association to a different BSS within the ESS.
pub fn auth_resp( &self, payload: &WlanFullmacImplAuthRespRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn deauth( &self, payload: &WlanFullmacImplDeauthRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn assoc_resp( &self, payload: &WlanFullmacImplAssocRespRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn disassoc( &self, payload: &WlanFullmacImplDisassocRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn start_bss( &self, payload: &WlanFullmacImplStartBssRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn stop_bss( &self, payload: &WlanFullmacImplStopBssRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
Sourcepub fn set_keys(
&self,
payload: &WlanFullmacImplSetKeysRequest,
) -> QueryResponseFut<WlanFullmacSetKeysResp, DefaultFuchsiaResourceDialect>
pub fn set_keys( &self, payload: &WlanFullmacImplSetKeysRequest, ) -> QueryResponseFut<WlanFullmacSetKeysResp, DefaultFuchsiaResourceDialect>
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, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn get_iface_stats( &self, ) -> QueryResponseFut<WlanFullmacImplGetIfaceStatsResult, DefaultFuchsiaResourceDialect>
pub fn get_iface_histogram_stats( &self, ) -> QueryResponseFut<WlanFullmacImplGetIfaceHistogramStatsResult, DefaultFuchsiaResourceDialect>
Sourcepub fn sae_handshake_resp(
&self,
payload: &WlanFullmacImplSaeHandshakeRespRequest,
) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn sae_handshake_resp( &self, payload: &WlanFullmacImplSaeHandshakeRespRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
Informs the driver of the result of an SAE handshake.
Sourcepub fn sae_frame_tx(
&self,
frame: &SaeFrame,
) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn sae_frame_tx( &self, frame: &SaeFrame, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
Transmit an SAE authentication frame.
pub fn wmm_status_req( &self, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn on_link_state_changed( &self, payload: &WlanFullmacImplOnLinkStateChangedRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
Trait Implementations§
Source§impl Clone for WlanFullmacImpl_Proxy
impl Clone for WlanFullmacImpl_Proxy
Source§fn clone(&self) -> WlanFullmacImpl_Proxy
fn clone(&self) -> WlanFullmacImpl_Proxy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for WlanFullmacImpl_Proxy
impl Debug for WlanFullmacImpl_Proxy
Source§impl Proxy for WlanFullmacImpl_Proxy
impl Proxy for WlanFullmacImpl_Proxy
Source§type Protocol = WlanFullmacImpl_Marker
type Protocol = WlanFullmacImpl_Marker
Proxy
controls.