Other Parts Discussed in Thread: WL1283, WL1271, TWL6040
Hi
I got a problem on suspend/resume when wifi enable. there are dump error message after resume from suspend show you below but WiFi can recovery itself and work as normal after resume.
Could you help this, thanks.
Wireless:wl1283
OS: android KitKat
CPU: omap4430
The IRQ and WIFI_EN config seems correct
static struct wl12xx_platform_data omap4_sdp4430_wlan_data __initdata = {
.irq = OMAP_GPIO_IRQ(GPIO_WIFI_IRQ),
.board_ref_clock = WL12XX_REFCLOCK_26,
.board_tcxo_clock = WL12XX_TCXOCLOCK_26,
};
static void __init omap4_sdp4430_wifi_mux_init(void)
{
omap_mux_init_gpio(GPIO_WIFI_IRQ, OMAP_PIN_INPUT |
OMAP_PIN_OFF_WAKEUPENABLE);
,,,
}
===============
<3>[ 103.375427] wl12xx: ERROR ELP wakeup timeout!
<4>[ 103.380828] ------------[ cut here ]------------
<4>[ 103.386474] WARNING: at /home/tw023899/mywork/mc40/android_fs/hardware/ti/wlan/mac80211/compat_wl12xx/drivers/net/wireless/wl12xx/main.c:1414 wl12xx_queue_recovery_work+0x34/0x7c [wl12xx]()
<4>[ 103.405853] Modules linked in: wl12xx_sdio(O) wl12xx(O) mac80211(O) pvrsrvkm_sgx540_120(O) cfg80211(O) compat(O)
<4>[ 103.418212] Backtrace:
<4>[ 103.421112] [<c0017b74>] (dump_backtrace+0x0/0x10c) from [<c0681168>] (dump_stack+0x18/0x1c)
<4>[ 103.430328] r6:00000586 r5:bf143570 r4:00000000 r3:c09f3dd0
<4>[ 103.436981] [<c0681150>] (dump_stack+0x0/0x1c) from [<c0047194>] (warn_slowpath_common+0x54/0x6c)
<4>[ 103.446624] [<c0047140>] (warn_slowpath_common+0x0/0x6c) from [<c00471d0>] (warn_slowpath_null+0x24/0x2c)
<4>[ 103.457061] r8:bf166a10 r7:ffff9d61 r6:c09a80c0 r5:d2d89ad0 r4:d2d89a80
<4>[ 103.464508] r3:00000009
<4>[ 103.467590] [<c00471ac>] (warn_slowpath_null+0x0/0x2c) from [<bf143570>] (wl12xx_queue_recovery_work+0x34/0x7c [wl12xx])
<4>[ 103.479461] [<bf14353c>] (wl12xx_queue_recovery_work+0x0/0x7c [wl12xx]) from [<bf14dbd8>] (wl1271_ps_elp_wakeup+0xf4/0x228 [wl12xx])
<4>[ 103.492340] r4:d2d89a80 r3:c09f3dd0
<4>[ 103.496582] [<bf14dae4>] (wl1271_ps_elp_wakeup+0x0/0x228 [wl12xx]) from [<bf1404e4>] (wl1271_op_configure_filter+0x58/0x120 [wl12xx])
<4>[ 103.509765] [<bf14048c>] (wl1271_op_configure_filter+0x0/0x120 [wl12xx]) from [<bf0a917c>] (ieee80211_configure_filter+0x17c/0x3f0 [mac80211])
<4>[ 103.523773] [<bf0a9000>] (ieee80211_configure_filter+0x0/0x3f0 [mac80211]) from [<bf0a9404>] (ieee80211_reconfig_filter+0x14/0x18 [mac80211])
<4>[ 103.537597] [<bf0a93f0>] (ieee80211_reconfig_filter+0x0/0x18 [mac80211]) from [<c006217c>] (process_one_work+0x134/0x4ac)
<4>[ 103.549499] [<c0062048>] (process_one_work+0x0/0x4ac) from [<c0062680>] (worker_thread+0x18c/0x3d8)
<4>[ 103.559356] [<c00624f4>] (worker_thread+0x0/0x3d8) from [<c0067104>] (kthread+0x90/0x9c)
<4>[ 103.568237] [<c0067074>] (kthread+0x0/0x9c) from [<c004b0a8>] (do_exit+0x0/0x804)
<4>[ 103.576324] r6:c004b0a8 r5:c0067074 r4:d6861ec4
<4>[ 103.581726] Board Information:
<4>[ 103.581726] Revision : 0010
<4>[ 103.581726] Serial : 0000000000000000
<4>[ 103.581726] SoC Information:
<4>[ 103.581726] CPU : OMAP4430
<4>[ 103.581726] Rev : ES2.3
<4>[ 103.581756] Type : GP
<4>[ 103.581756] Production ID: C00DB95C-000600F0
<4>[ 103.581756] Die ID : 44900006-00000001-0913DA3B-0D01900F
<4>[ 103.581756]
<4>[ 103.616363] ---[ end trace 8744095cf6e8dd83 ]---
<6>[ 103.621551] wl12xx: Reading FW panic log
<4>[ 103.625885] ------------[ cut here ]------------
<4>[ 103.630981] WARNING: at /home/tw023899/mywork/mc40/android_fs/hardware/ti/wlan/mac80211/compat_wl12xx/drivers/net/wireless/wl12xx/cmd.c:61 wl1271_cmd_send+0x4f0/0x548 [wl12xx]()
<4>[ 103.648040] Modules linked in: wl12xx_sdio(O) wl12xx(O) mac80211(O) pvrsrvkm_sgx540_120(O) cfg80211(O) compat(O)
<4>[ 103.659729] Backtrace:
<4>[ 103.662536] [<c0017b74>] (dump_backtrace+0x0/0x10c) from [<c0681168>] (dump_stack+0x18/0x1c)
<4>[ 103.671661] r6:0000003d r5:bf146ad0 r4:00000000 r3:c09f3dd0
<4>[ 103.678192] [<c0681150>] (dump_stack+0x0/0x1c) from [<c0047194>] (warn_slowpath_common+0x54/0x6c)
<4>[ 103.687866] [<c0047140>] (warn_slowpath_common+0x0/0x6c) from [<c00471d0>] (warn_slowpath_null+0x24/0x2c)
<4>[ 103.698242] r8:d2d89cc4 r7:d2d89cc4 r6:d2faee40 r5:d2d89a80 r4:d2d89a80
<4>[ 103.705718] r3:00000009
<4>[ 103.708801] [<c00471ac>] (warn_slowpath_null+0x0/0x2c) from [<bf146ad0>] (wl1271_cmd_send+0x4f0/0x548 [wl12xx])
<4>[ 103.719757] [<bf1465e0>] (wl1271_cmd_send+0x0/0x548 [wl12xx]) from [<bf1493b8>] (wl12xx_cmd_stop_fwlog+0x60/0xa4 [wl12xx])
<4>[ 103.731781] [<bf149358>] (wl12xx_cmd_stop_fwlog+0x0/0xa4 [wl12xx]) from [<bf144f14>] (wl1271_recovery_work+0x488/0x644 [wl12xx])
<4>[ 103.744323] r5:ca4e9bc0 r4:d2d89a80
<4>[ 103.748474] [<bf144a8c>] (wl1271_recovery_work+0x0/0x644 [wl12xx]) from [<c006217c>] (process_one_work+0x134/0x4ac)
<4>[ 103.759857] [<c0062048>] (process_one_work+0x0/0x4ac) from [<c0062680>] (worker_thread+0x18c/0x3d8)
<4>[ 103.769714] [<c00624f4>] (worker_thread+0x0/0x3d8) from [<c0067104>] (kthread+0x90/0x9c)
<4>[ 103.778472] [<c0067074>] (kthread+0x0/0x9c) from [<c004b0a8>] (do_exit+0x0/0x804)
<4>[ 103.786682] r6:c004b0a8 r5:c0067074 r4:d6861ec4
<4>[ 103.791992] Board Information:
<4>[ 103.791992] Revision : 0010
<4>[ 103.791992] Serial : 0000000000000000
<4>[ 103.791992] SoC Information:
<4>[ 103.791992] CPU : OMAP4430
<4>[ 103.791992] Rev : ES2.3
<4>[ 103.792022] Type : GP
<4>[ 103.792022] Production ID: C00DB95C-000600F0
<4>[ 103.792022] Die ID : 44900006-00000001-0913DA3B-0D01900F
<4>[ 103.792022]
<4>[ 103.826690] ---[ end trace 8744095cf6e8dd84 ]---
<3>[ 103.831787] wl12xx: ERROR failed to send stop firmware logger command
<6>[ 103.839141] wl12xx: Hardware recovery in progress. FW ver: Rev 7.3.10.0.125
<6>[ 103.846893] wl12xx: pc: 0x0
<6>[ 103.849975] wl12xx: down
<6>[ 103.852874] wl12xx: down
<6>[ 103.857849] ieee80211 phy0: Hardware restart was requested
<6>[ 103.877136] wl12xx: state: 0
<6>[ 104.335540] wl12xx: firmware booted (Rev 7.3.10.0.125)
<6>[ 104.399597] wl12xx: down
<4>[ 105.201995] AUDIO::twl6040: twl6040_hf_boost_event() Enter
<4>[ 105.209411] AUDIO::twl6040: twl6040_hf_boost_event() Enter
================