...
NetWiFiMgr_Mgmt()
...
A wireless management/Mgmt() function is used to implement miscellaneous functionality needed by the driver such as command that need response. Anchor
Files
Anchor
net_wifi_mgr.c
Prototype
...
rowspan | 2 |
---|
...
Anchor
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’. Anchor
static
’.Arguments
p_if
Anchor
Pointer to the interface to wireless device to manage.
...
cmd
Anchor
Management command to send.
...
...
The driver can define and implement its own management commands which need a response by calling the Wireless Manager api (p_mgr_api->Mgmt()) to send the management command and to receive the response.
...
...
Driver management command code '100' series reserved for driver.
...
p_buf_cmd
Anchor
Pointer to variable that contains the data to send.
...
buf_cmd_len
anchorLength of the command buffer.
...
p_buf_rtn
Anchor
Pointer to variable that will receive the return data.
...
buf_rtn_len_max
anchorLength of the return buffer.
...
p_err
Anchor
Pointer to variable that will receive the return error code from this function.
...
Returned Values
Anchor
Required Configuration
...
None. Anchor
Notes/Warnings
...
Prior calling this function, the network lock must be acquired.