wlan_sme::serve

Function create_sme

Source
pub fn create_sme(
    cfg: Config,
    mlme_event_stream: MlmeEventStream,
    device_info: &DeviceInfo,
    mac_sublayer_support: MacSublayerSupport,
    security_support: SecuritySupport,
    spectrum_management_support: SpectrumManagementSupport,
    inspector: Inspector,
    persistence_req_sender: PersistenceReqSender,
    generic_sme_request_stream: <GenericSmeMarker as ProtocolMarker>::RequestStream,
) -> Result<(MlmeStream, Pin<Box<impl Future<Output = Result<(), Error>>>>), Error>