fidl_fuchsia_wlan_fullmac

Enum WlanFullmacImpl_Request

Source
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.

§

QueryMacSublayerSupport

§

QuerySecuritySupport

§

QuerySpectrumManagementSupport

§

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

§

GetIfaceHistogramStats

§

SaeHandshakeResp

Informs the driver of the result of an SAE handshake.

§

SaeFrameTx

Transmit an SAE authentication frame.

§

WmmStatusReq

§

OnLinkStateChanged

Implementations§

Source§

impl WlanFullmacImpl_Request

Source

pub fn into_init( self, ) -> Option<(WlanFullmacImplInitRequest, WlanFullmacImpl_InitResponder)>

Source

pub fn into_query(self) -> Option<WlanFullmacImpl_QueryResponder>

Source

pub fn into_query_mac_sublayer_support( self, ) -> Option<WlanFullmacImpl_QueryMacSublayerSupportResponder>

Source

pub fn into_query_security_support( self, ) -> Option<WlanFullmacImpl_QuerySecuritySupportResponder>

Source

pub fn into_query_spectrum_management_support( self, ) -> Option<WlanFullmacImpl_QuerySpectrumManagementSupportResponder>

Source

pub fn into_start_scan( self, ) -> Option<(WlanFullmacImplStartScanRequest, WlanFullmacImpl_StartScanResponder)>

Source

pub fn into_connect( self, ) -> Option<(WlanFullmacImplConnectRequest, WlanFullmacImpl_ConnectResponder)>

Source

pub fn into_reconnect( self, ) -> Option<(WlanFullmacImplReconnectRequest, WlanFullmacImpl_ReconnectResponder)>

Source

pub fn into_roam( self, ) -> Option<(WlanFullmacImplRoamRequest, WlanFullmacImpl_RoamResponder)>

Source

pub fn into_auth_resp( self, ) -> Option<(WlanFullmacImplAuthRespRequest, WlanFullmacImpl_AuthRespResponder)>

Source

pub fn into_deauth( self, ) -> Option<(WlanFullmacImplDeauthRequest, WlanFullmacImpl_DeauthResponder)>

Source

pub fn into_assoc_resp( self, ) -> Option<(WlanFullmacImplAssocRespRequest, WlanFullmacImpl_AssocRespResponder)>

Source

pub fn into_disassoc( self, ) -> Option<(WlanFullmacImplDisassocRequest, WlanFullmacImpl_DisassocResponder)>

Source

pub fn into_start_bss( self, ) -> Option<(WlanFullmacImplStartBssRequest, WlanFullmacImpl_StartBssResponder)>

Source

pub fn into_stop_bss( self, ) -> Option<(WlanFullmacImplStopBssRequest, WlanFullmacImpl_StopBssResponder)>

Source

pub fn into_set_keys( self, ) -> Option<(WlanFullmacImplSetKeysRequest, WlanFullmacImpl_SetKeysResponder)>

Source

pub fn into_eapol_tx( self, ) -> Option<(WlanFullmacImplEapolTxRequest, WlanFullmacImpl_EapolTxResponder)>

Source

pub fn into_get_iface_counter_stats( self, ) -> Option<WlanFullmacImpl_GetIfaceCounterStatsResponder>

Source

pub fn into_get_iface_histogram_stats( self, ) -> Option<WlanFullmacImpl_GetIfaceHistogramStatsResponder>

Source

pub fn into_sae_handshake_resp( self, ) -> Option<(WlanFullmacImplSaeHandshakeRespRequest, WlanFullmacImpl_SaeHandshakeRespResponder)>

Source

pub fn into_sae_frame_tx( self, ) -> Option<(SaeFrame, WlanFullmacImpl_SaeFrameTxResponder)>

Source

pub fn into_wmm_status_req( self, ) -> Option<WlanFullmacImpl_WmmStatusReqResponder>

Source

pub fn method_name(&self) -> &'static str

Name of the method defined in FIDL

Trait Implementations§

Source§

impl Debug for WlanFullmacImpl_Request

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T, D> Encode<Ambiguous1, D> for T
where D: ResourceDialect,

§

unsafe fn encode( self, _encoder: &mut Encoder<'_, D>, _offset: usize, _depth: Depth, ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
§

impl<T, D> Encode<Ambiguous2, D> for T
where D: ResourceDialect,

§

unsafe fn encode( self, _encoder: &mut Encoder<'_, D>, _offset: usize, _depth: Depth, ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.