Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NetDev_MgmtDemux()

...

1111550A 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.anchor11065071106507

Files

Anchor11065081106508Every wireless device driver’s net_dev.c Anchor10962471096247

Prototype

Anchor1136572 1136572

 

...

rowspan2

...

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’. Anchor11106191110619static’.

Arguments

...

11106241110624p_if Anchor11320201132020

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

...

11320221132022p_buf Anchor11320281132028

Pointer to the network buffer that contains the management frame.

...

p_erranchor11320301132030

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

...

...

Returned Value

...

11106791110679None. Anchor11106801110680

Required Configuration

...

11106811110681None. Anchor11106821110682

Notes / Warnings

...

1110683When 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(). Anchor11357941135794

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().