...
Anchor
Files
Anchor
net_wifi_mgr.c
Prototype
...
...
HTML Table | summary | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
class | Code_Listing | |||||||||||||||
Table Row (tr) | ||||||||||||||||
Table Cell (td) | ||||||||||||||||
| ||||||||||||||||
Anchor | 1140907 | 1140907 | static void NetWiFiMgr_Mgmt (NET_IF p_if,||||||||||||||
Anchor | 1140908 | 1140908 | ||||||||||||||
Code Block | ||||||||||||||||
static void NetWiFiMgr_Mgmt (NET_IF p_if, NET_IF_WIFI_CMDcmd, Anchor | | 1140909 | 1140909 | CPU_INT08U|||||||||||||
Anchor | 1141132 | 1141132 | CPU_INT16U||||||||||||||
Anchor | 1141159 | 1141159 | CPU_INT08U||||||||||||||
Anchor | 1141183 | 1141183 | CPU_INT16U||||||||||||||
Anchor | 1140910 | 1140910 | NET_ERR||||||||||||||
Table Row (tr) |
...
|
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.
Anchor
buf_cmd_len
Length of the command buffer.
...
p_buf_rtn
Pointer to variable that will receive the return data.
...
buf_rtn_len_max
Length of the return buffer.
Anchor
p_err
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.