I'm trying to run the Wifi calibrator tool on an AM3352 board that has a wl127x wifi modue. After building the calibrator binary from the sources at git://github.com/gxk/ti-utils.git I then followed the instructions on http://processors.wiki.ti.com/index.php/WL12xx_NLCP_Calibration_Proccess to try and do the auto-calibrate. It is failing however, looks like it is not recognizing the auto-calibrate command:
root@arm:~# ./calibrator plt autocalibrate wlan0 /lib/modules/3.2.0suned_01/kernel/drivers/net/wireless/wl12xx/wl12xx_sdio.ko TQS_S_2.6.ini /lib/firmware/ti-connectivity/wl1271-nvs.bin 00:00:00:00:00:00
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>
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?