wifi issues workaround

From: Amir Goldstein <amir73il@gmail.com>
Date: 2011-11-24 10:24:37

Hi Alex,

After 2 days of no wifi issues on my beta device, Ziv has configured a
gmail account on my device
and that has changes everything.
From that point, like QA has repeatedly reported, device has woke up
from sleep mode
in endless scanning... or obtaining IP.. states and to get out of this
loop required either:
1. switch persona
2. connect USB
3. enable/disable wifi

I concluded that the issue was created by gmail changing the default
wifi sleep policy
and verified that by applying a workaround - setting wifi sleep policy
on both personas
to never.

Since I did that (and Ziv too), I have no more wifi issues.

I've instructed Dror to resolve the "agent always connected" issue by taking
a wifilock on both personas and that should also resolve the wifi
connectivity issues.

The remaining question is:
Given that your wifi sharing code doesn't work well when the 2
personas are using
a different "state machine" (i.e. never sleep or sleep when screen is
off), do you see
any clear and immediate bug in your code that should be fixed as well?

Thanks,
Amir.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help