I am running Linux 3.3 on a Pytech OMAP4460 module using TiWi-R" wireless chip, and I am trying to get tools for calibration.
Your "OMAP Wireless Connectivity NLCP WiFi Direct Configuration Scripts" points to "git://github.com/gxk/ti-utils.git" but the go.sh script is not compatible with the linux 3.3 wl12xx drivers, eg. it assumes "wl12xx_sdio.ko" and not "wlcore_sdio.ko" etc.
Running ./calibrator wlan0 plt power_mode on gives: "command failed: Operation not supported (-95)"
Do you have update configuration tools and scripts compatible with the driver structure found in Linux 3.3?
/Henrik
Dear Henrik,
Please follow the instructions at http://www.omappedia.org/wiki/Panda_MAC80211_Connectivity#WL12XX_driver: to generate the compat-wireless drivers.
To build the generated package:
export KERNEL_DIR=<Absolute Path to 3.3 kernel you are using>
make KLIB=$KERNEL_DIR KLIB_BUILD=$KERNEL_DIR
Copy the following modules to the filesystem to the proper location (i.e. for Linux to /lib/modules/`uname -r`/kernel/.., for Android to /system/lib/modules/ )
./compat/compat.ko
./net/wireless/cfg80211.ko
./net/mac80211/mac80211.ko
./drivers/net/wireless/wl12xx/wl12xx.ko
./drivers/net/wireless/wl12xx/wl12xx_sdio.ko
Now you can use the calibrator:
calibrator plt autocalibrate wlan0 $WL12xx_MODULE $TARGET_INI_FILE $TARGET_NVS_FILE [<MAC ADDR>]
# calibrator plt autocalibrate <dev> <module path> <ini file> <nvs file> [<mac addr>] # dev: Device name. i.e. wlan0 # module path: Full path to wl12xx_sdio.ko kernel module # ini file: Full path to Radio param ini file i.e. TQS_S_2.6.ini for WL1271 ,TQS_D_1.7.ini for WL1283 # nvs file: Full path of nvs file. i.e. wl1271-nvs.bin. Must be the real path as wl12xx_sdio will load it # mac addr: MAC address to program into the NVS file [optional] Regards,Pandu.