Here is how you could improve forced light sleep (and deep sleep) significantly:
- - when a station associates with an AP the AP communicates an idle-timeout period, this is the time after which the station is disassociated if it has not communicated with the AP (in the IEEE 802.11-2012 standard this is called the "BSS Max Idle Period" and is shown in section 22.214.171.124)
- the SDK should make this value available to the application so the application can decide to sleep for a shorter interval than this period so the association is not lost by the time the system wakes up
- if the system is asleep for less than this interval, on wake-up, the SDK should attempt to reconnect to the AP using the old association, which should only take 1 or 2 round-trip packets (as opposed to the current 6-12 seconds at high power to obtain a fresh association)
Can you make this happen?