pub enum WlanFullmacImpl_Request {
Show 23 variants
Init {
payload: WlanFullmacImplInitRequest,
responder: WlanFullmacImpl_InitResponder,
},
Query {
responder: WlanFullmacImpl_QueryResponder,
},
QueryMacSublayerSupport {
responder: WlanFullmacImpl_QueryMacSublayerSupportResponder,
},
QuerySecuritySupport {
responder: WlanFullmacImpl_QuerySecuritySupportResponder,
},
QuerySpectrumManagementSupport {
responder: WlanFullmacImpl_QuerySpectrumManagementSupportResponder,
},
StartScan {
payload: WlanFullmacImplStartScanRequest,
responder: WlanFullmacImpl_StartScanResponder,
},
Connect {
payload: WlanFullmacImplConnectRequest,
responder: WlanFullmacImpl_ConnectResponder,
},
Reconnect {
payload: WlanFullmacImplReconnectRequest,
responder: WlanFullmacImpl_ReconnectResponder,
},
Roam {
payload: WlanFullmacImplRoamRequest,
responder: WlanFullmacImpl_RoamResponder,
},
AuthResp {
payload: WlanFullmacImplAuthRespRequest,
responder: WlanFullmacImpl_AuthRespResponder,
},
Deauth {
payload: WlanFullmacImplDeauthRequest,
responder: WlanFullmacImpl_DeauthResponder,
},
AssocResp {
payload: WlanFullmacImplAssocRespRequest,
responder: WlanFullmacImpl_AssocRespResponder,
},
Disassoc {
payload: WlanFullmacImplDisassocRequest,
responder: WlanFullmacImpl_DisassocResponder,
},
StartBss {
payload: WlanFullmacImplStartBssRequest,
responder: WlanFullmacImpl_StartBssResponder,
},
StopBss {
payload: WlanFullmacImplStopBssRequest,
responder: WlanFullmacImpl_StopBssResponder,
},
SetKeys {
payload: WlanFullmacImplSetKeysRequest,
responder: WlanFullmacImpl_SetKeysResponder,
},
EapolTx {
payload: WlanFullmacImplEapolTxRequest,
responder: WlanFullmacImpl_EapolTxResponder,
},
GetIfaceCounterStats {
responder: WlanFullmacImpl_GetIfaceCounterStatsResponder,
},
GetIfaceHistogramStats {
responder: WlanFullmacImpl_GetIfaceHistogramStatsResponder,
},
SaeHandshakeResp {
payload: WlanFullmacImplSaeHandshakeRespRequest,
responder: WlanFullmacImpl_SaeHandshakeRespResponder,
},
SaeFrameTx {
frame: SaeFrame,
responder: WlanFullmacImpl_SaeFrameTxResponder,
},
WmmStatusReq {
responder: WlanFullmacImpl_WmmStatusReqResponder,
},
OnLinkStateChanged {
payload: WlanFullmacImplOnLinkStateChangedRequest,
responder: WlanFullmacImpl_OnLinkStateChangedResponder,
},
}
Expand description
Protocol definition for communication from the platform to the fullmac vendor driver.
Variants§
Init
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.
Query
Returns high-level information describing the state of the FullMAC driver. This is safe to call even before the call to WlanFullmacImpl::Start.
Fields
responder: WlanFullmacImpl_QueryResponder
QueryMacSublayerSupport
Fields
QuerySecuritySupport
Fields
QuerySpectrumManagementSupport
Fields
StartScan
Connect
Reconnect
Roam
Initiate a roam attempt, which moves association to a different BSS within the ESS.
AuthResp
Deauth
AssocResp
Disassoc
StartBss
StopBss
SetKeys
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.
EapolTx
GetIfaceCounterStats
Fields
GetIfaceHistogramStats
Fields
SaeHandshakeResp
Informs the driver of the result of an SAE handshake.
Fields
responder: WlanFullmacImpl_SaeHandshakeRespResponder
SaeFrameTx
Transmit an SAE authentication frame.
WmmStatusReq
Fields
responder: WlanFullmacImpl_WmmStatusReqResponder
OnLinkStateChanged
Fields
responder: WlanFullmacImpl_OnLinkStateChangedResponder
Implementations§
Source§impl WlanFullmacImpl_Request
impl WlanFullmacImpl_Request
pub fn into_init( self, ) -> Option<(WlanFullmacImplInitRequest, WlanFullmacImpl_InitResponder)>
pub fn into_query(self) -> Option<WlanFullmacImpl_QueryResponder>
pub fn into_query_mac_sublayer_support( self, ) -> Option<WlanFullmacImpl_QueryMacSublayerSupportResponder>
pub fn into_query_security_support( self, ) -> Option<WlanFullmacImpl_QuerySecuritySupportResponder>
pub fn into_query_spectrum_management_support( self, ) -> Option<WlanFullmacImpl_QuerySpectrumManagementSupportResponder>
pub fn into_start_scan( self, ) -> Option<(WlanFullmacImplStartScanRequest, WlanFullmacImpl_StartScanResponder)>
pub fn into_connect( self, ) -> Option<(WlanFullmacImplConnectRequest, WlanFullmacImpl_ConnectResponder)>
pub fn into_reconnect( self, ) -> Option<(WlanFullmacImplReconnectRequest, WlanFullmacImpl_ReconnectResponder)>
pub fn into_roam( self, ) -> Option<(WlanFullmacImplRoamRequest, WlanFullmacImpl_RoamResponder)>
pub fn into_auth_resp( self, ) -> Option<(WlanFullmacImplAuthRespRequest, WlanFullmacImpl_AuthRespResponder)>
pub fn into_deauth( self, ) -> Option<(WlanFullmacImplDeauthRequest, WlanFullmacImpl_DeauthResponder)>
pub fn into_assoc_resp( self, ) -> Option<(WlanFullmacImplAssocRespRequest, WlanFullmacImpl_AssocRespResponder)>
pub fn into_disassoc( self, ) -> Option<(WlanFullmacImplDisassocRequest, WlanFullmacImpl_DisassocResponder)>
pub fn into_start_bss( self, ) -> Option<(WlanFullmacImplStartBssRequest, WlanFullmacImpl_StartBssResponder)>
pub fn into_stop_bss( self, ) -> Option<(WlanFullmacImplStopBssRequest, WlanFullmacImpl_StopBssResponder)>
pub fn into_set_keys( self, ) -> Option<(WlanFullmacImplSetKeysRequest, WlanFullmacImpl_SetKeysResponder)>
pub fn into_eapol_tx( self, ) -> Option<(WlanFullmacImplEapolTxRequest, WlanFullmacImpl_EapolTxResponder)>
pub fn into_get_iface_counter_stats( self, ) -> Option<WlanFullmacImpl_GetIfaceCounterStatsResponder>
pub fn into_get_iface_histogram_stats( self, ) -> Option<WlanFullmacImpl_GetIfaceHistogramStatsResponder>
pub fn into_sae_handshake_resp( self, ) -> Option<(WlanFullmacImplSaeHandshakeRespRequest, WlanFullmacImpl_SaeHandshakeRespResponder)>
pub fn into_sae_frame_tx( self, ) -> Option<(SaeFrame, WlanFullmacImpl_SaeFrameTxResponder)>
pub fn into_wmm_status_req( self, ) -> Option<WlanFullmacImpl_WmmStatusReqResponder>
pub fn into_on_link_state_changed( self, ) -> Option<(WlanFullmacImplOnLinkStateChangedRequest, WlanFullmacImpl_OnLinkStateChangedResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL