pub fn start_and_serve_on_separate_thread<F, D: DeviceOps + Send + 'static>(
device: D,
shutdown_completer: Completer<F>,
) -> Result<FullmacMlmeHandle>where
F: FnOnce(zx_status_t) + 'static,
Expand description
Starts and serves the FullMAC MLME on a separate thread.
This will block until the FullMAC MLME has been initialized. MLME is considered “initialized”
after it bootstraps USME, queries the vendor driver for supported hardware features, and
creates the SME and MLME main loop futures. See the start
function in this file for details.
Returns a handle to MLME on success, and an error if MLME failed to initialize.