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_mac_sublayer_support( &self, ) -> QueryResponseFut<WlanFullmacImplQueryMacSublayerSupportResult, DefaultFuchsiaResourceDialect>
pub fn query_security_support( &self, ) -> QueryResponseFut<WlanFullmacImplQuerySecuritySupportResult, DefaultFuchsiaResourceDialect>
pub fn query_spectrum_management_support( &self, ) -> QueryResponseFut<WlanFullmacImplQuerySpectrumManagementSupportResult, 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_counter_stats( &self, ) -> QueryResponseFut<WlanFullmacImplGetIfaceCounterStatsResult, 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.Source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
§fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
Source§impl WlanFullmacImpl_ProxyInterface for WlanFullmacImpl_Proxy
impl WlanFullmacImpl_ProxyInterface for WlanFullmacImpl_Proxy
type InitResponseFut = QueryResponseFut<Result<WlanFullmacImplInitResponse, i32>>
type QueryResponseFut = QueryResponseFut<Result<WlanFullmacImplQueryResponse, i32>>
type QueryMacSublayerSupportResponseFut = QueryResponseFut<Result<MacSublayerSupport, i32>>
type QuerySecuritySupportResponseFut = QueryResponseFut<Result<SecuritySupport, i32>>
type QuerySpectrumManagementSupportResponseFut = QueryResponseFut<Result<SpectrumManagementSupport, i32>>
type StartScanResponseFut = QueryResponseFut<()>
type ConnectResponseFut = QueryResponseFut<()>
type ReconnectResponseFut = QueryResponseFut<()>
type RoamResponseFut = QueryResponseFut<()>
type AuthRespResponseFut = QueryResponseFut<()>
type DeauthResponseFut = QueryResponseFut<()>
type AssocRespResponseFut = QueryResponseFut<()>
type DisassocResponseFut = QueryResponseFut<()>
type StartBssResponseFut = QueryResponseFut<()>
type StopBssResponseFut = QueryResponseFut<()>
type SetKeysResponseFut = QueryResponseFut<WlanFullmacSetKeysResp>
type EapolTxResponseFut = QueryResponseFut<()>
type GetIfaceCounterStatsResponseFut = QueryResponseFut<Result<WlanFullmacIfaceCounterStats, i32>>
type GetIfaceHistogramStatsResponseFut = QueryResponseFut<Result<WlanFullmacIfaceHistogramStats, i32>>
type SaeHandshakeRespResponseFut = QueryResponseFut<()>
type SaeFrameTxResponseFut = QueryResponseFut<()>
type WmmStatusReqResponseFut = QueryResponseFut<()>
type OnLinkStateChangedResponseFut = QueryResponseFut<()>
fn init(&self, payload: WlanFullmacImplInitRequest) -> Self::InitResponseFut
fn query(&self) -> Self::QueryResponseFut
fn query_mac_sublayer_support(&self) -> Self::QueryMacSublayerSupportResponseFut
fn query_security_support(&self) -> Self::QuerySecuritySupportResponseFut
fn query_spectrum_management_support( &self, ) -> Self::QuerySpectrumManagementSupportResponseFut
fn start_scan( &self, payload: &WlanFullmacImplStartScanRequest, ) -> Self::StartScanResponseFut
fn connect( &self, payload: &WlanFullmacImplConnectRequest, ) -> Self::ConnectResponseFut
fn reconnect( &self, payload: &WlanFullmacImplReconnectRequest, ) -> Self::ReconnectResponseFut
fn roam(&self, payload: &WlanFullmacImplRoamRequest) -> Self::RoamResponseFut
fn auth_resp( &self, payload: &WlanFullmacImplAuthRespRequest, ) -> Self::AuthRespResponseFut
fn deauth( &self, payload: &WlanFullmacImplDeauthRequest, ) -> Self::DeauthResponseFut
fn assoc_resp( &self, payload: &WlanFullmacImplAssocRespRequest, ) -> Self::AssocRespResponseFut
fn disassoc( &self, payload: &WlanFullmacImplDisassocRequest, ) -> Self::DisassocResponseFut
fn start_bss( &self, payload: &WlanFullmacImplStartBssRequest, ) -> Self::StartBssResponseFut
fn stop_bss( &self, payload: &WlanFullmacImplStopBssRequest, ) -> Self::StopBssResponseFut
fn set_keys( &self, payload: &WlanFullmacImplSetKeysRequest, ) -> Self::SetKeysResponseFut
fn eapol_tx( &self, payload: &WlanFullmacImplEapolTxRequest, ) -> Self::EapolTxResponseFut
fn get_iface_counter_stats(&self) -> Self::GetIfaceCounterStatsResponseFut
fn get_iface_histogram_stats(&self) -> Self::GetIfaceHistogramStatsResponseFut
fn sae_handshake_resp( &self, payload: &WlanFullmacImplSaeHandshakeRespRequest, ) -> Self::SaeHandshakeRespResponseFut
fn sae_frame_tx(&self, frame: &SaeFrame) -> Self::SaeFrameTxResponseFut
fn wmm_status_req(&self) -> Self::WmmStatusReqResponseFut
fn on_link_state_changed( &self, payload: &WlanFullmacImplOnLinkStateChangedRequest, ) -> Self::OnLinkStateChangedResponseFut
Auto Trait Implementations§
impl Freeze for WlanFullmacImpl_Proxy
impl !RefUnwindSafe for WlanFullmacImpl_Proxy
impl Send for WlanFullmacImpl_Proxy
impl Sync for WlanFullmacImpl_Proxy
impl Unpin for WlanFullmacImpl_Proxy
impl !UnwindSafe for WlanFullmacImpl_Proxy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)