This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/WL1837MOD: Setting up P2P network between DM385 CSK's

Part Number: WL1837MOD
Other Parts Discussed in Thread: WL1271, DM385, TPS65910, WL1837

Tool/software: Linux

I tried following the instructions given here, but when I try to run p2p_group_add on the first EVM, the kernel pukes:

[ 3690.539587] ------------[ cut here ]------------
[ 3690.544446] WARNING: CPU: 0 PID: 77 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore]()
[ 3690.556733] Modules linked in: ti81xxhdmi vpss osa_kermod(O) g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wl18xx wlcore wlcore_sdio mac80211 cfg80211
[ 3690.572776] CPU: 0 PID: 77 Comm: kworker/0:3 Tainted: G        W  O    4.4.12-svn12125 #1
[ 3690.581009] Hardware name: Generic TI81xx (Flattened Device Tree)
[ 3690.587409] Workqueue: events cfg80211_mlme_unreg_wk [cfg80211]
[ 3690.593367] Backtrace:
[ 3690.595894] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
[ 3690.603499]  r7:bf0b9fac r6:0000032b r5:00000009 r4:00000000
[ 3690.609261] [<c0012784>] (show_stack) from [<c0236f28>] (dump_stack+0x24/0x28)
[ 3690.616558] [<c0236f04>] (dump_stack) from [<c0032660>] (warn_slowpath_common+0x88/0xb4)
[ 3690.624694] [<c00325d8>] (warn_slowpath_common) from [<c0032730>] (warn_slowpath_null+0x24/0x2c)
[ 3690.633536]  r8:bf0d67c0 r7:00052c3b r6:00000000 r5:c06d9980 r4:c264eb80
[ 3690.640447] [<c003270c>] (warn_slowpath_null) from [<bf0b9fac>] (wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore])
[ 3690.651369] [<bf0b9f40>] (wl12xx_queue_recovery_work.part.9 [wlcore]) from [<bf0bc3b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
[ 3690.663617]  r5:c06d9980 r4:c264eb80
[ 3690.667390] [<bf0bc394>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0c59e8>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
[ 3690.678742] [<bf0c590c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0b7314>] (wl1271_op_configure_filter+0x5c/0x12c [wlcore])
[ 3690.689941]  r10:c264ebb8 r9:bf05ddc0 r8:c265de74 r7:c0905380 r6:c264eb80 r5:bf0b72b8
[ 3690.697858]  r4:c264e3c0
[ 3690.700816] [<bf0b72b8>] (wl1271_op_configure_filter [wlcore]) from [<bf04743c>] (ieee80211_configure_filter+0x150/0x1b4 [mac80211])
[ 3690.712814]  r10:c06d7724 r9:bf05ddc0 r8:bf02070c r7:00000000 r6:c0905380 r5:bf0b72b8
[ 3690.720734]  r4:c264e3c0
[ 3690.723578] [<bf0472ec>] (ieee80211_configure_filter [mac80211]) from [<bf05de28>] (ieee80211_mgmt_frame_register+0x68/0xfc [mac80211])
[ 3690.735831]  r7:c264e060 r6:c265c000 r5:00000000 r4:c264e3c0
[ 3690.741869] [<bf05ddc0>] (ieee80211_mgmt_frame_register [mac80211]) from [<bf02075c>] (cfg80211_process_mlme_unregistrations+0xa4/0x100 [cfg80211])
[ 3690.755172]  r5:c264e000 r4:c26522c0
[ 3690.759010] [<bf0206b8>] (cfg80211_process_mlme_unregistrations [cfg80211]) from [<bf0210b4>] (cfg80211_mlme_unreg_wk+0x1c/0x24 [cfg80211])
[ 3690.771606]  r9:00000000 r8:c06d7724 r7:c4cf4300 r6:00000000 r5:c26e9480 r4:c264e068
[ 3690.779569] [<bf021098>] (cfg80211_mlme_unreg_wk [cfg80211]) from [<c00449f8>] (process_one_work+0x118/0x3d8)
[ 3690.789547]  r5:c26e9480 r4:c264e068
[ 3690.793162] [<c00448e0>] (process_one_work) from [<c0044d18>] (worker_thread+0x60/0x528)
[ 3690.801305]  r10:c06d7724 r9:c26e9480 r8:00000008 r7:c265c000 r6:c06d7734 r5:c26e9498
[ 3690.809221]  r4:c06d7724
[ 3690.811780] [<c0044cb8>] (worker_thread) from [<c004a258>] (kthread+0xdc/0xf4)
[ 3690.819048]  r10:00000000 r9:00000000 r8:00000000 r7:c0044cb8 r6:c26e9480 r5:c26dcd40
[ 3690.826963]  r4:00000000
[ 3690.829524] [<c004a17c>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
[ 3690.836793]  r7:00000000 r6:00000000 r5:c004a17c r4:c26dcd40
[ 3690.842508] ---[ end trace 534e09cb59f4f385 ]---
[ 3690.855225] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
[ 3690.862068] ------------[ cut here ]------------
[ 3690.866931] WARNING: CPU: 0 PID: 467 at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa4/0x47c [wlcore]()
[ 3690.877962] Modules linked in: ti81xxhdmi vpss osa_kermod(O) g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wl18xx wlcore wlcore_sdio mac80211 cfg80211
[ 3690.893997] CPU: 0 PID: 467 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12125 #1
[ 3690.902404] Hardware name: Generic TI81xx (Flattened Device Tree)
[ 3690.908627] Workqueue: phy0 wl1271_recovery_work [wlcore]
[ 3690.914055] Backtrace:
[ 3690.916558] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
[ 3690.924161]  r7:bf0c1ee4 r6:00000041 r5:00000009 r4:00000000
[ 3690.929916] [<c0012784>] (show_stack) from [<c0236f28>] (dump_stack+0x24/0x28)
[ 3690.937210] [<c0236f04>] (dump_stack) from [<c0032660>] (warn_slowpath_common+0x88/0xb4)
[ 3690.945362] [<c00325d8>] (warn_slowpath_common) from [<c0032730>] (warn_slowpath_null+0x24/0x2c)
[ 3690.954185]  r8:c4802000 r7:c0be2e00 r6:bf0d67c0 r5:bf0f8068 r4:c264eb80
[ 3690.961064] [<c003270c>] (warn_slowpath_null) from [<bf0c1ee4>] (wlcore_set_partition+0xa4/0x47c [wlcore])
[ 3690.970934] [<bf0c1e40>] (wlcore_set_partition [wlcore]) from [<bf0b9908>] (wl1271_recovery_work+0x74/0x5a0 [wlcore])
[ 3690.981610]  r6:c264ebb8 r5:c264eb80 r4:c264ee1c
[ 3690.986378] [<bf0b9894>] (wl1271_recovery_work [wlcore]) from [<c00449f8>] (process_one_work+0x118/0x3d8)
[ 3690.996007]  r10:c4802000 r9:00000005 r8:c4802000 r7:c0be2e00 r6:00000000 r5:c2653e00
[ 3691.003909]  r4:c264ee1c
[ 3691.006483] [<c00448e0>] (process_one_work) from [<c0044d18>] (worker_thread+0x60/0x528)
[ 3691.014608]  r10:c4802000 r9:c2653e00 r8:00000088 r7:c0930000 r6:c4802010 r5:c2653e18
[ 3691.022525]  r4:c4802000
[ 3691.025083] [<c0044cb8>] (worker_thread) from [<c004a258>] (kthread+0xdc/0xf4)
[ 3691.032351]  r10:00000000 r9:00000000 r8:00000000 r7:c0044cb8 r6:c2653e00 r5:c1fab0c0
[ 3691.040266]  r4:00000000
[ 3691.042824] [<c004a17c>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
[ 3691.050095]  r7:00000000 r6:00000000 r5:c004a17c r4:c1fab0c0
[ 3691.055821] ---[ end trace 534e09cb59f4f386 ]---
[ 3691.060476] wlcore: down
[ 3691.063032] wlcore: down
[ 3691.180104] ieee80211 phy0: Hardware restart was requested
Using interface p2p-wlan0-0 with hwaddr 56:4a:16:12:fe:11 and ssid "DIRECT-Nz"
[ 3691.198808] IPv6: ADDRCONF(NETDEV_CHANGE): p2p-wlan0-0: link becomes ready
[ 3691.633020] wlcore: PHY firmware version: Rev 8.2.0.0.232
[ 3691.828285] wlcore: firmware booted (Rev 8.9.0.0.48)
Interface initialization failed
p2p-wlan0-0: interface state UNINITIALIZED->DISABLED
p2p-wlan0-0: AP-DISABLED
p2p-wlan0-0: Unable to setup interface.
Failed to initialize AP interface
p2p-wlan0-0: interface state DISABLED->DISABLED
p2p-wlan0-0: AP-DISABLED
hostapd_free_hapd_data: Interface p2p-wlan0-0 wasn't started
p2p-wlan0-0: CTRL-EVENT-DISCONNECTED bssid=56:4a:16:12:fe:11 reason=3 locally_generated=1

Do I need to modify the build or the default wpa_supplicant.conf somehow to support P2P operation?  If so, how?

  • I also tried to follow the instructions here, but this failed as follows:

    root@ti81xx:/usr/share/wl18xx# wpa_supplicant  -iwlan0 -Dnl80211 -c/etc/wpa_supplicant.conf -N -ip2p0 -Dnl80211 -c/etc/p2p_supplicant.conf &
    [1] 539
    Successfully initialized wpa_supplicant
    rfkill: Cannot open RFKILL control device
    root@ti81xx:/usr/share/wl18xx# [ 5844.712973] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [ 5844.908287] wlcore: firmware booted (Rev 8.9.0.0.48)
    [ 5844.924747] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    rfkill: Cannot open RFKILL control device
    Could not read interface p2p-dev-wlan0 flags: No such device
    Failed to create interface p2p-dev-p2p-dev-wlan0: -22 (Invalid a[ 5844.995902] wlcore: down
    rgument)
    nl80211: Failed to create a P2P Device interface p2p-dev-p2p-dev-wlan0
    P2P: Failed to enable P2P Device interface
    rf[ 5845.008769] wlcore: down
    kill: Cannot open RFKILL control device
    Could not set interface p2p0 flags (UP): Name not unique on network
    nl80211: Could not set interface 'p2p0' UP
    nl80211: deinit ifname=p2p0 disabled_11b_rates=0
    p2p0: Failed to initialize driver interface
    nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
    p2p-dev-wlan0: CTRL-EVENT-TERMINATING
    nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    wlan0: CTRL-EVENT-TERMINATING

  • I tried the instructions here and it failed on the GO as follows:

    > P2P-GO-NEG-SUCCESS role=GO freq=5785 ht40=1 peer_dev=7c:ec:79:c7:e2:b5 peer_iface=7e:ec:79:c7:e2:b5 wps_method=PBC


    <3>P2P-GO-NEG-SUCCESS role=GO freq=5785 ht40=1 peer_dev=7c:ec:79:c7:e2:b[ 7243.048427] IPv6: ADDRCONF(NETDEV_UP): p2p-wlan0-3: link is not ready
    5 peer_iface=7e:ec:79:c7:e2:b5 wps_method=PBC

    > rfkill: Cannot open RFKILL control device
    [ 7243.655173] wlcore: ERROR ELP wakeup timeout!
    [ 7243.659578] ------------[ cut here ]------------
    [ 7243.664436] WARNING: CPU: 0 PID: 77 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore]()
    [ 7243.676720] Modules linked in: ti81xxhdmi vpss osa_kermod(O) g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wl18xx wlcore wlcore_sdio mac80211 cfg80211
    [ 7243.692760] CPU: 0 PID: 77 Comm: kworker/0:3 Tainted: G        W  O    4.4.12-svn12125 #1
    [ 7243.700992] Hardware name: Generic TI81xx (Flattened Device Tree)
    [ 7243.707380] Workqueue: events cfg80211_mlme_unreg_wk [cfg80211]
    [ 7243.713337] Backtrace:
    [ 7243.715866] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [ 7243.723469]  r7:bf0b9fac r6:0000032b r5:00000009 r4:00000000
    [ 7243.729225] [<c0012784>] (show_stack) from [<c0236f28>] (dump_stack+0x24/0x28)
    [ 7243.736522] [<c0236f04>] (dump_stack) from [<c0032660>] (warn_slowpath_common+0x88/0xb4)
    [ 7243.744657] [<c00325d8>] (warn_slowpath_common) from [<c0032730>] (warn_slowpath_null+0x24/0x2c)
    [ 7243.753497]  r8:bf0d67c0 r7:000a982b r6:00000000 r5:c06d9980 r4:c264eb80
    [ 7243.760411] [<c003270c>] (warn_slowpath_null) from [<bf0b9fac>] (wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore])
    [ 7243.771338] [<bf0b9f40>] (wl12xx_queue_recovery_work.part.9 [wlcore]) from [<bf0bc3b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [ 7243.783585]  r5:c06d9980 r4:c264eb80
    [ 7243.787359] [<bf0bc394>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0c59e8>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
    [ 7243.798712] [<bf0c590c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0b7314>] (wl1271_op_configure_filter+0x5c/0x12c [wlcore])
    [ 7243.809910]  r10:c264ebb8 r9:bf05ddc0 r8:c265de74 r7:c1fb40c0 r6:c264eb80 r5:bf0b72b8
    [ 7243.817827]  r4:c264e3c0
    [ 7243.820783] [<bf0b72b8>] (wl1271_op_configure_filter [wlcore]) from [<bf04743c>] (ieee80211_configure_filter+0x150/0x1b4 [mac80211])
    [ 7243.832781]  r10:c06d7724 r9:bf05ddc0 r8:bf02070c r7:00000000 r6:c1fb40c0 r5:bf0b72b8
    [ 7243.840701]  r4:c264e3c0
    [ 7243.843544] [<bf0472ec>] (ieee80211_configure_filter [mac80211]) from [<bf05de28>] (ieee80211_mgmt_frame_register+0x68/0xfc [mac80211])
    [ 7243.855799]  r7:c264e060 r6:c265c000 r5:00000000 r4:c264e3c0
    [ 7243.861839] [<bf05ddc0>] (ieee80211_mgmt_frame_register [mac80211]) from [<bf02075c>] (cfg80211_process_mlme_unregistrations+0xa4/0x100 [cfg80211])
    [ 7243.875146]  r5:c264e000 r4:c2a89440
    [ 7243.878984] [<bf0206b8>] (cfg80211_process_mlme_unregistrations [cfg80211]) from [<bf0210b4>] (cfg80211_mlme_unreg_wk+0x1c/0x24 [cfg80211])
    [ 7243.891584]  r9:00000000 r8:c06d7724 r7:c4cf4300 r6:00000000 r5:c26e9480 r4:c264e068
    [ 7243.899544] [<bf021098>] (cfg80211_mlme_unreg_wk [cfg80211]) from [<c00449f8>] (process_one_work+0x118/0x3d8)
    [ 7243.909520]  r5:c26e9480 r4:c264e068
    [ 7243.913135] [<c00448e0>] (process_one_work) from [<c0044d18>] (worker_thread+0x60/0x528)
    [ 7243.921278]  r10:c06d7724 r9:c26e9480 r8:00000008 r7:c265c000 r6:c06d7734 r5:c26e9498
    [ 7243.929194]  r4:c06d7724
    [ 7243.931753] [<c0044cb8>] (worker_thread) from [<c004a258>] (kthread+0xdc/0xf4)
    [ 7243.939023]  r10:00000000 r9:00000000 r8:00000000 r7:c0044cb8 r6:c26e9480 r5:c26dcd40
    [ 7243.946939]  r4:00000000
    [ 7243.949500] [<c004a17c>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [ 7243.956768]  r7:00000000 r6:00000000 r5:c004a17c r4:c26dcd40
    [ 7243.962483] ---[ end trace 534e09cb59f4f389 ]---
    [ 7243.975227] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
    [ 7243.982066] ------------[ cut here ]------------
    [ 7243.986932] WARNING: CPU: 0 PID: 568 at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa4/0x47c [wlcore]()
    [ 7243.997964] Modules linked in: ti81xxhdmi vpss osa_kermod(O) g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wl18xx wlcore wlcore_sdio mac80211 cfg80211
    [ 7244.013999] CPU: 0 PID: 568 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12125 #1
    [ 7244.022406] Hardware name: Generic TI81xx (Flattened Device Tree)
    [ 7244.028634] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [ 7244.034063] Backtrace:
    [ 7244.036567] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [ 7244.044170]  r7:bf0c1ee4 r6:00000041 r5:00000009 r4:00000000
    [ 7244.049922] [<c0012784>] (show_stack) from [<c0236f28>] (dump_stack+0x24/0x28)
    [ 7244.057224] [<c0236f04>] (dump_stack) from [<c0032660>] (warn_slowpath_common+0x88/0xb4)
    [ 7244.065377] [<c00325d8>] (warn_slowpath_common) from [<c0032730>] (warn_slowpath_null+0x24/0x2c)
    [ 7244.074200]  r8:c4802000 r7:c0be2e00 r6:bf0d67c0 r5:bf0f8068 r4:c264eb80
    [ 7244.081080] [<c003270c>] (warn_slowpath_null) from [<bf0c1ee4>] (wlcore_set_partition+0xa4/0x47c [wlcore])
    [ 7244.090950] [<bf0c1e40>] (wlcore_set_partition [wlcore]) from [<bf0b9908>] (wl1271_recovery_work+0x74/0x5a0 [wlcore])
    [ 7244.101626]  r6:c264ebb8 r5:c264eb80 r4:c264ee1c
    [ 7244.106387] [<bf0b9894>] (wl1271_recovery_work [wlcore]) from [<c00449f8>] (process_one_work+0x118/0x3d8)
    [ 7244.116015]  r10:c4802000 r9:0000000a r8:c4802000 r7:c0be2e00 r6:00000000 r5:c2676d80
    [ 7244.123917]  r4:c264ee1c
    [ 7244.126492] [<c00448e0>] (process_one_work) from [<c0044d18>] (worker_thread+0x60/0x528)
    [ 7244.134616]  r10:c4802000 r9:c2676d80 r8:00000088 r7:c4882000 r6:c4802010 r5:c2676d98
    [ 7244.142534]  r4:c4802000
    [ 7244.145092] [<c0044cb8>] (worker_thread) from [<c004a258>] (kthread+0xdc/0xf4)
    [ 7244.152359]  r10:00000000 r9:00000000 r8:00000000 r7:c0044cb8 r6:c2676d80 r5:c1faba40
    [ 7244.160274]  r4:00000000
    [ 7244.162831] [<c004a17c>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [ 7244.170098]  r7:00000000 r6:00000000 r5:c004a17c r4:c1faba40
    [ 7244.175823] ---[ end trace 534e09cb59f4f38a ]---
    [ 7244.180480] wlcore: down
    [ 7244.183037] wlcore: down
    [ 7244.298962] ieee80211 phy0: Hardware restart was requested
    p2p-wlan0-3: interface state UNINITIALIZED->HT_SCAN
    Failed to request a scan of neighboring BSSes ret=-11 (Resource temporarily unavailable)
    p2p-wlan0-3: interface state HT_SCAN->DISABLED
    p2p-wlan0-3: AP-DISABLED
    p2p-wlan0-3: Unable to setup interface.
    Failed to initialize AP interface
    p2p-wlan0-3: interface state DISABLED->DISABLED
    p2p-wlan0-3: AP-DISABLED
    hostapd_free_hapd_data: Interface p2p-wlan0-3 wasn't started
    p2p-wlan0-3: CTRL-EVENT-DISCONNECTED bssid=56:4a:16:12:fe:11 reason=3 locally_generated=1
    P2P-GROUP-FORMATION-FAILURE


    <3>P2P-GROUP-FORMATION-FAILURE

    > P2P-GROUP-REMOVED p2p-wlan0-3 GO reason=FORMATION_FAILED


    <3>P2P-GROUP-REMOVED p2p-wlan0-3 GO reason=FORMATION_FAILED

    > p2p-wlan0-3: CTRL-EVENT-DISCONNECTED bssid=56:4a:16:12:fe:11 reason=3 locally_generated=1
    nl80211: deinit ifname=p2p-wlan0-3 disabled_11b_rates=1
    [ 7244.753023] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [ 7244.948284] wlcore: firmware booted (Rev 8.9.0.0.48)

  • I noticed that the version of wpa_supplicant in the RDK (packaged in the yocto filesystem) is v2.5-devel, while the version in the latest Ubuntu distribution is only v2.4.  Also, the format of the configuration file in the distribution seems to be quite different from that documented on the web and in Ubuntu.  Can I ask why are you using this newer version?

    wpa_supplicant v2.5-devel

  • Hi,

    It seems like you are not using our latest release but rather pretty old firmware.
    This is an issue for you anyway as only latest firmware/supplicant include the WPA2 KRA fixes that have been done by everyone lately.
    In addition, many bugs/issues has been resolved since.

    I don't see a way around updating your drivers,firmware,supplicant to the latest.

    BR,
    Eyal
  • What do you mean?  I am building from the latest IPNC RDK v.5.2.1.  The supplicant comes from the yocto filesystem which comes as part of that distribution.  I have no problem updating my "drivers,firmware,supplicant to the latest", if you could specify which components need to be updated and point me to the new source.  Thanks.

  • Hi,

    I am not familiar with the RDK, but the latest supplicant etc should come from the same git but using R8.7_SP3 instead of the tag you use now.
    Please see the following :
    git.ti.com/.../R8.7_SP3
    git.ti.com/.../R8.7_SP3

    See the following release notes as well:
    software-dl.ti.com/.../release_notes_R8_7_SP3.html

    BR,
    Eyal
  • Thanks.  The fw binary should work fine.  However, I need to build the wpa_supplicant for a DM385 via the IPNC RDK, while the build process seems to be tailored for the Linux SDK for Sitara processors.  Can you give me any guidance on how to build this on my Ubuntu host for my target device?

  • Hi John,

    Again, I am not familiar with the IPNC RDK. Is it yocto based?

    If it is you can check the following recipe ":
    github.com/.../wpa-supplicant

    Which is already updated for R8.7_SP3:
    github.com/.../wpa-supplicant-wl18xx.bb

    Br,
    Eyal
  • I followed the build instructions here and merged the skeleton filesystem that produced with the combination of the yocto filesystem that is packaged with the IPNC RDK and result of the IPNC build process (which updates the drivers, as necessary to support the IPNC McFW and builds the target application).  This seems to work, except I get the following warnings when I load wlcore.ko:

    [   10.202427] Loading modules backported from Linux version R8.7_SP3-0-g8cbba96
    [   10.209677] Backport generated by backports.git R8.7_SP3-0-gd4777ef
    [   10.275179] wlcore: disagrees about version of symbol ieee80211_connection_loss
    [   10.282549] wlcore: Unknown symbol ieee80211_connection_loss (err -22)
    [   10.289183] wlcore: disagrees about version of symbol ieee80211_iterate_interfaces
    [   10.296812] wlcore: Unknown symbol ieee80211_iterate_interfaces (err -22)
    [   10.303650] wlcore: disagrees about version of symbol ieee80211_sched_scan_stopped
    [   10.311273] wlcore: Unknown symbol ieee80211_sched_scan_stopped (err -22)
    [   10.318141] wlcore: disagrees about version of symbol ieee80211_chswitch_done
    [   10.325328] wlcore: Unknown symbol ieee80211_chswitch_done (err -22)
    [   10.331836] wlcore: disagrees about version of symbol ieee80211_free_hw
    [   10.338501] wlcore: Unknown symbol ieee80211_free_hw (err -22)
    [   10.344377] wlcore: disagrees about version of symbol ieee80211_probereq_get
    [   10.351473] wlcore: Unknown symbol ieee80211_probereq_get (err -22)
    [   10.357815] wlcore: disagrees about version of symbol ieee80211_ap_probereq_get
    [   10.365177] wlcore: Unknown symbol ieee80211_ap_probereq_get (err -22)
    [   10.371768] wlcore: disagrees about version of symbol ieee80211_nullfunc_get
    [   10.378864] wlcore: Unknown symbol ieee80211_nullfunc_get (err -22)
    [   10.385200] wlcore: disagrees about version of symbol ieee80211_pspoll_get
    [   10.392107] wlcore: Unknown symbol ieee80211_pspoll_get (err -22)
    [   10.398266] wlcore: disagrees about version of symbol ieee80211_register_hw
    [   10.405276] wlcore: Unknown symbol ieee80211_register_hw (err -22)
    [   10.411497] wlcore: disagrees about version of symbol ieee80211_restart_hw
    [   10.418418] wlcore: Unknown symbol ieee80211_restart_hw (err -22)
    [   10.424561] wlcore: disagrees about version of symbol ieee80211_get_hdrlen_from_skb
    [   10.432269] wlcore: Unknown symbol ieee80211_get_hdrlen_from_skb (err -22)
    [   10.439213] wlcore: disagrees about version of symbol ieee80211_stop_rx_ba_session
    [   10.446835] wlcore: Unknown symbol ieee80211_stop_rx_ba_session (err -22)
    [   10.453666] wlcore: disagrees about version of symbol ieee80211_wake_queue
    [   10.460588] wlcore: Unknown symbol ieee80211_wake_queue (err -22)
    [   10.466784] wlcore: disagrees about version of symbol ieee80211_find_sta
    [   10.473517] wlcore: Unknown symbol ieee80211_find_sta (err -22)
    [   10.479540] wlcore: disagrees about version of symbol __cfg80211_alloc_reply_skb
    [   10.486985] wlcore: Unknown symbol __cfg80211_alloc_reply_skb (err -22)
    [   10.493683] wlcore: disagrees about version of symbol wiphy_to_ieee80211_hw
    [   10.500695] wlcore: Unknown symbol wiphy_to_ieee80211_hw (err -22)
    [   10.506939] wlcore: disagrees about version of symbol ieee80211_queue_delayed_work
    [   10.514544] wlcore: Unknown symbol ieee80211_queue_delayed_work (err -22)
    [   10.521391] wlcore: disagrees about version of symbol ieee80211_proberesp_get
    [   10.528574] wlcore: Unknown symbol ieee80211_proberesp_get (err -22)
    [   10.535053] wlcore: disagrees about version of symbol ieee80211_remain_on_channel_expired
    [   10.543285] wlcore: Unknown symbol ieee80211_remain_on_channel_expired (err -22)
    [   10.550776] wlcore: disagrees about version of symbol ieee80211_wake_queues
    [   10.557783] wlcore: Unknown symbol ieee80211_wake_queues (err -22)
    [   10.564002] wlcore: disagrees about version of symbol ieee80211_report_low_ack
    [   10.571272] wlcore: Unknown symbol ieee80211_report_low_ack (err -22)
    [   10.577783] wlcore: disagrees about version of symbol ieee80211_free_txskb
    [   10.584689] wlcore: Unknown symbol ieee80211_free_txskb (err -22)
    [   10.590867] wlcore: disagrees about version of symbol ieee80211_alloc_hw_nm
    [   10.597875] wlcore: Unknown symbol ieee80211_alloc_hw_nm (err -22)
    [   10.604122] wlcore: disagrees about version of symbol cfg80211_vendor_cmd_reply
    [   10.611483] wlcore: Unknown symbol cfg80211_vendor_cmd_reply (err -22)
    [   10.618108] wlcore: disagrees about version of symbol ieee80211_tx_status
    [   10.624928] wlcore: Unknown symbol ieee80211_tx_status (err -22)
    [   10.630987] wlcore: disagrees about version of symbol ieee80211_stop_queue
    [   10.637908] wlcore: Unknown symbol ieee80211_stop_queue (err -22)
    [   10.644059] wlcore: disagrees about version of symbol ieee80211_ready_on_channel
    [   10.651506] wlcore: Unknown symbol ieee80211_ready_on_channel (err -22)
    [   10.658174] wlcore: disagrees about version of symbol ieee80211_stop_queues
    [   10.665183] wlcore: Unknown symbol ieee80211_stop_queues (err -22)
    [   10.671420] wlcore: disagrees about version of symbol ieee80211_cqm_beacon_loss_notify
    [   10.679389] wlcore: Unknown symbol ieee80211_cqm_beacon_loss_notify (err -22)
    [   10.686612] wlcore: disagrees about version of symbol ieee80211_sched_scan_results
    [   10.694218] wlcore: Unknown symbol ieee80211_sched_scan_results (err -22)
    [   10.701062] wlcore: disagrees about version of symbol ieee80211_scan_completed
    [   10.708332] wlcore: Unknown symbol ieee80211_scan_completed (err -22)
    [   10.714812] wlcore: disagrees about version of symbol ieee80211_iterate_active_interfaces_atomic
    [   10.723656] wlcore: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err -22)
    [   10.731755] wlcore: disagrees about version of symbol ieee80211_unregister_hw
    [   10.738938] wlcore: Unknown symbol ieee80211_unregister_hw (err -22)
    [   10.745365] wlcore: disagrees about version of symbol ieee80211_beacon_get_tim
    [   10.752622] wlcore: Unknown symbol ieee80211_beacon_get_tim (err -22)
    [   10.759137] wlcore: disagrees about version of symbol ieee80211_cqm_rssi_notify
    [   10.766498] wlcore: Unknown symbol ieee80211_cqm_rssi_notify (err -22)
    [   10.773092] wlcore: disagrees about version of symbol ieee80211_queue_work
    [   10.780016] wlcore: Unknown symbol ieee80211_queue_work (err -22)
    [   10.786161] wlcore: disagrees about version of symbol ieee80211_sta_ps_transition
    [   10.793679] wlcore: Unknown symbol ieee80211_sta_ps_transition (err -22)
    [   10.800491] wlcore: disagrees about version of symbol ieee80211_csa_finish
    [   10.807413] wlcore: Unknown symbol ieee80211_csa_finish (err -22)
    [   10.813553] wlcore: disagrees about version of symbol ieee80211_rx_napi
    [   10.820214] wlcore: Unknown symbol ieee80211_rx_napi (err -22)
    [   11.246754] wl18xx: disagrees about version of symbol ieee80211_connection_loss
    [   11.254125] wl18xx: Unknown symbol ieee80211_connection_loss (err -22)
    [   11.260781] wl18xx: disagrees about version of symbol wl1271_cmd_send
    [   11.267273] wl18xx: Unknown symbol wl1271_cmd_send (err -22)
    [   11.272996] wl18xx: disagrees about version of symbol wl12xx_is_dummy_packet
    [   11.280096] wl18xx: Unknown symbol wl12xx_is_dummy_packet (err -22)
    [   11.286429] wl18xx: disagrees about version of symbol wlcore_event_roc_complete
    [   11.293773] wl18xx: Unknown symbol wlcore_event_roc_complete (err -22)
    [   11.300372] wl18xx: disagrees about version of symbol wlcore_scan_sched_scan_ssid_list
    [   11.308339] wl18xx: Unknown symbol wlcore_scan_sched_scan_ssid_list (err -22)
    [   11.315533] wl18xx: disagrees about version of symbol wlcore_translate_addr
    [   11.322528] wl18xx: Unknown symbol wlcore_translate_addr (err -22)
    [   11.328761] wl18xx: disagrees about version of symbol wlcore_boot_run_firmware
    [   11.336034] wl18xx: Unknown symbol wlcore_boot_run_firmware (err -22)
    [   11.342521] wl18xx: disagrees about version of symbol wlcore_set_scan_chan_params
    [   11.350058] wl18xx: Unknown symbol wlcore_set_scan_chan_params (err -22)
    [   11.356812] wl18xx: disagrees about version of symbol wl1271_debugfs_update_stats
    [   11.364330] wl18xx: Unknown symbol wl1271_debugfs_update_stats (err -22)
    [   11.371132] wl18xx: disagrees about version of symbol wlcore_free_hw
    [   11.377530] wl18xx: Unknown symbol wlcore_free_hw (err -22)
    [   11.383148] wl18xx: disagrees about version of symbol ieee80211_get_hdrlen_from_skb
    [   11.390859] wl18xx: Unknown symbol ieee80211_get_hdrlen_from_skb (err -22)
    [   11.397791] wl18xx: disagrees about version of symbol wlcore_scan_sched_scan_results
    [   11.405585] wl18xx: Unknown symbol wlcore_scan_sched_scan_results (err -22)
    [   11.412591] wl18xx: disagrees about version of symbol wl1271_free_tx_id
    [   11.419252] wl18xx: Unknown symbol wl1271_free_tx_id (err -22)
    [   11.425138] wl18xx: disagrees about version of symbol wlcore_event_max_tx_failure
    [   11.432655] wl18xx: Unknown symbol wlcore_event_max_tx_failure (err -22)
    [   11.439417] wl18xx: disagrees about version of symbol wlcore_remove
    [   11.445726] wl18xx: Unknown symbol wlcore_remove (err -22)
    [   11.451253] wl18xx: disagrees about version of symbol wlcore_disable_interrupts
    [   11.458612] wl18xx: Unknown symbol wlcore_disable_interrupts (err -22)
    [   11.465204] wl18xx: disagrees about version of symbol __cfg80211_alloc_event_skb
    [   11.472635] wl18xx: Unknown symbol __cfg80211_alloc_event_skb (err -22)
    [   11.479312] wl18xx: disagrees about version of symbol wlcore_event_channel_switch
    [   11.486848] wl18xx: Unknown symbol wlcore_event_channel_switch (err -22)
    [   11.493604] wl18xx: disagrees about version of symbol __cfg80211_send_event_skb
    [   11.500971] wl18xx: Unknown symbol __cfg80211_send_event_skb (err -22)
    [   11.507553] wl18xx: disagrees about version of symbol ieee80211_queue_delayed_work
    [   11.515175] wl18xx: Unknown symbol ieee80211_queue_delayed_work (err -22)
    [   11.522031] wl18xx: disagrees about version of symbol wl1271_ps_elp_sleep
    [   11.528868] wl18xx: Unknown symbol wl1271_ps_elp_sleep (err -22)
    [   11.534929] wl18xx: disagrees about version of symbol wlcore_enable_interrupts
    [   11.542200] wl18xx: Unknown symbol wlcore_enable_interrupts (err -22)
    [   11.548698] wl18xx: disagrees about version of symbol wlcore_set_partition
    [   11.555621] wl18xx: Unknown symbol wlcore_set_partition (err -22)
    [   11.561760] wl18xx: disagrees about version of symbol wlcore_boot_upload_firmware
    [   11.569293] wl18xx: Unknown symbol wlcore_boot_upload_firmware (err -22)
    [   11.576048] wl18xx: disagrees about version of symbol wlcore_event_sched_scan_completed
    [   11.584089] wl18xx: Unknown symbol wlcore_event_sched_scan_completed (err -22)
    [   11.591394] wl18xx: disagrees about version of symbol wl1271_cmd_configure
    [   11.598316] wl18xx: Unknown symbol wl1271_cmd_configure (err -22)
    [   11.604446] wl18xx: disagrees about version of symbol ieee80211_change_rx_ba_max_subframes
    [   11.612765] wl18xx: Unknown symbol ieee80211_change_rx_ba_max_subframes (err -22)
    [   11.620338] wl18xx: disagrees about version of symbol wlcore_alloc_hw
    [   11.626824] wl18xx: Unknown symbol wlcore_alloc_hw (err -22)
    [   11.632523] wl18xx: disagrees about version of symbol wlcore_probe
    [   11.638747] wl18xx: Unknown symbol wlcore_probe (err -22)
    [   11.644178] wl18xx: disagrees about version of symbol wlcore_cmd_wait_for_event_or_timeout
    [   11.652496] wl18xx: Unknown symbol wlcore_cmd_wait_for_event_or_timeout (err -22)
    [   11.660057] wl18xx: disagrees about version of symbol wlcore_event_rssi_trigger
    [   11.667415] wl18xx: Unknown symbol wlcore_event_rssi_trigger (err -22)
    [   11.673980] wl18xx: disagrees about version of symbol wlcore_rx_ba_max_subframes
    [   11.681426] wl18xx: Unknown symbol wlcore_rx_ba_max_subframes (err -22)
    [   11.688095] wl18xx: Unknown symbol wlcore_event_fw_logger (err 0)
    [   11.694223] wl18xx: disagrees about version of symbol ieee80211_radar_detected
    [   11.701495] wl18xx: Unknown symbol ieee80211_radar_detected (err -22)
    [   11.707986] wl18xx: disagrees about version of symbol wlcore_event_ba_rx_constraint
    [   11.715694] wl18xx: Unknown symbol wlcore_event_ba_rx_constraint (err -22)
    [   11.722605] wl18xx: disagrees about version of symbol wlcore_event_inactive_sta
    [   11.729963] wl18xx: Unknown symbol wlcore_event_inactive_sta (err -22)
    [   11.736538] wl18xx: disagrees about version of symbol wlcore_event_dummy_packet
    [   11.743880] wl18xx: Unknown symbol wlcore_event_dummy_packet (err -22)
    [   11.750466] wl18xx: disagrees about version of symbol wlcore_event_beacon_loss
    [   11.757736] wl18xx: Unknown symbol wlcore_event_beacon_loss (err -22)
    [   11.764237] wl18xx: disagrees about version of symbol wlcore_set_key
    [   11.770636] wl18xx: Unknown symbol wlcore_set_key (err -22)
    [   11.776258] wl18xx: disagrees about version of symbol wl1271_ps_elp_wakeup
    [   11.783165] wl18xx: Unknown symbol wl1271_ps_elp_wakeup (err -22)
    [   11.789308] wl18xx: disagrees about version of symbol wl12xx_cmd_build_probe_req
    [   11.796754] wl18xx: Unknown symbol wl12xx_cmd_build_probe_req (err -22)
    [   12.575780] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [   12.602892] wlcore: loaded
    [   13.172026] wlcore: PHY firmware version: Rev 8.2.0.0.240

    Should I worry about these?  Any ideas how can I get rid of them?

    Also, while wpa_cli no longer dies horribly, I still cannot successfully set up a P2P connection.  When I run wpa_supplication, I see the following error:

    root@ti81xx:/usr/share/wl18xx# ./p2p_start.sh
    Successfully initialized wpa_supplicant
    rfkill: Cannot open RFKILL control device
    ./p2p_cli.sh
    [  205.151031] cfg80211: Regulatory domain changed to country: US
    [  205.156933] cfg80211:  DFS Master region: FCC
    [  205.161137] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [  205.170962] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
    [  205.179027] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (N/A)
    [  205.188571] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
    [  205.198113] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2300 mBm), (0 s)
    [  205.206257] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
    [  205.214299] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
    rfkill: Cannot get wiphy information
    p2p_find
    p2p-dev-wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
    [  205.952367] wlcore: down
    nl80211: Failed to open /proc/sys/net/ipv4/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
    nl80211: Failed to set IPv4 unicast in multicast filter

    And if I continue to try to connect with wpa_cli, I see what seems to be a related error:

    <3>P2P-FIND-STOPPED

    > P2P-GO-NEG-SUCCESS role=GO freq=5220 ht40=1 peer_dev=7c:ec:79:c7:e2:b5 peer_iface=7e:ec:79:c7:e2:b4 wps_method=PBC


    <3>P2P-GO-NEG-SUCCESS role=GO freq=5220 ht40=1 peer_dev=7c:ec:79:c7:e2:b[  334.832206] IPv6: ADDRCONF(NETDEV_UP): p2p-wlan0-0: link is not ready
    5 peer_iface=7e:ec:79:c7:e2:b4 wps_method=PBC

    > rfkill: Cannot open RFKILL control device
    [  334.971265] wlcore: down
    p2p-wlan0-0: interface state UNINITIALIZED->HT_SCAN
    Using interface p2p-wlan0-0 with hwaddr 56:4a:16:12:fe:11 and ssid "DIRECT-uV"
    [  335.414816] IPv6: ADDRCONF(NETDEV_CHANGE): p2p-wlan0-0: link becomes ready
    Interface initialization failed
    p2p-wlan0-0: interface state HT_SCAN->DISABLED
    p2p-wlan0-0: AP-DISABLED


    <3>CTRL-EVENT-SCAN-RESULTS

    > P2P-GROUP-FORMATION-FAILURE


    <3>P2P-GROUP-FORMATION-FAILURE

    > P2P-GROUP-REMOVED p2p-wlan0-0 GO reason=FORMATION_FAILED


    <3>P2P-GROUP-REMOVED p2p-wlan0-0 GO reason=FORMATION_FAILED

    > p2p-wlan0-0: interface state DISABLED->DISABLED
    p2p-wlan0-0: AP-DISABLED
    hostapd_free_hapd_data: Interface p2p-wlan0-0 wasn't started
    p2p-wlan0-0: CTRL-EVENT-DISCONNECTED bssid=56:4a:16:12:fe:11 reason=3 locally_generated=1
    nl80211: Failed to open /proc/sys/net[  350.209459] wlcore: down
    /ipv4/conf/p2p-wlan0-0/drop_unicast_in_l2_multicast: No such file or directory
    nl80211: Failed to set IPv4 unicast in multicast filter
    nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-wlan0-0/drop_unicast_in_l2_multicast: No such file or directory
    nl80211: Failed to set IPv4 unicast in multicast filter
    nl80211: deinit ifname=p2p-wlan0-0 disabled_11b_rates=1
    P2P-DEVICE-LOST p2p_dev_addr=7c:ec:79:c7:e2:b5
    P2P-DEVICE-LOST p2p_dev_addr=c6:8e:8f:79:65:0c


    <3>P2P-DEVICE-LOST p2p_dev_addr=7c:ec:79:c7:e2:b5

    Do I need to modify the wpa and/or p2p configuration files somehow?

  • Hi,

    It is better to resolve this "disagrees about version" prints as it may be that you are using a combination of cfg80211.ko (and maybe mac80211.ko) from the old release and driver modules from the new release...
    I suggest you verify that your kernel .config didn't have any of the mac80211 related switches enabled, to make sure that the correct module set is being used.

    BR,
    Eyal
  • Yeah, that's what I figured, so I tried to update my kernel defconfig to suppress the build of the old drivers (based on the instructions here).  I was a bit surprised by how large my resulting system was when I used ./build_wl18xx.sh update R8.7_SP3 to update my kernel with the new drivers, etc.  Can I use one of the more specific targets to build_wl18xx.sh, e.g., ./build_wl18xx.sh wpa_supplicant?

  • Hi,

    Once you have updated (using ./build_wl18xx.sh update R8.7_SP3) oyu can just build the driver modules using:

    ./wl8xx-build.sh modules

    Best Regards,
    Eyal
  • I believe I am building correctly now by building update R8.7_SP3, then firmware, modules, iw, wpa_supplicant, uim, and crda.  I also made sure to rename the old wlconf folder from the original distribution in /usr/bin (which came prior to /usr/sbin on my path) so it should be calling the newest versions, but the driver keeps resetting, with the following error:

    [   19.325646] wlcore: ERROR ELP wakeup timeout!
    [   19.330063] ------------[ cut here ]------------
    [   19.334921] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/main.c:807 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [   19.354086] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   19.369682] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G           O    4.4.12-svn12194 #2
    [   19.377916] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   19.384128] Workqueue: phy0 wl1271_tx_work [wlcore]
    [   19.389055] Backtrace:
    [   19.391544] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   19.399166]  r7:bf0e3e14 r6:00000327 r5:00000009 r4:00000000
    [   19.404890] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   19.412182] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   19.420331] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   19.429170]  r8:bf101bc0 r7:ffff922a r6:00000000 r5:c06eb980 r4:c1e19380
    [   19.436042] [<c00327ac>] (warn_slowpath_null) from [<bf0e3e14>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [   19.447046] [<bf0e3da8>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf0e62b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [   19.459385]  r5:c06eb980 r4:c1e19380
    [   19.463145] [<bf0e6294>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0efd38>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
    [   19.474507] [<bf0efc5c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0eeedc>] (wl1271_tx_work+0x24/0x58 [wlcore])
    [   19.484570]  r10:c4802000 r9:00000000 r8:c4802000 r7:c1e74200 r6:00000000 r5:c1e193b8
    [   19.492484]  r4:c1e19380
    [   19.495124] [<bf0eeeb8>] (wl1271_tx_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   19.504227]  r5:c4864700 r4:c1e19548
    [   19.507855] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   19.515995]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   19.523896]  r4:c4802000
    [   19.526473] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   19.533726]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   19.541643]  r4:00000000
    [   19.544200] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   19.551468]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   19.557197] ---[ end trace 043d778bcf9ba3da ]---
    [   19.622840] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
    [   19.629725] ------------[ cut here ]------------
    [   19.634590] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/io.h:66 wlcore_set_partition+0xa4/0x4fc [wlcore]()
    [   19.652367] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   19.668090] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   19.676325] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   19.682554] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [   19.688004] Backtrace:
    [   19.690494] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   19.698115]  r7:bf0ebf30 r6:00000042 r5:00000009 r4:00000000
    [   19.703839] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   19.711131] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   19.719286] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   19.728124]  r8:c1e193b8 r7:c1e74200 r6:bf101bc0 r5:bf1244c4 r4:c1e19380
    [   19.734985] [<c00327ac>] (warn_slowpath_null) from [<bf0ebf30>] (wlcore_set_partition+0xa4/0x4fc [wlcore])
    [   19.744867] [<bf0ebe8c>] (wlcore_set_partition [wlcore]) from [<bf0e32f0>] (wl1271_recovery_work+0x74/0x34c [wlcore])
    [   19.755541]  r6:c1e19380 r5:c4864700 r4:c1e19614
    [   19.760302] [<bf0e327c>] (wl1271_recovery_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   19.769929]  r8:c4802000 r7:c1e74200 r6:00000000 r5:c4864700 r4:c1e19614
    [   19.776722] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   19.784847]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   19.792763]  r4:c4802000
    [   19.795321] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   19.802588]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   19.810502]  r4:00000000
    [   19.813060] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   19.820329]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   19.826056] ---[ end trace 043d778bcf9ba3db ]---
    [   19.830709] wlcore: down
    [   19.882512] ieee80211 phy0: Hardware restart was requested
    [   20.314131] wlcore: PHY firmware version: Rev 8.2.0.0.240
    [   20.468686] wlcore: firmware booted (Rev 8.9.0.0.76)
    [   20.492413] wlcore: Association completed.
    [   23.155640] wlcore: ERROR ELP wakeup timeout!
    [   23.160058] ------------[ cut here ]------------
    [   23.164905] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/main.c:807 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [   23.184070] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   23.199664] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   23.207896] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   23.214109] Workqueue: phy0 wl1271_tx_work [wlcore]
    [   23.219034] Backtrace:
    [   23.221523] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   23.229145]  r7:bf0e3e14 r6:00000327 r5:00000009 r4:00000000
    [   23.234870] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   23.242160] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   23.250310] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   23.259149]  r8:bf101bc0 r7:ffff93a9 r6:00000000 r5:c06eb980 r4:c1e19380
    [   23.266028] [<c00327ac>] (warn_slowpath_null) from [<bf0e3e14>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [   23.277033] [<bf0e3da8>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf0e62b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [   23.289364]  r5:c06eb980 r4:c1e19380
    [   23.293122] [<bf0e6294>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0efd38>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
    [   23.304479] [<bf0efc5c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0eeedc>] (wl1271_tx_work+0x24/0x58 [wlcore])
    [   23.314542]  r10:c4802000 r9:00000001 r8:c4802000 r7:c1e74200 r6:00000000 r5:c1e193b8
    [   23.322456]  r4:c1e19380
    [   23.325096] [<bf0eeeb8>] (wl1271_tx_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   23.334199]  r5:c4864700 r4:c1e19548
    [   23.337825] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   23.345966]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   23.353867]  r4:c4802000
    [   23.356441] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   23.363693]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   23.371610]  r4:00000000
    [   23.374167] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   23.381436]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   23.387165] ---[ end trace 043d778bcf9ba3dc ]---
    [   23.442968] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
    [   23.449867] ------------[ cut here ]------------
    [   23.454710] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/io.h:66 wlcore_set_partition+0xa4/0x4fc [wlcore]()
    [   23.472479] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   23.488073] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   23.496304] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   23.502514] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [   23.507961] Backtrace:
    [   23.510450] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   23.518072]  r7:bf0ebf30 r6:00000042 r5:00000009 r4:00000000
    [   23.523797] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   23.531092] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   23.539247] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   23.548085]  r8:c1e193b8 r7:c1e74200 r6:bf101bc0 r5:bf1244c4 r4:c1e19380
    [   23.554944] [<c00327ac>] (warn_slowpath_null) from [<bf0ebf30>] (wlcore_set_partition+0xa4/0x4fc [wlcore])
    [   23.564815] [<bf0ebe8c>] (wlcore_set_partition [wlcore]) from [<bf0e32f0>] (wl1271_recovery_work+0x74/0x34c [wlcore])
    [   23.575489]  r6:c1e19380 r5:c4864700 r4:c1e19614
    [   23.580249] [<bf0e327c>] (wl1271_recovery_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   23.589876]  r8:c4802000 r7:c1e74200 r6:00000000 r5:c4864700 r4:c1e19614
    [   23.596668] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   23.604792]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   23.612710]  r4:c4802000
    [   23.615268] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   23.622537]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   23.630451]  r4:00000000
    [   23.633007] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   23.640276]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   23.646003] ---[ end trace 043d778bcf9ba3dd ]---
    [   23.650658] wlcore: down
    [   23.701646] ieee80211 phy0: Hardware restart was requested
    [   24.133982] wlcore: PHY firmware version: Rev 8.2.0.0.240
    [   24.288728] wlcore: firmware booted (Rev 8.9.0.0.76)
    [   24.312645] wlcore: Association completed.
    [   27.175639] wlcore: ERROR ELP wakeup timeout!
    [   27.180056] ------------[ cut here ]------------
    [   27.184904] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/main.c:807 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [   27.204068] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   27.219670] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   27.227902] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   27.234116] Workqueue: phy0 wl1271_tx_work [wlcore]
    [   27.239042] Backtrace:
    [   27.241531] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   27.249152]  r7:bf0e3e14 r6:00000327 r5:00000009 r4:00000000
    [   27.254877] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   27.262167] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   27.270317] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   27.279155]  r8:bf101bc0 r7:ffff953b r6:00000000 r5:c06eb980 r4:c1e19380
    [   27.286029] [<c00327ac>] (warn_slowpath_null) from [<bf0e3e14>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [   27.297033] [<bf0e3da8>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf0e62b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [   27.309365]  r5:c06eb980 r4:c1e19380
    [   27.313124] [<bf0e6294>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0efd38>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
    [   27.324479] [<bf0efc5c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0eeedc>] (wl1271_tx_work+0x24/0x58 [wlcore])
    [   27.334542]  r10:c4802000 r9:00000002 r8:c4802000 r7:c1e74200 r6:00000000 r5:c1e193b8
    [   27.342457]  r4:c1e19380
    [   27.345096] [<bf0eeeb8>] (wl1271_tx_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   27.354199]  r5:c4864700 r4:c1e19548
    [   27.357826] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   27.365967]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   27.373868]  r4:c4802000
    [   27.376442] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   27.383693]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   27.391610]  r4:00000000
    [   27.394167] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   27.401436]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   27.407165] ---[ end trace 043d778bcf9ba3de ]---
    [   27.463523] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
    [   27.470423] ------------[ cut here ]------------
    [   27.475266] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/io.h:66 wlcore_set_partition+0xa4/0x4fc [wlcore]()
    [   27.493037] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   27.508629] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   27.516860] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   27.523070] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [   27.528519] Backtrace:
    [   27.531008] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   27.538630]  r7:bf0ebf30 r6:00000042 r5:00000009 r4:00000000
    [   27.544355] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   27.551644] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   27.559799] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   27.568637]  r8:c1e193b8 r7:c1e74200 r6:bf101bc0 r5:bf1244c4 r4:c1e19380
    [   27.575498] [<c00327ac>] (warn_slowpath_null) from [<bf0ebf30>] (wlcore_set_partition+0xa4/0x4fc [wlcore])
    [   27.585370] [<bf0ebe8c>] (wlcore_set_partition [wlcore]) from [<bf0e32f0>] (wl1271_recovery_work+0x74/0x34c [wlcore])
    [   27.596046]  r6:c1e19380 r5:c4864700 r4:c1e19614
    [   27.600793] [<bf0e327c>] (wl1271_recovery_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   27.610420]  r8:c4802000 r7:c1e74200 r6:00000000 r5:c4864700 r4:c1e19614
    [   27.617213] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   27.625337]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   27.633255]  r4:c4802000
    [   27.635829] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   27.643082]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   27.650999]  r4:00000000
    [   27.653557] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   27.660824]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   27.666553] ---[ end trace 043d778bcf9ba3df ]---
    [   27.671206] wlcore: down
    [   27.722224] ieee80211 phy0: Hardware restart was requested
    [   28.153867] wlcore: PHY firmware version: Rev 8.2.0.0.240
    [   28.308670] wlcore: firmware booted (Rev 8.9.0.0.76)
    [   28.332391] wlcore: Association completed.
    [   32.585651] wlcore: ERROR ELP wakeup timeout!
    [   32.590072] ------------[ cut here ]------------
    [   32.594921] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/main.c:807 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [   32.614086] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   32.629684] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   32.637914] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   32.644129] Workqueue: phy0 wl1271_tx_work [wlcore]
    [   32.649054] Backtrace:
    [   32.651543] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   32.659164]  r7:bf0e3e14 r6:00000327 r5:00000009 r4:00000000
    [   32.664888] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   32.672179] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   32.680328] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   32.689166]  r8:bf101bc0 r7:ffff9758 r6:00000000 r5:c06eb980 r4:c1e19380
    [   32.696041] [<c00327ac>] (warn_slowpath_null) from [<bf0e3e14>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [   32.707045] [<bf0e3da8>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf0e62b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [   32.719376]  r5:c06eb980 r4:c1e19380
    [   32.723135] [<bf0e6294>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0efd38>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
    [   32.734489] [<bf0efc5c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0eeedc>] (wl1271_tx_work+0x24/0x58 [wlcore])
    [   32.744551]  r10:c4802000 r9:00000003 r8:c4802000 r7:c1e74200 r6:00000000 r5:c1e193b8
    [   32.752465]  r4:c1e19380
    [   32.755105] [<bf0eeeb8>] (wl1271_tx_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   32.764209]  r5:c4864700 r4:c1e19548
    [   32.767836] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   32.775978]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   32.783878]  r4:c4802000
    [   32.786453] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   32.793704]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   32.801621]  r4:00000000
    [   32.804177] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   32.811446]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   32.817174] ---[ end trace 043d778bcf9ba3e0 ]---
    [   32.873886] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
    [   32.880783] ------------[ cut here ]------------
    [   32.885626] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/io.h:66 wlcore_set_partition+0xa4/0x4fc [wlcore]()
    [   32.903407] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   32.918996] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   32.927227] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   32.933437] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [   32.938884] Backtrace:
    [   32.941374] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   32.948997]  r7:bf0ebf30 r6:00000042 r5:00000009 r4:00000000
    [   32.954721] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   32.962012] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   32.970163] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   32.979002]  r8:c1e193b8 r7:c1e74200 r6:bf101bc0 r5:bf1244c4 r4:c1e19380
    [   32.985876] [<c00327ac>] (warn_slowpath_null) from [<bf0ebf30>] (wlcore_set_partition+0xa4/0x4fc [wlcore])
    [   32.995724] [<bf0ebe8c>] (wlcore_set_partition [wlcore]) from [<bf0e32f0>] (wl1271_recovery_work+0x74/0x34c [wlcore])
    [   33.006412]  r6:c1e19380 r5:c4864700 r4:c1e19614
    [   33.011158] [<bf0e327c>] (wl1271_recovery_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   33.020785]  r8:c4802000 r7:c1e74200 r6:00000000 r5:c4864700 r4:c1e19614
    [   33.027578] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   33.035717]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   33.043618]  r4:c4802000
    [   33.046194] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   33.053447]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   33.061363]  r4:00000000
    [   33.063921] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   33.071198]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   33.076929] ---[ end trace 043d778bcf9ba3e1 ]---
    [   33.081583] wlcore: down
    [   33.130880] ieee80211 phy0: Hardware restart was requested
    [   33.564263] wlcore: PHY firmware version: Rev 8.2.0.0.240
    [   33.728686] wlcore: firmware booted (Rev 8.9.0.0.76)
    [   33.751323] wlcore: Association completed.
    [   40.635639] wlcore: ERROR ELP wakeup timeout!
    [   40.640055] ------------[ cut here ]------------
    [   40.644905] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/main.c:807 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [   40.664069] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   40.679665] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   40.687897] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   40.694113] Workqueue: phy0 wl1271_tx_work [wlcore]
    [   40.699038] Backtrace:
    [   40.701528] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   40.709150]  r7:bf0e3e14 r6:00000327 r5:00000009 r4:00000000
    [   40.714874] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   40.722165] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   40.730315] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   40.739154]  r8:bf101bc0 r7:ffff9a7d r6:00000000 r5:c06eb980 r4:c1e19380
    [   40.746027] [<c00327ac>] (warn_slowpath_null) from [<bf0e3e14>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [   40.757028] [<bf0e3da8>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf0e62b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [   40.769358]  r5:c06eb980 r4:c1e19380
    [   40.773116] [<bf0e6294>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0efd38>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
    [   40.784471] [<bf0efc5c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0eeedc>] (wl1271_tx_work+0x24/0x58 [wlcore])
    [   40.794534]  r10:c4802000 r9:00000004 r8:c4802000 r7:c1e74200 r6:00000000 r5:c1e193b8
    [   40.802449]  r4:c1e19380
    [   40.805087] [<bf0eeeb8>] (wl1271_tx_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   40.814189]  r5:c4864700 r4:c1e19548
    [   40.817817] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   40.825958]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   40.833858]  r4:c4802000
    [   40.836433] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   40.843686]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   40.851604]  r4:00000000
    [   40.854161] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   40.861430]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   40.867159] ---[ end trace 043d778bcf9ba3e2 ]---
    [   40.923965] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
    [   40.930867] ------------[ cut here ]------------
    [   40.935712] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/io.h:66 wlcore_set_partition+0xa4/0x4fc [wlcore]()
    [   40.953492] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   40.969080] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   40.977311] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   40.983519] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [   40.988968] Backtrace:
    [   40.991458] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   40.999079]  r7:bf0ebf30 r6:00000042 r5:00000009 r4:00000000
    [   41.004805] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   41.012096] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   41.020246] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   41.029085]  r8:c1e193b8 r7:c1e74200 r6:bf101bc0 r5:bf1244c4 r4:c1e19380
    [   41.035959] [<c00327ac>] (warn_slowpath_null) from [<bf0ebf30>] (wlcore_set_partition+0xa4/0x4fc [wlcore])
    [   41.045831] [<bf0ebe8c>] (wlcore_set_partition [wlcore]) from [<bf0e32f0>] (wl1271_recovery_work+0x74/0x34c [wlcore])
    [   41.056505]  r6:c1e19380 r5:c4864700 r4:c1e19614
    [   41.061252] [<bf0e327c>] (wl1271_recovery_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   41.070886]  r8:c4802000 r7:c1e74200 r6:00000000 r5:c4864700 r4:c1e19614
    [   41.077680] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   41.085822]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   41.093723]  r4:c4802000
    [   41.096297] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   41.103549]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   41.111465]  r4:00000000
    [   41.114023] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   41.121292]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   41.127020] ---[ end trace 043d778bcf9ba3e3 ]---
    [   41.131675] wlcore: down
    [   41.184049] ieee80211 phy0: Hardware restart was requested
    [   41.613990] wlcore: PHY firmware version: Rev 8.2.0.0.240
    [   41.768688] wlcore: firmware booted (Rev 8.9.0.0.76)
    [   41.792455] wlcore: Association completed.
    [   49.345639] wlcore: ERROR ELP wakeup timeout!
    [   49.350057] ------------[ cut here ]------------
    [   49.354906] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/main.c:807 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [   49.374069] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   49.389664] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   49.397897] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   49.404111] Workqueue: phy0 wl1271_tx_work [wlcore]
    [   49.409037] Backtrace:
    [   49.411526] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   49.419147]  r7:bf0e3e14 r6:00000327 r5:00000009 r4:00000000
    [   49.424872] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   49.432163] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   49.440316] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   49.449154]  r8:bf101bc0 r7:ffff9de4 r6:00000000 r5:c06eb980 r4:c1e19380
    [   49.456027] [<c00327ac>] (warn_slowpath_null) from [<bf0e3e14>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [   49.467031] [<bf0e3da8>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf0e62b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [   49.479362]  r5:c06eb980 r4:c1e19380
    [   49.483121] [<bf0e6294>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0efd38>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
    [   49.494477] [<bf0efc5c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0eeedc>] (wl1271_tx_work+0x24/0x58 [wlcore])
    [   49.504540]  r10:c4802000 r9:00000005 r8:c4802000 r7:c1e74200 r6:00000000 r5:c1e193b8
    [   49.512455]  r4:c1e19380
    [   49.515094] [<bf0eeeb8>] (wl1271_tx_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   49.524198]  r5:c4864700 r4:c1e19548
    [   49.527826] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   49.535966]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   49.543866]  r4:c4802000
    [   49.546441] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   49.553694]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   49.561611]  r4:00000000
    [   49.564168] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   49.571435]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   49.577163] ---[ end trace 043d778bcf9ba3e4 ]---
    [   49.635941] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
    [   49.642811] ------------[ cut here ]------------
    [   49.647689] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/io.h:66 wlcore_set_partition+0xa4/0x4fc [wlcore]()
    [   49.665442] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   49.681034] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   49.689271] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   49.695482] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [   49.700930] Backtrace:
    [   49.703419] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   49.711041]  r7:bf0ebf30 r6:00000042 r5:00000009 r4:00000000
    [   49.716782] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   49.724056] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   49.732208] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   49.741044]  r8:c1e193b8 r7:c1e74200 r6:bf101bc0 r5:bf1244c4 r4:c1e19380
    [   49.747919] [<c00327ac>] (warn_slowpath_null) from [<bf0ebf30>] (wlcore_set_partition+0xa4/0x4fc [wlcore])
    [   49.757791] [<bf0ebe8c>] (wlcore_set_partition [wlcore]) from [<bf0e32f0>] (wl1271_recovery_work+0x74/0x34c [wlcore])
    [   49.768464]  r6:c1e19380 r5:c4864700 r4:c1e19614
    [   49.773209] [<bf0e327c>] (wl1271_recovery_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   49.782837]  r8:c4802000 r7:c1e74200 r6:00000000 r5:c4864700 r4:c1e19614
    [   49.789628] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   49.797769]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   49.805686]  r4:c4802000
    [   49.808245] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   49.815498]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   49.823415]  r4:00000000
    [   49.825988] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   49.833241]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   49.838969] ---[ end trace 043d778bcf9ba3e5 ]---
    [   49.843621] wlcore: down
    [   49.894448] ieee80211 phy0: Hardware restart was requested
    [   50.324115] wlcore: PHY firmware version: Rev 8.2.0.0.240
    [   50.478676] wlcore: firmware booted (Rev 8.9.0.0.76)
    [   50.502339] wlcore: Association completed.
    [   65.955640] wlcore: ERROR ELP wakeup timeout!
    [   65.960061] ------------[ cut here ]------------
    [   65.964909] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/main.c:807 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [   65.984074] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   65.999670] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   66.007902] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   66.014117] Workqueue: phy0 wl1271_tx_work [wlcore]
    [   66.019044] Backtrace:
    [   66.021535] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   66.029156]  r7:bf0e3e14 r6:00000327 r5:00000009 r4:00000000
    [   66.034881] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   66.042172] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   66.050321] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   66.059160]  r8:bf101bc0 r7:ffffa461 r6:00000000 r5:c06eb980 r4:c1e19380
    [   66.066036] [<c00327ac>] (warn_slowpath_null) from [<bf0e3e14>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [   66.077040] [<bf0e3da8>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf0e62b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [   66.089371]  r5:c06eb980 r4:c1e19380
    [   66.093130] [<bf0e6294>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0efd38>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
    [   66.104484] [<bf0efc5c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0eeedc>] (wl1271_tx_work+0x24/0x58 [wlcore])
    [   66.114546]  r10:c4802000 r9:00000006 r8:c4802000 r7:c1e74200 r6:00000000 r5:c1e193b8
    [   66.122460]  r4:c1e19380
    [   66.125098] [<bf0eeeb8>] (wl1271_tx_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   66.134201]  r5:c4864700 r4:c1e19548
    [   66.137828] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   66.145969]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   66.153870]  r4:c4802000
    [   66.156445] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   66.163697]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   66.171613]  r4:00000000
    [   66.174170] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   66.181439]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   66.187167] ---[ end trace 043d778bcf9ba3e6 ]---
    [   66.243935] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
    [   66.250833] ------------[ cut here ]------------
    [   66.255678] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/io.h:66 wlcore_set_partition+0xa4/0x4fc [wlcore]()
    [   66.273462] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   66.289050] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   66.297281] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   66.303490] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [   66.308937] Backtrace:
    [   66.311426] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   66.319047]  r7:bf0ebf30 r6:00000042 r5:00000009 r4:00000000
    [   66.324771] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   66.332063] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   66.340212] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   66.349050]  r8:c1e193b8 r7:c1e74200 r6:bf101bc0 r5:bf1244c4 r4:c1e19380
    [   66.355926] [<c00327ac>] (warn_slowpath_null) from [<bf0ebf30>] (wlcore_set_partition+0xa4/0x4fc [wlcore])
    [   66.365796] [<bf0ebe8c>] (wlcore_set_partition [wlcore]) from [<bf0e32f0>] (wl1271_recovery_work+0x74/0x34c [wlcore])
    [   66.376469]  r6:c1e19380 r5:c4864700 r4:c1e19614
    [   66.381215] [<bf0e327c>] (wl1271_recovery_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   66.390842]  r8:c4802000 r7:c1e74200 r6:00000000 r5:c4864700 r4:c1e19614
    [   66.397634] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   66.405774]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   66.413677]  r4:c4802000
    [   66.416251] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   66.423504]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   66.431420]  r4:00000000
    [   66.433977] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   66.441245]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   66.446973] ---[ end trace 043d778bcf9ba3e7 ]---
    [   66.451627] wlcore: down
    [   66.502825] ieee80211 phy0: Hardware restart was requested
    [   66.934171] wlcore: PHY firmware version: Rev 8.2.0.0.240
    [   67.088678] wlcore: firmware booted (Rev 8.9.0.0.76)
    [   67.112443] wlcore: Association completed.
    [   98.745641] wlcore: ERROR ELP wakeup timeout!
    [   98.750044] ------------[ cut here ]------------
    [   98.754910] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/main.c:807 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [   98.774076] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   98.789672] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   98.797902] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   98.804117] Workqueue: phy0 wl1271_tx_work [wlcore]
    [   98.809043] Backtrace:
    [   98.811532] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   98.819153]  r7:bf0e3e14 r6:00000327 r5:00000009 r4:00000000
    [   98.824878] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   98.832169] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   98.840318] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   98.849156]  r8:bf101bc0 r7:ffffb130 r6:00000000 r5:c06eb980 r4:c1e19380
    [   98.856031] [<c00327ac>] (warn_slowpath_null) from [<bf0e3e14>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [   98.867035] [<bf0e3da8>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf0e62b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [   98.879366]  r5:c06eb980 r4:c1e19380
    [   98.883125] [<bf0e6294>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0efd38>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
    [   98.894480] [<bf0efc5c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0eeedc>] (wl1271_tx_work+0x24/0x58 [wlcore])
    [   98.904543]  r10:c4802000 r9:00000007 r8:c4802000 r7:c1e74200 r6:00000000 r5:c1e193b8
    [   98.912456]  r4:c1e19380
    [   98.915096] [<bf0eeeb8>] (wl1271_tx_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   98.924198]  r5:c4864700 r4:c1e19548
    [   98.927825] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   98.935964]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   98.943865]  r4:c4802000
    [   98.946440] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   98.953693]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   98.961611]  r4:00000000
    [   98.964168] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   98.971437]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   98.977165] ---[ end trace 043d778bcf9ba3e8 ]---
    [   99.035175] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
    [   99.042062] ------------[ cut here ]------------
    [   99.046940] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/io.h:66 wlcore_set_partition+0xa4/0x4fc [wlcore]()
    [   99.064692] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [   99.080283] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [   99.088515] Hardware name: Generic TI81xx (Flattened Device Tree)
    [   99.094723] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [   99.100179] Backtrace:
    [   99.102668] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [   99.110291]  r7:bf0ebf30 r6:00000042 r5:00000009 r4:00000000
    [   99.116034] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [   99.123305] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [   99.131460] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [   99.140299]  r8:c1e193b8 r7:c1e74200 r6:bf101bc0 r5:bf1244c4 r4:c1e19380
    [   99.147174] [<c00327ac>] (warn_slowpath_null) from [<bf0ebf30>] (wlcore_set_partition+0xa4/0x4fc [wlcore])
    [   99.157046] [<bf0ebe8c>] (wlcore_set_partition [wlcore]) from [<bf0e32f0>] (wl1271_recovery_work+0x74/0x34c [wlcore])
    [   99.167719]  r6:c1e19380 r5:c4864700 r4:c1e19614
    [   99.172464] [<bf0e327c>] (wl1271_recovery_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [   99.182090]  r8:c4802000 r7:c1e74200 r6:00000000 r5:c4864700 r4:c1e19614
    [   99.188880] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [   99.197021]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [   99.204923]  r4:c4802000
    [   99.207497] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [   99.214750]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [   99.222666]  r4:00000000
    [   99.225224] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [   99.232492]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [   99.238217] ---[ end trace 043d778bcf9ba3e9 ]---
    [   99.242871] wlcore: down
    [   99.294293] ieee80211 phy0: Hardware restart was requested



    Any ideas?

  • These errors show up after I execute iw wlan0 connect <SSID>, but now I notice that ifconfig reports there is no longer any wlan0 interface:
    # iwconfig
    sit0 no wireless extensions.

    lo no wireless extensions.

    eth0 no wireless extensions.

    What happened to wlan0 and what is sit0?
  • Hi John,

    iwconfig is deprecated.
    what is the output of ifconfig -a?

    You should see wlan0 there as an interface.

    What is the output of:
    iw wlan0 scan?

    and also:
    cat /proc/interrupts | grep wilink

    Are you getting interrupts from the wlan_irq gpio?

    Best Regards,
    Eyal
  • It turns out your suggestion to invoke build_wl18xx.sh modules after build_wl18xx.sh update R8.7_SP3 was the problem (i.e., I was not seeing the wlan0 interface doing that); I think this cleans out some required driver support from the kernel (and the resulting filesystem is not really much smaller anyway).  Just building with:

        build_wl18xx.sh update R8.7_SP3
        build_wl18xx.sh firmware

    seems to work, to the extent that now I see the wlan0 interface.  However, cat /proc/interrupts | grep wilink gives no results and iw wlan0 scan causes the kernel to puke:


    [  579.615687] wlcore: ERROR ELP wakeup timeout!
    [  579.620104] ------------[ cut here ]------------
    [  579.624949] WARNING: CPU: 0 PID: 303 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/main.c:807 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [  579.644288] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [  579.659885] CPU: 0 PID: 303 Comm: iw Tainted: G           O    4.4.12-svn12194 #2
    [  579.667420] Hardware name: Generic TI81xx (Flattened Device Tree)
    [  579.673539] Backtrace:
    [  579.676046] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [  579.683649]  r7:bf0e3e14 r6:00000327 r5:00000009 r4:00000000
    [  579.689391] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [  579.696684] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [  579.704819] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [  579.713657]  r8:bf101bc0 r7:00006d07 r6:00000000 r5:c06eb980 r4:c278d380
    [  579.720554] [<c00327ac>] (warn_slowpath_null) from [<bf0e3e14>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [  579.731567] [<bf0e3da8>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf0e62b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [  579.743900]  r5:c06eb980 r4:c278d380
    [  579.747675] [<bf0e6294>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0efd38>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
    [  579.759029] [<bf0efc5c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0e119c>] (wl1271_op_hw_scan+0x68/0xe0 [wlcore])
    [  579.769354]  r10:c27ffef8 r9:c278cbc0 r8:00000112 r7:c27ffc00 r6:c278d3b8 r5:00000000
    [  579.777273]  r4:c278d380
    [  579.780336] [<bf0e1134>] (wl1271_op_hw_scan [wlcore]) from [<bf055b90>] (__ieee80211_start_scan+0x1e8/0x434 [mac80211])
    [  579.791204]  r10:00000000 r9:c487bcfc r8:00000112 r7:c278d1f8 r6:c27ffe00 r5:c26f3460
    [  579.799124]  r4:c278cbc0
    [  579.802120] [<bf0559a8>] (__ieee80211_start_scan [mac80211]) from [<bf056844>] (ieee80211_request_scan+0x2c/0x44 [mac80211])
    [  579.813413]  r9:c487bcfc r8:00000112 r7:c278c000 r6:c27ffe00 r5:c27ffe00 r4:c26f3460
    [  579.821639] [<bf056818>] (ieee80211_request_scan [mac80211]) from [<bf065aec>] (ieee80211_scan+0x4c/0xb4 [mac80211])
    [  579.832228]  r5:00000000 r4:c277da24
    [  579.836293] [<bf065aa0>] (ieee80211_scan [mac80211]) from [<bf0231bc>] (nl80211_trigger_scan+0x61c/0x674 [cfg80211])
    [  579.847037] [<bf022ba0>] (nl80211_trigger_scan [cfg80211]) from [<c04100b4>] (genl_rcv_msg+0x230/0x3a8)
    [  579.856496]  r10:c17c6800 r9:00000014 r8:00000000 r7:bf02af64 r6:c26d0a80 r5:c277da00
    [  579.864397]  r4:bf02d1d4
    [  579.866973] [<c040fe84>] (genl_rcv_msg) from [<c040f3b0>] (netlink_rcv_skb+0xa8/0xc4)
    [  579.874837]  r10:c26d0a80 r9:00000000 r8:00000000 r7:c26d0a80 r6:c26d0a80 r5:c040fe84
    [  579.882755]  r4:c277da00
    [  579.885311] [<c040f308>] (netlink_rcv_skb) from [<c040fe74>] (genl_rcv+0x2c/0x3c)
    [  579.892842]  r7:c26d0a80 r6:c0c91800 r5:c26d0a80 r4:c0712270
    [  579.898576] [<c040fe48>] (genl_rcv) from [<c040ed34>] (netlink_unicast+0x17c/0x200)
    [  579.906281]  r5:00000024 r4:c49a1000
    [  579.909892] [<c040ebb8>] (netlink_unicast) from [<c040f184>] (netlink_sendmsg+0x2f8/0x360)
    [  579.918208]  r8:00000000 r7:00000024 r6:c0c91800 r5:00000000 r4:c487bf4c
    [  579.924984] [<c040ee8c>] (netlink_sendmsg) from [<c03d61cc>] (sock_sendmsg+0x1c/0x2c)
    [  579.932863]  r10:00000000 r9:c487be30 r8:00000000 r7:c299fd80 r6:00000000 r5:00000000
    [  579.940777]  r4:c487bf4c
    [  579.943333] [<c03d61b0>] (sock_sendmsg) from [<c03d6b14>] (___sys_sendmsg+0x1d8/0x1e0)
    [  579.951309] [<c03d693c>] (___sys_sendmsg) from [<c03d7848>] (__sys_sendmsg+0x44/0x70)
    [  579.959187]  r9:c487a000 r8:c000f864 r7:00000128 r6:c299fd80 r5:00000000 r4:be8d2b2c
    [  579.967026] [<c03d7804>] (__sys_sendmsg) from [<c03d7884>] (SyS_sendmsg+0x10/0x14)
    [  579.974627]  r6:000461d0 r5:00045110 r4:00045080
    [  579.979313] [<c03d7874>] (SyS_sendmsg) from [<c000f6c0>] (ret_fast_syscall+0x0/0x34)
    [  579.987108] ---[ end trace c578f41a81f6d5cb ]---
    [  579.995741] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
    [  580.002597] ------------[ cut here ]------------
    [  580.007445] WARNING: CPU: 0 PID: 6 at /home/jwicks/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/io.h:66 wlcore_set_partition+0xa4/0x4fc [wlcore]()
    [  580.025193] Modules linked in: g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O)
    [  580.040781] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O    4.4.12-svn12194 #2
    [  580.049013] Hardware name: Generic TI81xx (Flattened Device Tree)
    [  580.055226] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [  580.060673] Backtrace:
    [  580.063158] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [  580.070779]  r7:bf0ebf30 r6:00000042 r5:00000009 r4:00000000
    [  580.076518] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [  580.083791] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [  580.091944] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [  580.100781]  r8:c278d3b8 r7:c276a100 r6:bf101bc0 r5:bf1244c4 r4:c278d380
    [  580.107655] [<c00327ac>] (warn_slowpath_null) from [<bf0ebf30>] (wlcore_set_partition+0xa4/0x4fc [wlcore])
    [  580.117527] [<bf0ebe8c>] (wlcore_set_partition [wlcore]) from [<bf0e32f0>] (wl1271_recovery_work+0x74/0x34c [wlcore])
    [  580.128201]  r6:c278d380 r5:c4864700 r4:c278d614
    [  580.132948] [<bf0e327c>] (wl1271_recovery_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [  580.142574]  r8:c4802000 r7:c276a100 r6:00000000 r5:c4864700 r4:c278d614
    [  580.149364] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [  580.157505]  r10:c4802000 r9:c4864700 r8:00000088 r7:c4882000 r6:c4802010 r5:c4864718
    [  580.165405]  r4:c4802000
    [  580.167979] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [  580.175232]  r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c4864700 r5:c4838f00
    [  580.183147]  r4:00000000
    [  580.185719] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [  580.192970]  r7:00000000 r6:00000000 r5:c004a2a4 r4:c4838f00
    [  580.198698] ---[ end trace c578f41a81f6d5cc ]---
    [  580.203347] wlcore: down
    [  580.333254] ieee80211 phy0: Hardware restart was requested
    command failed: Connection timed out (-110)
    root@ti81xx:~# [  580.764482] wlcore: PHY firmware version: Rev 8.2.0.0.240
    [  580.918726] wlcore: firmware booted (Rev 8.9.0.0.76)

  • While I turned off those config switches to prevent compilation of wireless components in my kernel, the base filesystem supplied with the RDK includes wireless software, and I wonder if I need to remove it from the filesystem to prevent any possible conflicts with the new stuff coming from the build-utilites system. Can you give me any guidance as to what needs to be removed?
  • Can you post the full output of:

     cat /proc/interrupts

    I believe you are not getting interrupts from the wlan_irq line which cause the firmware recovery you see on any command sent to the wilink firmware.

    In addition, can you share your .dts file? I want to look at the "wlcore" section in it.

    There is nothing really that should be removed from the file system. You do want the updated wpa_supplicant etc.

    Best Regards,

    Eyal

  • root@ti81xx:~# cat /proc/interrupts
               CPU0       
     16:    8572045      INTC  68 Level     gp_timer
     19:          0      INTC  75 Level     rtc0
     20:          0      INTC  76 Level     rtc0
     21:        622      INTC  72 Level     48020000.uart
     22:        341      INTC  70 Level     48028000.i2c
     23:          0      INTC  71 Level     4802a000.i2c
     24:          0      INTC  96 Level     48032000.gpio
     57:         19      INTC  98 Level     4804c000.gpio
     71:         19  4804c000.gpio  13 Level     wl18xx
     90:          0      INTC  32 Level     481ac000.gpio
    123:          0      INTC  62 Level     481ae000.gpio
    156:          0      INTC   4 Level     48080000.elm
    157:       2027      INTC  64 Level     mmc0
    158:         13      INTC  28 Level     mmc1
    159:          0      INTC  77 Level     mailbox-video, mailbox-vpss
    160:          0      INTC 123 Level     55082000.mmu
    162:       1454      INTC  12 Level     49000000.edma_ccint
    164:          0      INTC  14 Level     49000000.edma_ccerrint
    170:          0      INTC  41 Level     4a100000.ethernet
    171:          0      INTC  42 Level     4a100000.ethernet
    173:          0      INTC 100 Level     gpmc
    176:          0      INTC  82 Level     4803c000.mcasp_tx
    177:          0      INTC  83 Level     4803c000.mcasp_rx
    178:          0      INTC   7 Level     tps65910
    185:          0  tps65910   6 Edge      tps65910-rtc
    203:          0      INTC  17 Level     47400000.dma-controller
    204:          0      INTC  18 Level     musb-hdrc.0.auto
    Err:          0
    root@ti81xx:~# lsmod
    Module                  Size  Used by
    g_mass_storage          4146  0
    usb_f_mass_storage     37247  2 g_mass_storage
    libcomposite           43240  2 usb_f_mass_storage,g_mass_storage
    configfs               23205  3 libcomposite,usb_f_mass_storage
    sbull                   4358  1
    syslink               897126  0
    wlcore_sdio             6709  0
    wl18xx                 87328  0
    wlcore                185330  1 wl18xx
    mac80211              480924  2 wl18xx,wlcore
    cfg80211              222542  3 mac80211,wl18xx,wlcore
    compat                  2273  4 cfg80211,mac80211,wl18xx,wlcore_sdio

    This forum will not allow me to upload .dts files, so I will simply paste what should be the relevant sections.  My dts wlcore section reads:

        wlcore: wlcore@0 {
            compatible = "ti,wl1837";
            reg = <2>;
            /* WLAN_IRQ GPIO for this board GP1[13] */
            /* gpio0-gpio3 are defined as gpio1-gpio4 in ti81xx.dtsi.*/
            interrupt-parent = <&gpio2>;
            interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
        };

    and the gpios in referenced dtsi file are defined as:

                gpio1: gpio@32000 {
                    compatible = "ti,omap4-gpio";
                    ti,hwmods = "gpio1";
                    ti,gpio-always-on;
                    reg = <0x32000 0x2000>;
                    interrupts = <96>;
                    gpio-controller;
                    #gpio-cells = <2>;
                    interrupt-controller;
                    #interrupt-cells = <2>;
                };
                gpio2: gpio@4c000 {
                    compatible = "ti,omap4-gpio";
                    ti,hwmods = "gpio2";
                    ti,gpio-always-on;
                    reg = <0x4c000 0x2000>;
                    interrupts = <98>;
                    gpio-controller;
                    #gpio-cells = <2>;
                    interrupt-controller;
                    #interrupt-cells = <2>;
                };
                gpio3: gpio@1ac000 {
                    compatible = "ti,omap4-gpio";
                    ti,hwmods = "gpio3";
                    ti,gpio-always-on;
                    reg = <0x1Ac000 0x2000>;
                    interrupts = <32>;
                    gpio-controller;
                    #gpio-cells = <2>;
                    interrupt-controller;
                    #interrupt-cells = <2>;
                };
                gpio4: gpio@1ae000 {
                    compatible = "ti,omap4-gpio";
                    ti,hwmods = "gpio4";
                    ti,gpio-always-on;
                    reg = <0x1Ae000 0x2000>;
                    interrupts = <62>;
                    gpio-controller;
                    #gpio-cells = <2>;
                    interrupt-controller;
                    #interrupt-cells = <2>;
                 };

    I notice that the build-utilites system includes a number of dts files in src/driver/arch/arm/boot/dts.  Should I be putting my dts file tree in there and targetting it (how?) in that build system?

    Also, I have two versions of wpa_supplicant: the newest one is in /usr/local/sbin, while the old version provided pre-compiled by the RDK is in /usr/sbin; since my PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin, I should be running the newer one, but I am just concerned about conflicts with related artifacts (e.g., configuration files, etc).

  • Hi,

    I do see the interrupt in /proc/interrupts
    71: 19 4804c000.gpio 13 Level wl18xx

    But there is something probably wrong with the gpio (2_13) configuration which is used for wlan_irq.
    A coule of thing to try:
    1. try using the command:
    iw wlan0 set power_save off
    and only then:
    iw wlan0 scan

    1. If this doesn't help, please try changing the in the .dts file from:
    interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
    to:
    interrupts = <13 IRQ_TYPE_EDGE_FALLING>;

    rebuild the .dtb file and try the scan command again and see if the crash is still there.

    regarding the wpa_supplicant, it is better you use the new supplicant that you got from the build script at it has a fix for the WPA2 crack issue, instead of the one you got with your RDK file system that is probably not updated.

    Best Regards,
    Eyal
  • I'm curious why you think it is a problem with the DTB, since we had wireless communication working with the original drivers using iw to connect to a common router. It was only when we tried to use wpa_supplicant and P2P that we had problems. Why wouldn't the new driver use similar gpio configuration?

  • Hi,

    The reason is that I am seeing the ELP wakeup timeout in your log. Seems like you are getting them even on every scan try, right?
    And since you did update the drivers as well to a newer release there have been changes related to interrupts configurations.

    Can you try my suggestions above and let us know if they help or not?

    Br,
    Eyal
  • I tried executing "iw wlan0 set power_save off" and it crapped out, as before, without even issuing the scan command. I am working now to rebuild and reprogram with the gpio change you suggested. I'll let you know what happens with that. Thanks for your help.
  • I changed interrupts to IRQ_TYPE_EDGE_FALLING, rebuilt the .dtb file, reprogrammed, loaded the drivers, and tried the scan command again with the same results.

    How would I test if I am getting interrupts from the wlan_irq gpio, as you mentioned earlier?
  • Before I invest any more time into this effort, can you assure me that TI can guarantee that the WiFi Direct functionality has been shown to be successfully implemented to run over a WL1837 WiFi module?  With which build of the kernel and which build of the WL18xx software?  More specifically, has it been successfully run on a DM385 processor, and if so, how precisely was the software built?  Thanks.

  • Yes, WiFi P2P is supported by WiLink8 . You may refer to WiLink8 features Guide for more details : www.ti.com/.../swru423a.pdf
    As specified in release notes: software-dl.ti.com/.../release_notes_R8_7_SP3.html , this release was based on kernel 4.4.8 . You can always backport the kernel modules to an older kernel and we have been up streaming our patches to mainline kernel . We don't do our testing on DM385 , but if you are able to port kernel modules, supplicant etc. to DM385, P2P should work. Also try disabling ELP in configuration file by running following command and check if it helps:
    cd /usr/sbin/wlconf
    ./wlconf -i /lib/firmware/ti-connectivity/wl18xx-conf.bin -o /lib/firmware/ti-connectivity/wl18xx-conf.bin -s core.conn.sta_sleep_auth=0x0

    After running this command unload/re-load the kernel modules.

    Saurabh
  • Thanks for your reply. The IPNC RDK v3.9.1 is based on the 4.4.12 kernel, so if you can please explain how to get and build the most current WL18xx software compatible with that version, I would appreciate it.

    I did notice that some people had success by disabling ELP, so I was planning on trying that next.
  • John ,
    I see you are already using build-utilities script: processors.wiki.ti.com/.../WL18xx_System_Build_Scripts
    This should take care of building backports and other relevant components ex: supplicant etc.

    Saurabh
  • Thanks. BTW, by disabling ELP I did my two boards to connect (after I removed the IPNC RDKs copy of wlconf from the target filesystem, since it appears on the default path first), although the GO reset before it actually successfully connected:

    > P2P-GO-NEG-SUCCESS role=GO freq=5180 ht40=1 peer_dev=7c:ec:79:c7:e2:b5 peer_iface=7e:ec:79:c7:e2:b4 wps_method=PBC
    <3>P2P-GO-NEG-SUCCESS role=GO freq=5180 ht40=1 peer_dev=7c:ec:79:c7:e2:b[ 948.498969] IPv6: ADDRCONF(NETDEV_UP): p2p-wlan0-0: link is not ready
    5 peer_iface=7e:ec:79:c7:e2:b4 wps_method=PBC
    > [ 949.135498] wlcore: ERROR ELP wakeup timeout!
    [ 949.139899] ------------[ cut here ]------------
    [ 949.144738] WARNING: CPU: 0 PID: 89 at /media/jwicks/Extend/ti/ipnc_rdk-3.9.1/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/main.c:807 wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore]()
    [ 949.166262] Modules linked in: wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O) g_mass_storage usb_f_mass_storage libcomposite configfs sbull
    [ 949.180878] CPU: 0 PID: 89 Comm: kworker/0:3 Tainted: G O 4.4.12-svn12221 #1
    [ 949.189109] Hardware name: Generic TI81xx (Flattened Device Tree)
    [ 949.195471] Workqueue: events cfg80211_mlme_unreg_wk [cfg80211]
    [ 949.201454] Backtrace:
    [ 949.203942] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [ 949.211566] r7:bf123e14 r6:00000327 r5:00000009 r4:00000000
    [ 949.217309] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [ 949.224581] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [ 949.232742] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [ 949.241582] r8:bf141e00 r7:0000fd5f r6:00000000 r5:c06eb980 r4:c1809380
    [ 949.248492] [<c00327ac>] (warn_slowpath_null) from [<bf123e14>] (wl12xx_queue_recovery_work.part.10+0x6c/0x70 [wlcore])
    [ 949.259504] [<bf123da8>] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [<bf1262b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
    [ 949.271835] r5:c06eb980 r4:c1809380
    [ 949.275594] [<bf126294>] (wl12xx_queue_recovery_work [wlcore]) from [<bf12fd38>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
    [ 949.286962] [<bf12fc5c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf12133c>] (wl1271_op_configure_filter+0x60/0x170 [wlcore])
    [ 949.298158] r10:c06e9724 r9:bf0a5014 r8:c1809380 r7:c269de74 r6:c1afbbc0 r5:bf1212dc
    [ 949.306075] r4:c1808bc0
    [ 949.309114] [<bf1212dc>] (wl1271_op_configure_filter [wlcore]) from [<bf08d458>] (ieee80211_configure_filter+0x150/0x1b4 [mac80211])
    [ 949.321111] r10:c06e9724 r9:bf0a5014 r8:bf064eac r7:00000000 r6:c1afbbc0 r5:bf1212dc
    [ 949.329035] r4:c1808bc0
    [ 949.332026] [<bf08d308>] (ieee80211_configure_filter [mac80211]) from [<bf0a507c>] (ieee80211_mgmt_frame_register+0x68/0xfc [mac80211])
    [ 949.344276] r7:c1808060 r6:c269c000 r5:00000000 r4:c1808bc0
    [ 949.350389] [<bf0a5014>] (ieee80211_mgmt_frame_register [mac80211]) from [<bf064efc>] (cfg80211_process_mlme_unregistrations+0xa4/0x100 [cfg80211])
    [ 949.363690] r5:c1808000 r4:c1afbd80
    [ 949.367543] [<bf064e58>] (cfg80211_process_mlme_unregistrations [cfg80211]) from [<bf065854>] (cfg80211_mlme_unreg_wk+0x1c/0x24 [cfg80211])
    [ 949.380138] r9:00000000 r8:c06e9724 r7:c4cf4300 r6:00000000 r5:c2671e80 r4:c1808068
    [ 949.388097] [<bf065838>] (cfg80211_mlme_unreg_wk [cfg80211]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [ 949.398074] r5:c2671e80 r4:c1808068
    [ 949.401688] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [ 949.409829] r10:c06e9724 r9:c2671e80 r8:00000008 r7:c269c000 r6:c06e9734 r5:c2671e98
    [ 949.417746] r4:c06e9724
    [ 949.420304] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [ 949.427572] r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c2671e80 r5:c2692f00
    [ 949.435487] r4:00000000
    [ 949.438048] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [ 949.445299] r7:00000000 r6:00000000 r5:c004a2a4 r4:c2692f00
    [ 949.451028] ---[ end trace 8e62838b03afba14 ]---
    [ 949.465637] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.76
    [ 949.472494] ------------[ cut here ]------------
    [ 949.477342] WARNING: CPU: 0 PID: 53 at /media/jwicks/Extend/ti/ipnc_rdk-3.9.1/Source/ti_tools/ipnc_psp_arago/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wlcore/io.h:66 wlcore_set_partition+0xa4/0x4fc [wlcore]()
    [ 949.497450] Modules linked in: wlcore_sdio(O) wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) compat(O) g_mass_storage usb_f_mass_storage libcomposite configfs sbull
    [ 949.512061] CPU: 0 PID: 53 Comm: kworker/u2:1 Tainted: G W O 4.4.12-svn12221 #1
    [ 949.520378] Hardware name: Generic TI81xx (Flattened Device Tree)
    [ 949.526608] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [ 949.532036] Backtrace:
    [ 949.534521] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
    [ 949.542144] r7:bf12bf30 r6:00000042 r5:00000009 r4:00000000
    [ 949.547885] [<c0012784>] (show_stack) from [<c0244f88>] (dump_stack+0x24/0x28)
    [ 949.555158] [<c0244f64>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
    [ 949.563312] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
    [ 949.572150] r8:c18093b8 r7:c2604800 r6:bf141e00 r5:bf1644c4 r4:c1809380
    [ 949.579024] [<c00327ac>] (warn_slowpath_null) from [<bf12bf30>] (wlcore_set_partition+0xa4/0x4fc [wlcore])
    [ 949.588896] [<bf12be8c>] (wlcore_set_partition [wlcore]) from [<bf1232f0>] (wl1271_recovery_work+0x74/0x34c [wlcore])
    [ 949.599569] r6:c1809380 r5:c241a700 r4:c1809614
    [ 949.604311] [<bf12327c>] (wl1271_recovery_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
    [ 949.613938] r8:c4802000 r7:c2604800 r6:00000000 r5:c241a700 r4:c1809614
    [ 949.620730] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
    [ 949.628871] r10:c4802000 r9:c241a700 r8:00000088 r7:c241e000 r6:c4802010 r5:c241a718
    [ 949.636786] r4:c4802000
    [ 949.639344] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
    [ 949.646612] r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c241a700 r5:c2417bc0
    [ 949.654512] r4:00000000
    [ 949.657084] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
    [ 949.664336] r7:00000000 r6:00000000 r5:c004a2a4 r4:c2417bc0
    [ 949.670063] ---[ end trace 8e62838b03afba15 ]---
    [ 949.674716] wlcore: down
    [ 949.677286] wlcore: down
    [ 949.786012] ieee80211 phy0: Hardware restart was requested
    [ 950.223903] wlcore: PHY firmware version: Rev 8.2.0.0.240
    [ 950.388497] wlcore: firmware booted (Rev 8.9.0.0.76)
    p2p-wlan0-0: interface state UNINITIALIZED->HT_SCAN
    Using interface p2p-wlan0-0 with hwaddr 56:4a:16:12:fe:11 and ssid "DIRECT-fj"
    [ 950.831115] IPv6: ADDRCONF(NETDEV_CHANGE): p2p-wlan0-0: link becomes ready
    p2p-wlan0-0: interface state HT_SCAN->ENABLED
    p2p-wlan0-0: AP-ENABLED
    p2p-wlan0-0: CTRL-EVENT-CONNECTED - Connection to 56:4a:16:12:fe:11 completed [id=0 id_str=]
    p2p-wlan0-0: WPS-PBC-ACTIVE
    <3>CTRL-EVENT-SCAN-RESULTS
    > p2p-wlan0-0: CTRL-EVENT-EAP-STARTED 7e:ec:79:c7:e2:b4
    p2p-wlan0-0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
    p2p-wlan0-0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254
    p2p-wlan0-0: WPS-REG-SUCCESS 7e:ec:79:c7:e2:b4 3262b24f-6dd7-5f39-8e15-69be04e86be7
    P2P-GROUP-FORMATION-SUCCESS
    <3>P2P-GROUP-FORMATION-SUCCESS
    <3>P2P-GROUP-STARTED p2p-wlan0-0 GO ssid="DIRECT-fj" freq=5180 passphrase="93hqZpbL" go_dev_addr=54:4a:16:12:fe:12
    > P2P-GROUP-STARTED p2p-wlan0-0 GO ssid="DIRECT-fj" freq=5180 go_dev_addr=54:4a:16:12:fe:12
    p2p-wlan0-0: WPS-PBC-DISABLE
    p2p-wlan0-0: WPS-SUCCESS
    p2p-wlan0-0: CTRL-EVENT-EAP-FAILURE 7e:ec:79:c7:e2:b4
    p2p-wlan0-0: AP-STA-CONNECTED 7e:ec:79:c7:e2:b4 p2p_dev_addr=7c:ec:79:c7:e2:b5
    AP-STA-CONNECTED 7e:ec:79:c7:e2:b4 p2p_dev_addr=7c:ec:79:c7:e2:b5
    <3>AP-STA-CONNECTED 7e:ec:79:c7:e2:b4 p2p_dev_addr=7c:ec:79:c7:e2:b5

    Any idea why that might have happened?

    Unfortunately, the steps required to establish the connection where all manual. I need to be able to automate this on both ends in a shell script, or something. Any guidance on how to approach this?
  • Can you remove the wl18xx-conf.bin and run configure-device.sh to create a new one and re-test
    processors.wiki.ti.com/.../WiLink8_WLAN_Demo:_Linux

    Saurabh
  • That didn't help, but I am going to treat that as a benign error for now.

    More importantly, I need to know how to automate the process of negotiating a connection between two CSK's running custom software.  In particular, after executing the p2p_connect command, I need a bash script which will block until the P2P connection is established, then I can assign an IP address and continue with my custom application.  Can you give me any pointers?

  • While I have been able to establish a connection manually, when I try to automate the process on both ends, I get the following failure on the GO:

    P2P-GO-NEG-SUCCESS role=GO freq=5220 ht40=1 peer_dev=7c:ec:79:c7:e2:b5 peer_iface=7e:ec:79:c7:e2:b4 wps_method=PBC
    p2p-wlan0-0: interface state UNINITIALIZED->HT_SCAN
    Failed to request a scan of neighboring BSSes ret=-11 (Resource temporarily unavailable)
    p2p-wlan0-0: interface state HT_SCAN->DISABLED
    p2p-wlan0-0: AP-DISABLED
    p2p-wlan0-0: Unable to setup interface.
    Failed to initialize AP interface
    p2p-wlan0-0: interface state DISABLED->DISABLED
    p2p-wlan0-0: AP-DISABLED
    hostapd_free_hapd_data: Interface p2p-wlan0-0 wasn't started
    p2p-wlan0-0: CTRL-EVENT-DISCONNECTED bssid=56:4a:16:12:fe:11 reason=3 locally_generated=1
    P2P-GROUP-FORMATION-FAILURE
    P2P-GROUP-REMOVED p2p-wlan0-0 GO reason=FORMATION_FAILED

    Can you seee what is going on?

  • Hi,

    Not sure what you mean by automating the process, but in case you are trying to create automatic connection between two known p2p devices,

    you can try checking the following e2e?:

    https://e2e.ti.com/support/wireless_connectivity/wilink_wifi_bluetooth/f/307/t/404230

     

    See how they configure network in their p2p_supplicant.conf:

     

    network={
    mode=3
    disabled=2
    ssid="DIRECT-AB-example"
    key_mgmt=WPA-PSK
    proto=RSN
    pairwise=CCMP
    psk="12345678"
    }

    BR,

    Eyal

  • In reviewing the error message that I though was benign, I see that trying to disable ELP by modifying wl18xx-conf.bin actually did not seem to have an effect, since we are still getting a reset  on "wlcore: ERROR ELP wakeup timeout!".  I cannot reproduce the steps that got me to a successful connection last week.  In fact, I'm surprised that it ever worked, with the driver resetting in the middle of a connection.  Any ideas?

  • It turns out that the issue I was having was related to the build: I was relying on the verify_kernel_config.sh script to catch all the switches specified in the Integration Guide, but I believe it failed to catch CONFIG_KEYS, CONFIG_CRYPTO_AES, CONFIG_WLAN; once I added those, it worked.  Also, as a word of warning, it all depends on WHEN you see the "wlcore: ERROR ELP wakeup timeout!" error: when I did not disable ELP mode in the config, this occurred when I tried to initiate a find operation, which then failed; after disabling ELP mode, this only occurred on the GO when the other device tried to connect, but the GO recovered and was able to complete the connection.