[PATCH 0/4] [SRU] [S/master-next] [T/unstable] fix wlan after warm reboot

Paolo Pisati paolo.pisati at canonical.com
Thu Dec 5 14:50:49 UTC 2013


BugLink: https://bugs.launchpad.net/bugs/1258174

SRU:

Impact: wifi on the Pandaboard is not working after doing one "up/down cycle". This can either be a "ifconfig wlan0 up && ifconfig wlan0 down", or something else that triggers firmware booting inside wl12xx

This is wlan output after a cold boot:
wlcore: firmware booted (Rev 6.3.10.0.133)
wlan0: authenticate with a0:f3:c1:46:2c:e4
wlan0: send auth to a0:f3:c1:46:2c:e4 (try 1/3)
wlan0: authenticated
wlan0: associate with a0:f3:c1:46:2c:e4 (try 1/3)
wlan0: RX AssocResp from a0:f3:c1:46:2c:e4 (capab=0x431 status=0 aid=2)
wlan0: associated
cfg80211: Calling CRDA for country: DE
cfg80211: Regulatory domain changed to country: DE
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211: (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211: (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211: (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
cfg80211: (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
wlcore: Association completed.

while this is what happens after a warm reboot or after an ifdown/ifup cycle:
wlcore: down
wlcore: ERROR timeout waiting for the hardware to complete initialization
wlcore: ERROR timeout waiting for the hardware to complete initialization
wlcore: ERROR timeout waiting for the hardware to complete initialization
wlcore: ERROR firmware boot failed despite 3 retries

Both S and T are affected, but:

* patches 1 and 2 are a prerequisite and are required for S only (since T already has them)
* patches 3 and 4 are the real fix, and ATM are queued in tmlind's omap-for-v3.13/fixes-take4 (git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git)

All clean cherry-picks, proposing for S/master-next and T/unstable.

Fix: apply the attached patches and recompile

Test case: boot the patched kernel, check that wifi is on, reboot the board and check again that wifi availability

--

Balaji T K (2):
  ARM: dts: omap4-panda-common: Fix pin muxing for wl12xx
  ARM: dts: omap4-sdp: Fix pin muxing for wl12xx

Ruslan Bilovol (1):
  ARM: dts: twl6030: Move common configuration for OMAP4 boards in a
    separate dtsi file

Tony Lindgren (1):
  ARM: dts: Fix muxing and regulator for wl12xx on the SDIO bus for
    blaze

 arch/arm/boot/dts/omap4-panda-common.dtsi | 41 ++++++----------------
 arch/arm/boot/dts/omap4-sdp.dts           | 56 ++++++++++++++++++++-----------
 arch/arm/boot/dts/twl6030_omap4.dtsi      | 38 +++++++++++++++++++++
 3 files changed, 86 insertions(+), 49 deletions(-)
 create mode 100644 arch/arm/boot/dts/twl6030_omap4.dtsi

-- 
1.8.3.2





More information about the kernel-team mailing list