...
Anchor
Files
...
Every wireless device driver’s net_dev.c
Anchor
Prototype
...
...
HTML Table | summary | ||||||
---|---|---|---|---|---|---|---|
class | Code_Listing | ||||||
Table Row (tr) | |||||||
Table Cell (td) | |||||||
| |||||||
Anchor | 1152202 | 1152202 | static void NetDev_MgmtDemux|||||
Code Block | |||||||
static void NetDev_MgmtDemux (NET_IF *p_if, Anchor | | 1152203 | 1152203 | ||||
Anchor | 1152204 | 1152204 | |||||
Table Row (tr) |
...
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’.static
’.Arguments
Anchor
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
Anchor
Required Configuration
Anchor
Notes / Warnings
...
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()
.