tdm
Android Expert
I'm in the process of comparing wifi sleep behavior between AOKP 4.1 to AOKP 4.2.
First I'm instrumenting the kernel with a sleep log that records various events such as sleep, wake, wake reason, battery percent, wifi on/off, etc. I'll be running that on both. I expect to find that 4.1 turns wifi off when it goes to sleep but 4.2 does not. We'll see. Initial testing on 4.2 with wifi sleep policy set to "never" shows absolutely no calls into the driver to turn wifi off after about 5 minutes of intermittent sleep (each time awakened by wifi itself, naturally).
If that turns out to be correct (and even if it doesn't) any differences must be in the android code. There are absolutely no changes to the wifi driver, and I would be very surprised if any of the other 4.2 changes affected this at all. Any relevant differences will likely be under frameworks/base/wifi/java/android/net/wifi.
First I'm instrumenting the kernel with a sleep log that records various events such as sleep, wake, wake reason, battery percent, wifi on/off, etc. I'll be running that on both. I expect to find that 4.1 turns wifi off when it goes to sleep but 4.2 does not. We'll see. Initial testing on 4.2 with wifi sleep policy set to "never" shows absolutely no calls into the driver to turn wifi off after about 5 minutes of intermittent sleep (each time awakened by wifi itself, naturally).
If that turns out to be correct (and even if it doesn't) any differences must be in the android code. There are absolutely no changes to the wifi driver, and I would be very surprised if any of the other 4.2 changes affected this at all. Any relevant differences will likely be under frameworks/base/wifi/java/android/net/wifi.

) but haven't tried the kernel with it yet.