Closed Bug 1164322 Opened 9 years ago Closed 6 years ago

[Wifi] Disable automatic reconnect timer in wpa_supplicant

Categories

(Firefox OS Graveyard :: Wifi, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: vchang, Assigned: vchang)

References

Details

(Whiteboard: [spark])

Attachments

(1 file)

wpa_supplicant has a reconnect mechanism when it fails to associate to the AP. Force to turn it off to prevent messing up our wifi state machine. Let's handle these reconnect stuffs in Gecko as much as we can.
1. Disable auto reconnect in wpa_supplicant. 
2. stop dhcp when we get failed.
Attachment #8605037 - Flags: review?(hchang)
Assignee: nobody → vchang
Blocks: 1154690
Comment on attachment 8605037 [details] [diff] [review]
disableAutoReconnectTimer.v01.patch

Review of attachment 8605037 [details] [diff] [review]:
-----------------------------------------------------------------

I didn't verify if it helps but it's not harmful at least. 
(cuz AOSP does the same)
Attachment #8605037 - Flags: review?(hchang)
Attachment #8605037 - Flags: review+
Attachment #8605037 - Flags: approval-gaia-v2.2?
Attachment #8605037 - Flags: approval-gaia-v2.2?
I observe that the phone doesn't connect to known SSIDs after applying the patch.
If we move the phone out of the WiFi radio coverage of the AP, say "Mozilla Guest", and back to the coverage of the AP, the wpa_supplicant should reconnect to "Mozilla Guest". But it doesn't after applying the patch. I will try to see if we have similar behavior on Flame or not.
[Blocking Requested - why for this release]:
Blocks: 1167466
blocking-b2g: --- → spark?
blocking-b2g: spark? → spark+
Henry, Vincent, what are the consequences of patching this issue? Is this something that we should block on for Spark?
Flags: needinfo?(hchang)
Flags: needinfo?(changyihsin)
(In reply to Doug Sherk (:drs) (use needinfo?) from comment #5)
> Henry, Vincent, what are the consequences of patching this issue? Is this
> something that we should block on for Spark?

This patch doesn't address much the root cause of most of the wifi connection issue
we met. Also, Vincent has mentioned some of the side effect of this patch. We
are not planning to let this block any other features. Thanks!
Flags: needinfo?(hchang)
Thanks for the summary.
blocking-b2g: spark+ → ---
Flags: needinfo?(changyihsin)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: