Versions Compared

Key

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

NetDev_MgmtDemux()

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.

...

Every wireless device driver’s net_dev.c

Prototype

 

...


Code Block


          static  void  NetDev_MgmtDemux (NET_IF  *p_if,
                                          NET_BUF *p_buf,
                                          NET_ERR *p_err);

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

...