cancel
Showing results for 
Search instead for 
Did you mean: 

AIROC™ Wi-Fi and Wi-Fi Bluetooth Combos

nima
New Contributor II

Hi,

 

I would like to get more information about whd_allow_wlan_bus_to_sleep(). What is the purpose of this sleep? Could we configure/modify WHD in a way that it does not allow the bus sleep?

 

Thanks,

Nima

0 Likes
2 Replies
Rakesh_BG
Moderator
Moderator

Hi @nima ,

whd_allow_wlan_bus_to_sleep function can be used to keep wlan bus in sleep mode. Usually used in cases like sdio deinitialize or reinitialize functions and in  (wait for wlan event).

You can try disabling bus from going to sleep in whd_bus_sdio_wait_for_wlan_event . It might work , if you you get some issues we can look into it.

Thanks

Rakesh B G

0 Likes
nima
New Contributor II

Hi @Rakesh_BG ,

Simply commenting out the whd_allow_wlan_bus_to_sleep() line in whd_bus_sdio_wait_for_wlan_event() results in the following issue:

Function whd_download_wifi_clm_image failed at line 64 checkres = 101580800
Received buffer request ID: 1 (expectation: 2)
Received a response for a different IOCTL - retry
Could not turn off TX glomming

 

Thanks,

Nima

0 Likes