Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

A device’s management demultiplex function is used to demultiplex a management frame to signal the Wireless Manager the response or to implement miscellaneous functionality such as updating the link state when the wireless network is out of the range and the connection is lost.

Files

Every wireless device driver’s net_dev.c

Prototype

Note that since every device driver’s MgmtDemux() function is accessed only by function pointer via the device driver’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static’.

Arguments

p_if

Pointer to the interface to handle network device I/O operations.

p_buf

Pointer to the network buffer that contains the management frame.

p_err

Pointer to variable that will receive the return error code from this function.

Returned Value

None.

Required Configuration

None.

Notes / Warnings

When a management command has been sent and the Wireless Manager is waiting for the response, the Wireless Manager must be signaled by calling p_mgr_api->Signal().

The network buffer must be freed by the function if the Wireless Manager is not signaled and no error are returned by calling NetBuf_Free().

  • No labels