Closed Bug 887485 Opened 8 years ago Closed 8 years ago
Wifi code needs to issue fwreload to netd as part of initialization
We need to have netd load the wifi firmware for us during startup, or there might not be any wlan0 interface to use. This issue is seen on the Nexus 4.
Perhaps a symptom of bug 884131? Wifi works fine here.
Android actually does this explicitly as part of wifi initialization - http://androidxref.com/4.2.2_r1/xref/frameworks/base/wifi/java/android/net/wifi/WifiStateMachine.java#2173 fwreload is sent as part of disabling wifi tethering, so it could work, but I think it would be less magical if we did it explicitly as part of wifi init.
Just for the benefit of those that land here before this is fixed, requesting a firmware reload from the command line gets wifi working on a Nexus 4 here: adb shell /system/bin/ndc softap fwreload wlan0 AP Then enable wifi in the settings. This is only a temporary workaround.
Reload the Wifi chip firmware to station mode before loading Wifi driver.
Attachment #783061 - Flags: review?(mrbkap)
Attachment #783061 - Flags: review?(mrbkap) → review+
push to inbound, I also verified this patch on unagi. https://hg.mozilla.org/integration/mozilla-inbound/rev/d144ffab4543
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.