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.

wlcore: ERROR ELP wakeup timeout

Other Parts Discussed in Thread: WL1271, WL1837

Hi ,

I am getting the "wlcore: ERROR ELP wakeup timeout" ,when i try to scan wifi after executing the calibrator commands .

Before executing the calibrator command ,I can successfully scan and connect to Access point .

Below is my test steps: (Execute calibrator PLT mode on , then make interface up in normal mode, it shows error , then make PLT mode off and try to up and scan wifi interface in normal mode)


1 : # ifconfig wlan0 up

Powering wl18xx: on
wlcore: wl18xx HW: 183x or 180x, PG 2.1 (ROM 0xe)
Powering wl18xx: off
wlcore: loaded
Powering wl18xx: on
wlcore: PHY firmware version: Rev 8.2.0.0.179
wlcore: firmware booted (Rev 8.6.0.0.20)
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready


2 : # ifconfig wlan0 down


3 :# calibrator wlan0 plt power_mode on

wlcore: power up
Powering wl18xx: on
wlcore: PHY firmware version: Rev 8.2.0.0.179
wlcore: firmware booted in PLT mode PLT_ON (Rev 8.6.0.0.20)


4 :# ifconfig wlan0 up

wlcore: ERROR Adding Interface not allowed while in PLT mode
SIOCSIFFLAGS: Device or resource busy



5: #calibrator wlan0 plt power_mode off


Powering wl18xx: off
wlcore: power down


6 :#ifconfig wlan0 up

Powering wl18xx: on
wlcore: PHY firmware version: Rev 8.2.0.0.179
wlcore: firmware booted (Rev 8.6.0.0.20)
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not read

7 :#iw wlan0 scan

wlcore: ERROR ELP wakeup timeout!
command failed: Resource temporarily unavailable (-11)

wlcore: ERROR ELP wakeup timeout!
WARNING: at drivers/net/wireless/ti/wlcore/main.c:803 wl12xx_queue_recovery_work+0x64/0x68 [wlcore]()
Modules linked in: btwilink wl18xx wlcore mac80211 cfg80211 wlcore_sdio ci_hdrc_imx usbmisc_imx ci_hdrc
[<80025578>] (warn_slowpath_null+0x1c/0x24) from [<7f0b4af0>] (wl12xx_queue_recovery_work+0x64/0x68 [wlcore])
[<7f0b4af0>] (wl12xx_queue_recovery_work+0x64/0x68 [wlcore]) from [<7f0be8b0>] (wl1271_ps_elp_wakeup+0x21c/0x224 [wlcore])
[<7f0be8b0>] (wl1271_ps_elp_wakeup+0x21c/0x224 [wlcore]) from [<7f0b15ec>] (wl1271_op_config+0x54/0x160 [wlcore])
[<7f0b15ec>] (wl1271_op_config+0x54/0x160 [wlcore]) from [<7f065270>] (ieee80211_hw_config+0x5c/0x268 [mac80211])
wlcore: Hardware recovery in progress. FW ver: Rev 8.6.0.0.20
WARNING: at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa0/0x4b4 [wlcore]()
Modules linked in: btwilink wl18xx wlcore mac80211 cfg80211 wlcore_sdio ci_hdrc_imx usbmisc_imx ci_hdrc
Workqueue: phy0 wl1271_recovery_work [wlcore]
[<80025578>] (warn_slowpath_null+0x1c/0x24) from [<7f0ba9fc>] (wlcore_set_partition+0xa0/0x4b4 [wlcore])
[<7f0ba9fc>] (wlcore_set_partition+0xa0/0x4b4 [wlcore]) from [<7f0b28f8>] (wl1271_recovery_work+0x6c/0x54c [wlcore])
[<7f0b28f8>] (wl1271_recovery_work+0x6c/0x54c [wlcore]) from [<8003d3b4>] (process_one_work+0x10c/0x370)
wlcore: down
Powering wl18xx: off
Powering wl18xx: on
wlcore: PHY firmware version: Rev 8.2.0.0.179
wlcore: firmware booted (Rev 8.6.0.0.20)

After that am continuously getting this ELP timeout error and all the wifi commands failed.

I am using WL1837 module and our kernel version is 3.10.9. I am using this module in our custom board with freescale Cortex-A9 processor.

Please help me regarding this issue. I am not able to find the root cause.

Regards,

Jisha

  • Hi Jisha,

    Please try the steps without step#4 (" ifconfig wlan0 up") and update the result... Why do you need that command?
    To get the details of the wl18xx calibration process, please visit: http://processors.wiki.ti.com/index.php/WL18xx_Calibration_Process

    Regards,
    Gigi Joseph.