Closed Bug 1123213 Opened 6 years ago Closed 6 years ago

[WIFI] After toggled wifi hotspot switch quickly many time WIFI will restart many times

Categories

(Firefox OS Graveyard :: Wifi, defect, P2)

All
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: seinlin, Unassigned)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1115234 +++

STR:

1.Turn on data connection and then connect wifi to an AP.

2.Go to Internet sharing, then repeat toggled wifi hotspot on/off many times quickly, leave wifi hotspot with off state at the end.

3.Go back to wifi setting, wifi will repeat turn on/off many times.
Hi Kai-zhen,

Has any scheme to handle it?
Flags: needinfo?(kli)
From v2.1 and later version, tethering manager is supported [1]. If hotspot setting use tethering manager this issue can be fixed. 

For v2.0/v2.0m I think there are two options:

- back port tethering manager then update setting to use tethering manager.

- Simply work around in setting.


[1] https://dxr.mozilla.org/mozilla-central/source/dom/tethering/TetheringManager.js
Flags: needinfo?(kli)
Hi Kai-Zhen,

I will discuss it with VAl and our SPM,any result i will update it to you.

Thanks!
zhensen, any update on this bug?
Flags: needinfo?(zhensen.su.hz)
Hi Peipei,

Val and Spm,can not accept this behaviour,because it will serious impact UE with wifi used frequently.So i suggest fixed it.

Thanks!
Flags: needinfo?(zhensen.su.hz)
Flags: needinfo?(pcheng)
kai-zhen, could you please help? Partner cannot accept the current behavior.
blocking-b2g: --- → 2.0M?
Flags: needinfo?(pcheng) → needinfo?(kli)
As in comment 2, we get two choices to solve this issue. And I don't think it is a good idea to back port hotspot manager at this moment. 

I can provide a workaround solution, but not sure if it can be landed into our gaia. If partner can accept the behavior of the workaround, I think they can pick the patch to use.
Flags: needinfo?(kli)
Zhensen, could you apply and verify this patch? Now the timeout interval is 2s (2000ms), I think you could also try 1s or 1.5s.
Flags: needinfo?(zhensen.su.hz)
ZhenSen,
Do you have any update?
Non blocking, denominate.
blocking-b2g: 2.0M? → ---
Hi Josh,

You can close this bug now,if it has other issue,i will fire new bug.

Thanks!
Flags: needinfo?(zhensen.su.hz)
Close per comment 11
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.