Versions Compared

Key

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

...

Anchor10597921059792 How to Demultiplex Management Frames Anchor10597881059788NetDev_MgmtDemux() is called by μC/TCP-IP’s Receive task after the device’s receive function has returned a management frame. NetDev_MgmtDemux() requires that the device driver analyses management frames received and it must performs all necessary operations. It performs the following actions:

...

  1. 1060709Determine if the management frame is a response of a previous management command sent or if it is a management frame which require the driver to update driver’s state.
  2. Anchor10609241060924If the management frame is a response, the device’s Wireless Manager must be signaled using the function pointer NetWiFiMgr_Signal(). No other steps are required in that case. Anchor10651941065194
  3. If the management frame is a state update, the driver should update device’s data or interface’s link state or perform transmit complete operations.
  4. Anchor10652041065204NetDev_MgmtDemux() sets p_err to NET_DEV_ERR_NONE and return from the demultiplex function.
 1065199
HTML Table
summary
classWarning
Table Row (tr)
Table Cell (td)
Anchor
10651971065197
Table Cell (td)
Anchor
1065199
Warning

If the management frame is only used within NetDev_MgmtDemux() (i.e., device’s Wireless Manager not signaled), the network buffer must be freed by calling NetBuf_Free().