Versions Compared

Key

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

NetDev_MgmtExecuteCmd()

A device’s execute management command function is used to implement miscellaneous wireless management functionality such as scanning for available wireless network.

...

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

...

Management command to execute:

NET_IF_WIFI_CMD_SCAN
NET_IF_WIFI_CMD_JOIN
NET_IF_WIFI_CMD_LEAVE
NET_IF_IO_CTRL_LINK_STATE_GET
NET_IF_IO_CTRL_LINK_STATE_GET_INFO
NET_IF_IO_CTRL_LINK_STATE_UPDATE

Others management commands defined by the driver.

...