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

Files

Anchor11409031140903Every Wireless Manager layer net_wifi_mgr.c Anchor11409041140904

Prototype

...

rowspan2

...

Anchor11409151140915 

 

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’. Anchor11409161140916 Arguments Anchor11409171140917static’.

Arguments

p_if Anchor11409181140918

Pointer to the interface to wireless device to manage.

...

cmd Anchor11413601141360

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 Anchor11409221140922

Pointer to variable that contains the data to send.

...

11415571141557buf_cmd_lenanchor11415581141558

Length of the command buffer.

...

p_buf_rtn Anchor11416131141613

Pointer to variable that will receive the return data.

...

11416231141623buf_rtn_len_maxanchor11416181141618

Length of the return buffer.

...

p_err Anchor11409241140924

Pointer to variable that will receive the return error code from this function.

...

Returned Values

Anchor11409261140926None. Anchor11409271140927

Required Configuration

...

None. Anchor11409291140929

Notes/Warnings

...

Prior calling this function, the network lock must be acquired.