I'm trying to run the Wifi calibrator tool on an AM3352 board that has a wl127x wifi modue. We are using the 5.06 PSP and Debian rfs. After building the calibrator binary from the sources at git://github.com/gxk/ti-utils.git I then ran the command below but am getting a message "Fail to set PLT power mode on".
root@arm:~# ./calibrator --debug plt calibrate
-- Debug: Received Message:
-------------------------- BEGIN NETLINK MESSAGE ---------------------------
[HEADER] 16 octets
.nlmsg_len = 68
.nlmsg_type = 2 <ERROR>
.nlmsg_flags = 0 <>
.nlmsg_seq = 946689872
.nlmsg_pid = 2385
[ERRORMSG] 20 octets
.error = -95 "Operation not supported"
[ORIGINAL MESSAGE] 16 octets
.nlmsg_len = 16
.nlmsg_type = 17 <0x11>
.nlmsg_flags = 5 <REQUEST,ACK>
.nlmsg_seq = 946689872
.nlmsg_pid = 2385
--------------------------- END NETLINK MESSAGE ---------------------------
Fail to set PLT power mode on
Usage: ./calibrator [options] plt calibrate [<single|dual>]
Do calibrate for single or dual band chip
Options:
--debug enable netlink debugging
I checked that the files referenced are all present.
Additionally, if I try and set the MAC address to all zeros, the address sticks fine but then my ifconfig can't bring up the interface, it complains
root@arm:~# ifconfig wlan0 up
SIOCSIFFLAGS: Cannot assign requested address
If I set tne MAC address to non zero I can bring up wlan0. I really want to get the setting to all zeros working however so I can leverage the inbuilt Bluetooth MAC address.
How can I fix these problems?