http://wireless.kernel.org/en/users/Download/stable/
https://community.freescale.com/thread/310277
0. Kernel configuration
CONFIG_WIRELESS_EXT=y
CONFIG_NET_SCHED=y
CONFIG_CFG80211=m
CONFIG_CFG80211_WEXT=y
CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_LIB80211=y
CONFIG_MAC80211=m
CONFIG_ATH_COMMON=m
CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K=m
CONFIG_ATH9K_PCI=y
CONFIG_ATH9K_RATE_CONTROL=y
1. select drivers (compat-wireless-3.6.8-1)
./scripts/driver-select ath9k
2. comile driver
make ARCH=arm CROSS_COMPILE=arm-linux- KLIB=/opt/mx6/linux-3.0.35 KLIB_BUILD=/opt/mx6/linux-3.0.35
3. install modules
sudo ./install.sh
4. connection test
1) WEP128, ASCII key
ifconfig wlan0 up
iwconfig wlan0 essid "SoftAP-E1" key s:0123456789012
2) WAP/WPA2
You need to edit the /etc/wpa_supplicant.conf file as described in WPA_Supplicant and according to what you got from #Access point discovery. Then, issue this command:
wpa_supplicant -i wlan0 -B -c /etc/wpa_supplicant.conf
or
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf &
</etc/wpa_supplicant.conf>
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="SoftAP-E0"
psk="1234567890"
key_mgmt=WPA-PSK
proto=WPA2
pairwise=CCMP
group=CCMP
}
3) ping test
route add default gw 192.168.0.1
ping ftp.kernel.org
4) speed test
<client>
iperf -c 10.11.12.232
<server>
iperf -s
<install.sh>
#!/bin/sh
MODPATH=/opt/mx6/rootfs/lib/modules/3.0.35-2310-gc27cb38/kernel
MODROOT=/opt/mx6/rootfs/lib/modules
cp -vrf ../net/rfkill/rfkill-regulator.ko $MODPATH/net/rfkill/rfkill-regulator.ko
cp -vrf ./net/mac80211/mac80211.ko $MODPATH/net/mac80211/
cp -vrf ./net/wireless/cfg80211.ko $MODPATH/net/wireless/
cp -vrf ./drivers/net/wireless/ath/ath.ko $MODPATH/drivers/net/wireless/ath/
cp -vrf ./drivers/net/wireless/ath/ath9k/ath9k.ko $MODPATH/drivers/net/wireless/ath/ath9k/
cp -vrf ./drivers/net/wireless/ath/ath9k/ath9k_htc.ko $MODPATH/drivers/net/wireless/ath/ath9k/
cp -vrf ./drivers/net/wireless/ath/ath9k/ath9k_hw.ko $MODPATH/drivers/net/wireless/ath/ath9k/
cp -vrf ./drivers/net/wireless/ath/ath9k/ath9k_common.ko $MODPATH/drivers/net/wireless/ath/ath9k/
mkdir -p $MODROOT/compat
cp -vrf ./compat/sch_fq_codel.ko $MODROOT/compat/
cp -vrf ./compat/sch_codel.ko $MODROOT/compat/
cp -vrf ./compat/compat.ko $MODROOT/compat/