rsi_wlan_req_radio#

Functions#

int32_t
rsi_wlan_req_radio(uint8_t enable)

Register and Deregister WLAN radio.

int32_t

Deregister WLAN radio. This is a blocking API.

Function Documentation#

rsi_wlan_req_radio#

int32_t rsi_wlan_req_radio (uint8_t enable, RSI_SUCCESS)

Register and Deregister WLAN radio.

Parameters
[in]enable

- To register and deregister WLAN radio

[out]RSI_SUCCESS

Returns

  • 0 - Success

  • Non-Zero Value - Failure


Definition at line 7813 of file wlan/rsi_wlan_apis.c

rsi_wlan_radio_deinit#

int32_t rsi_wlan_radio_deinit (void )

Deregister WLAN radio. This is a blocking API.

Parameters
[in]

Returns

  • 0 - Success

  • Non-Zero Value - Failure (Possible Error Codes - 0x0021,0x0067)

Note

Below APIs are allowed after rsi_wlan_radio_deinit() API#

  1. rsi_wlan_radio_init()

  2. rsi_wlan_power_save_profile()

  3. rsi_wlan_get() In this API only RSI_MAC_ADDRESS and RSI_CONNECTION_STATUS cmd_type are allowed.

  4. rsi_wireless_deinit()

  5. rsi_switch_proto()

  6. rsi_get_ram_log()

  7. rsi_get_fw_version()

  8. rsi_common_debug_log()

  9. rsi_bt_power_save_profile()Note


Definition at line 7901 of file wlan/rsi_wlan_apis.c