atheros-sdk 的介绍
http://wenku.baidu.com/view/0415c116b7360b4c2e3f64ec.html
Atheros test tool 'athtestcmd'
http://frankuo.blogspot.tw/2013/04/wireless-module-development-newbie.html
這三個檔案要有
system/bin/athtestcmd
system/wifi/ath6k/AR6003/hw2.1.1/athtcmd_ram.bin
system/wifi/ath6k/AR6003/hw2.1.1/bdata.SD31.bin <= Must using S203L's RF BIN file which provied by AcSiP
測試傳送
--- Tx ------------------------txfreq <Tx channel>, txrate <rate index>, txpwr <1-30dBm> ---------------------
TX START: ./athtestcmd -i wlan0 --tx tx99 --txfreq 1 --txrate 3 --txpwr 16 --txantenna auto <= CH1, 11b/11Mbps, Tx power 16dBm
TX STOP: ./athtestcmd -i wlan0 --tx off
----Tx Continue Transmit Un-modulation( If have apply for Japan or Korea or China)----------
./athtestcmd -i wlan0 --tx sine --txfreq 1 --txantenna 1
--- Tx for FCC/CE 100% Duty-cycle --------------------------------------
./athtestcmd -i wlan0 --tx tx100 --txfreq 1 --txrate 11 --txpwr 10 --txantenna auto
測試接收
# ./athtestcmd -i wlan0 --rx promis --rxfreq 1 --rxantenna auto
Its cont Rx promis mode
# ./athtestcmd -i wlan0 --rx report
Its cont Rx report mode
total pkt 12800 ; crcError pkt 975 ; secErr pkt 491 ; average rssi -80
1Mbps 11890
2Mbps 10
5.5Mbps 2
11Mbps 0
6Mbps 223
9Mbps 0
12Mbps 5
18Mbps 0
24Mbps 666
36Mbps 0
48Mbps 0
54Mbps 0
HT20 MCS0 6.5Mbps 0 (SGI: 0)
HT20 MCS1 13Mbps 0 (SGI: 0)
HT20 MCS2 19.5Mbps 0 (SGI: 0)
HT20 MCS3 26Mbps 0 (SGI: 0)
HT20 MCS4 39Mbps 0 (SGI: 0)
HT20 MCS5 52Mbps 0 (SGI: 0)
HT20 MCS6 58.5Mbps 4 (SGI: 0)
HT20 MCS7 65Mbps 0 (SGI: 0)
HT40 MCS0 13.5Mbps 0 (SGI: 0)
HT40 MCS1 27.0Mbps 0 (SGI: 0)
HT40 MCS2 40.5Mbps 0 (SGI: 0)
HT40 MCS3 54Mbps 0 (SGI: 0)
HT40 MCS4 81Mbps 0 (SGI: 0)
HT40 MCS5 108Mbps 0 (SGI: 0)
HT40 MCS6 121.5Mbps 0 (SGI: 0)
HT40 MCS7 135Mbps 0 (SGI: 0)
留言列表