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)

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 7297 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
[out]

Returns

  • 0 - Success Non-Zero Value - Failure If the return value is greater than 0 0x0021- Command given in wrong state 0x0101-WLAN radio is already deregistered

Note

Below APIs are allowed after rsi_wlan_radio_deinit() API#

3.Need to enable powersave before sending any command when the module is in deep sleep power save. 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()


Definition at line 7391 of file wlan/rsi_wlan_apis.c