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: Calibrator tool tune channel

Part Number: WL1837MOD
Other Parts Discussed in Thread: WL1271

Tool/software: Linux

Hello,

I am currently trying test the wl1837mod module following http://processors.wiki.ti.com/index.php/WL18xx_TX_Testing. However, I can't seem to pass the tune_channel command. The current version of the calibrator tool is 0.72, if an update might solve this issue, would you kindly give me some directions on how to do so?

# calibrator --version
calibrator version 0.72

# calibrator wlan0 plt power_mode on

wlcore: power up

wlcore: PHY firmware version: Rev 8.2.0.0.236

wlcore: firmware booted in PLT mode PLT_ON (Rev 8.9.0.0.69)

# calibrator wlan0 wl18xx_plt tune_channel 1 0 0

Usage: calibrator [options] command

Options:

       --debug         enable netlink debugging

       --version       show version (0.72)

Commands:

       set fem_manuf <0|1> [<nvs file>]

       set autofem <0-manual|1-auto> [<nvs file>]

       set upd_nvs <ini file> [<nvs file>]

       set ref_nvs2 <ini file> <ini file>

       set ref_nvs <ini file>

       set nvs_mac <nvs file> [<mac addr>]

       phy <phyname> set push_nvs <nvs filename>

       get dump_nvs [<nvs file>]

       get nvs_mac <nvs filename>

       help

       plt calibrate [<single|dual>]

       plt rx_statistics

       dev <devname> plt get_rx_statcs

       dev <devname> plt reset_rx_statcs

       dev <devname> plt stop_rx_statcs

       dev <devname> plt start_rx_statcs

       dev <devname> plt tx_stop

       dev <devname> plt tx_cont <delay> <rate> <size> <amount> <power>

               <seed> <pkt mode> <DC on/off> <gi> <preamble>

               <type> <scramble> <clpc> <seq nbr mode> <dest mac>

       dev <devname> plt tx_tone <tone type 1|2> <power 0 - 10000>

       dev <devname> plt tx_bip <0|1> <0|1> <0|1> <0|1> <0|1> <0|1> <0|1> <0|1> [<nvs file>]

       dev <devname> plt ref_point <voltage> <power> <subband>

       dev <devname> plt tune_channel <band> <channel>

       dev <devname> plt power_mode <on|off>

# calibrator dev wlan0 plt tune_channel 0 1

wlcore: ERROR command execute failure 2

------------[ cut here ]------------

WARNING: CPU: 0 PID: 232 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work.part.8+0x58/0x5c [wlcore]()

Modules linked in: wl18xx wlcore_sdio wlcore mac80211 cfg80211

CPU: 0 PID: 232 Comm: calibrator Not tainted 4.1.15 #2

Hardware name: Freescale i.MX6 Ultralite (Device Tree)

[<80015d14>] (unwind_backtrace) from [<80012648>] (show_stack+0x10/0x14)

[<80012648>] (show_stack) from [<8075a550>] (dump_stack+0x74/0xb4)

[<8075a550>] (dump_stack) from [<80035458>] (warn_slowpath_common+0x80/0xb0)

[<80035458>] (warn_slowpath_common) from [<80035524>] (warn_slowpath_null+0x1c/0x24)

[<80035524>] (warn_slowpath_null) from [<7f0b67d8>] (wl12xx_queue_recovery_work.part.8+0x58/0x5c [wlcore])

[<7f0b67d8>] (wl12xx_queue_recovery_work.part.8 [wlcore]) from [<7f0bbc88>] (wlcore_cmd_send_failsafe+0x80/0x4cc [wlcore])

[<7f0bbc88>] (wlcore_cmd_send_failsafe [wlcore]) from [<7f0bc148>] (wl1271_cmd_test+0x50/0xa0 [wlcore])

[<7f0bc148>] (wl1271_cmd_test [wlcore]) from [<7f0cb338>] (wl1271_tm_cmd+0x1b8/0x590 [wlcore])

[<7f0cb338>] (wl1271_tm_cmd [wlcore]) from [<7f01d7b0>] (nl80211_testmode_do+0x70/0x9c [cfg80211])

[<7f01d7b0>] (nl80211_testmode_do [cfg80211]) from [<806444bc>] (genl_rcv_msg+0x22c/0x3a0)

[<806444bc>] (genl_rcv_msg) from [<806438c0>] (netlink_rcv_skb+0xb4/0xd8)

[<806438c0>] (netlink_rcv_skb) from [<80644280>] (genl_rcv+0x24/0x34)

[<80644280>] (genl_rcv) from [<80643244>] (netlink_unicast+0x158/0x20c)

[<80643244>] (netlink_unicast) from [<806436a0>] (netlink_sendmsg+0x2e0/0x348)

[<806436a0>] (netlink_sendmsg) from [<806054c8>] (sock_sendmsg+0x14/0x24)

[<806054c8>] (sock_sendmsg) from [<80605c88>] (___sys_sendmsg+0x1cc/0x1d4)

[<80605c88>] (___sys_sendmsg) from [<80606928>] (__sys_sendmsg+0x3c/0x68)

[<80606928>] (__sys_sendmsg) from [<8000f380>] (ret_fast_syscall+0x0/0x3c)

---[ end trace 7376c5ac82c64d38 ]---

wlcore: WARNING TEST command failed

wlcore: WARNING testmode cmd test failed: -5

command failed: Input/output error (-5)

Thanks.