summaryrefslogtreecommitdiff
path: root/multitech/recipes
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2013-04-15 13:35:57 -0500
committerMike Fiore <mfiore@multitech.com>2013-04-15 13:35:57 -0500
commit8e71e3dcd2e8ab1d077016e821a2584830a2ab63 (patch)
tree969d33c4a0bbc3e25ea4623d89ad62ce748b8439 /multitech/recipes
parent1c83b8d28bddcad6e0f72b2d27541e0d0a2f2a87 (diff)
ocg-scripts: updated calibrate-wifi script
Diffstat (limited to 'multitech/recipes')
-rw-r--r--multitech/recipes/ocg-scripts/ocg-scripts-1.0/calibrate-wifi.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/multitech/recipes/ocg-scripts/ocg-scripts-1.0/calibrate-wifi.sh b/multitech/recipes/ocg-scripts/ocg-scripts-1.0/calibrate-wifi.sh
index 870da83..21659cd 100644
--- a/multitech/recipes/ocg-scripts/ocg-scripts-1.0/calibrate-wifi.sh
+++ b/multitech/recipes/ocg-scripts/ocg-scripts-1.0/calibrate-wifi.sh
@@ -7,6 +7,8 @@ fi
WIFIMAC=$1
+set -x
+
killall hostapd
killall wpa_supplicant
@@ -18,16 +20,18 @@ sleep 1
mts-io-sysfs store wlan-enabled 1
sleep 1
-rm -f /lib/firmware/ti-connectivity/wl1271-nvs.bin
+mount -o remount,rw /var/oem
+rm -f /var/oem/mts/wl1271-nvs.bin
+ln -f -s /var/oem/mts/wl1271-nvs.bin /lib/firmware/ti-connectivity/wl1271-nvs.bin
modprobe atmel_mci
sleep 1
rmmod wl12xx_sdio
-set -x
-
calibrator plt autocalibrate wlan0 \
/lib/modules/2.6.39.4/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko \
/usr/share/ti/wifi-utils/ini_files/127x/TQS_S_2.6.ini \
/lib/firmware/ti-connectivity/wl1271-nvs.bin \
$WIFIMAC
+
+mount -o remount,ro /var/oem