Versions Compared

Key

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

NetWiFiMgr_Mgmt()

A wireless management/Mgmt() function is used to implement miscellaneous functionality needed by the driver such as command that need response.

...

Every Wireless Manager layer net_wifi_mgr.c

Prototype

 

...


Code Block


          static void NetWiFiMgr_Mgmt (NET_IF           p_if,
                                       NET_IF_WIFI_CMD  cmd,
                                       CPU_INT08U      *p_buf_cmd,
                                       CPU_INT16U       buf_cmd_len,
                                       CPU_INT08U      *p_buf_rtn,
                                       CPU_INT16U       buf_rtn_len_max,
                                       NET_ERR         *p_err);


Note that since every Wireless Manager’s Mgmt() function is accessed only by function pointer via the Wireless Manager’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static’.

...