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.

Wl1271 Calibration

Other Parts Discussed in Thread: WL1271

Hi,

Wi-Fi working on my hardware and we are using TiWi-BLE chip.

When we load the Wl12xx module we get following message.

Compat-wireless backport release: ol_R5.SP7.01
Backport based on wl12xx.git ol_R5.SP7.01
wl12xx: driver version: ol_R5.SP7.01
wl12xx: compilation time: Fri May 16 14:39:04 2014

wl12xx: loaded
wl12xx: state: 0
wl12xx: firmware booted (Rev 6.3.5.0.98)
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wl12xx: Association completed.

calibrator plt autocalibrate wlan0  /system/lib/modules/wl12xx_sdio.ko /system/etc/firmware/ti-connectivity/TQS_S_2.6.ini /system/etc/firmware/ti-connectivity/wl1271-nvs.bin 00:19:b8:01:02:03

Following error I am getting while doing calibration.

 wl12xx_get_platform_data
add wake up source irq 98
wl12xx: loaded
wl12xx: power up
wl12xx: firmware booted in PLT mode (Rev 6.3.10.0.136)
wl12xx: ERROR command execute failure 2
------------[ cut here ]------------
WARNING: at /home/ubuntu/MAC80211/compat-wireless/drivers/net/wireless/wl12xx/main.c:1437 wl12xx_queue_recovery_work+0x34/0x98 [wl12xx]()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211 compat [last unloaded: wl12xx_sdio]
[<c00549e4>] (unwind_backtrace+0x0/0x138) from [<c008fc50>] (warn_slowpath_common+0x4c/0x64)
[<c008fc50>] (warn_slowpath_common+0x4c/0x64) from [<c008fc84>] (warn_slowpath_null+0x1c/0x24)
[<c008fc84>] (warn_slowpath_null+0x1c/0x24) from [<bf0c8a30>] (wl12xx_queue_recovery_work+0x34/0x98 [wl12xx])
[<bf0c8a30>] (wl12xx_queue_recovery_work+0x34/0x98 [wl12xx]) from [<bf0cdd4c>] (wl1271_cmd_send+0x8c/0x528 [wl12xx])
[<bf0cdd4c>] (wl1271_cmd_send+0x8c/0x528 [wl12xx]) from [<bf0cffdc>] (wl1271_cmd_test+0x4c/0x98 [wl12xx])
[<bf0cffdc>] (wl1271_cmd_test+0x4c/0x98 [wl12xx]) from [<bf0e3d6c>] (wl1271_tm_cmd+0x2f0/0x554 [wl12xx])
[<bf0e3d6c>] (wl1271_tm_cmd+0x2f0/0x554 [wl12xx]) from [<bf055cf0>] (ieee80211_testmode_cmd+0x28/0x3c [mac80211])
[<bf055cf0>] (ieee80211_testmode_cmd+0x28/0x3c [mac80211]) from [<bf00d320>] (nl80211_testmode_do+0x54/0x60 [cfg80211])
[<bf00d320>] (nl80211_testmode_do+0x54/0x60 [cfg80211]) from [<c055e1b8>] (genl_rcv_msg+0x1bc/0x1f0)
[<c055e1b8>] (genl_rcv_msg+0x1bc/0x1f0) from [<c055d6e0>] (netlink_rcv_skb+0xbc/0xd8)
[<c055d6e0>] (netlink_rcv_skb+0xbc/0xd8) from [<c055dff4>] (genl_rcv+0x1c/0x24)
[<c055dff4>] (genl_rcv+0x1c/0x24) from [<c055d060>] (netlink_unicast+0x2a0/0x2fc)
[<c055d060>] (netlink_unicast+0x2a0/0x2fc) from [<c055d3e4>] (netlink_sendmsg+0x288/0x300)
[<c055d3e4>] (netlink_sendmsg+0x288/0x300) from [<c0523ffc>] (sock_sendmsg+0x9c/0xbc)
[<c0523ffc>] (sock_sendmsg+0x9c/0xbc) from [<c05255a0>] (__sys_sendmsg+0x2bc/0x2d4)
[<c05255a0>] (__sys_sendmsg+0x2bc/0x2d4) from [<c052605c>] (sys_sendmsg+0x3c/0x68)
[<c052605c>] (sys_sendmsg+0x3c/0x68) from [<c004d900>] (ret_fast_syscall+0x0/0x30)
---[ end trace cc7b961944f3a5b3 ]---
wl12xx: WARNING TEST command failed
wl12xx: WARNING testmode cmd test failed: -5
Fail to tune channelwl12xx: power down

remove wake up source irq 98
Calibration not complete. Removing half-baked nvs

How to fixed this calibration issue?

  • Hi Saurabh,

    This suggests either:

    1. fw/nvs file is not in sync with the driver release (ol_R5.SP7.01) or
    2. the calibrator (ti-utils) is not updated to ol_R5.SP7.01

    Please confirm the above points.

    Regards,
    Gigi Joseph.

  • Hi, Gigi


    Can you send me the link for the Firmware and NVS file?

    I have used firmware and NVS file from following link

    https://github.com/TI-OpenLink/firmwares/tree/master/ti-connectivity

    For the calibration (ti-utis) i have used the scripts to and my version detail is as bellow.

    commit 340eb23f178455092165c4f5ad220b10270cad53
    Author: Barak Schlosser <a0221150@ti.com>
    Date:   Thu Jan 16 08:14:15 2014 -0800

        modified MR FW version

    Thanks

    Saurabh

  • Hi Saurabh,

    The website is correct - you need to ensure the correct git release tag ("ol_R5.SP7.01") for all the gits.

    Regards,
    Gigi Joseph.