Preparation
1.Connect the DUT and PC by USB cable
DUT WIFI/BT option is OFF
2.Push “wl” tool, input commands in CMD window as follow
showed:
adb remount
adb push wl /system/bin/ adb shell
chmod 777 system/bin/wl
WIFI Tx/Rx non-signaling test
1.Push WIFI FW(for testing), input commands in CMD window as follow showed:
adb remount
adb push fw_bcmdhd_63732_new.bin /system/etc/firmware/adb shell
chmod 777 /system/etc/firmware/ fw_bcmdhd_63732_new.bincd /system/etc/firmware/
mv fw_bcmdhd.bin_4339_a0 fw_bcmdhd.bin_4339_a0_backupmv fw_bcmdhd_63732_new.bin fw_bcmdhd.bin_4339_a0ifconfig wlan0 up ----(open WIFI)
wl ver ----(check WIFI FW version, if you find that “w10: Ju1 25 2013 02:56:22 version
6.37.32.5 (r414565 WLTEST)”,you can go on to test.)
2. 11b/11g Tx/Rx command
2.1 Transmit Test Sequence for IEEE 802.11b and IEEE 802.11g, as follow:
Start Tx transmission:wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band b ----->b=2.4GHz
wl 2g_rate -r 11/54 -b 20 -----> for 11b: 11 rate; for 11g: 54 rate
wl channel 13 -----> 11b/g channel: 1~13wl scansuppress 1wl phy_txpwrctrl 1wl txpwr1 -1
wl txpwr1 -o -d 15 -----> 15= user defined Tx power for 11b/g, in dBm;wl up
wl phy_forcecal 1
wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0Stop Tx transmission:wl pkteng_stop tx
2.2 Receive Test Sequence for IEEE 802.11b/g
wl downwl mpc 0
wl phy_watchdog 0wl country ALLwl band b ----->b=2.4GHzwl channel 13 -----> 11b/g channel= 1~13wl up
wl phy_forcecal 1wl scansuppress 1
wl pkteng_start 00:11:22:33:44:55 rxwl counters
wl counters --> read the same counter count again, take this as counter#2 > PER% = { [ X - (counter#2 - counter#1) ] / X } * 100 %
3. 11a Tx/Rx command
3.1 Transmit Test Sequence for IEEE 802.11a, as follow:
Start Tx transmission:wl downwl mpc 0
wl phy_watchdog 0wl country ALLwl band a ----->a=5GHz
wl 5g_rate -r 54 -b 20 -----> for 11a: 54 ratewl channel 36 -----> 11a channel= 36~165wl scansuppress 1wl phy_txpwrctrl 1wl txpwr1 -1
wl txpwr1 -o -d 12 -----> 12= user defined Tx power for 11a, in dBm;
wl up
wl phy_forcecal 1
wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0Stop Tx transmission:wl pkteng_stop tx
3.2 Receive Test Sequence for IEEE 802.11a
wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band a ----->a=5GHzwl channel 36 -----> 11a channel: 36~165wl 5g_rate -r 54 -b 20 -----> for 11a: 54 ratewl up
wl phy_forcecal 1wl scansuppress 1
wl pkteng_start 00:11:22:33:44:55 rxwl counters
wl counters --> read the same counter count again, take this as counter#2 > PER% = { [ X - (counter#2 - counter#1) ] / X } * 100 %
4. 11n HT20 Tx/Rx command
4.1 Transmit Test Sequence for IEEE 802.11n (HT20 MCS Rates for
2.4GH), as follow:
Start Tx transmission:wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band b ----->b=2.4GHzwl 2g_rate -h 7 -b 20 ----->7:for 11n MCS7 rate; MCS0~MCS7=0~7wl chanspec 13/20 ----->13=11n channel 13; 20=20MHz bandwidthwl scansuppress 1wl phy_txpwrctrl 1wl txpwr1 -1
wl txpwr1 -o -d 12 -----> 12= user defined Tx power for 11n, in dBm;wl up
wl phy_forcecal 1
wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0
Stop Tx transmission:wl pkteng_stop tx
4.2 Receive Test Sequence for IEEE 802.11 n (HT20 MCS Rates for 2.4GH)
wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band b ----->b=2.4GHzwl chanspec 13/20 ----->13=11n channel 13; 20=20MHz bandwidthwl up
wl phy_forcecal 1wl scansuppress 1
wl pkteng_start 00:11:22:33:44:55 rxwl counters
wl counters --> read the same counter count again, take this as counter#2 > PER% = { [ X - (counter#2 - counter#1) ] / X } * 100 %
4.3 Transmit Test Sequence for IEEE 802.11n (HT20 MCS Rates for 5GH),
as follow:
Start Tx transmission:wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band a ----->a=5GHzwl 5g_rate -h 7 -b 20 ----->7:for 11n MCS7 rate; MCS0~MCS7=0~7wl chanspec 165/20 ----->165=11n channel 165 (ch36~165); 20=20MHz bandwidth
wl scansuppress 1wl phy_txpwrctrl 1wl txpwr1 -1
wl txpwr1 -o -d 12 -----> 12= user defined Tx power for 11n, in dBm;wl up
wl phy_forcecal 1
wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0Stop Tx transmission:wl pkteng_stop tx
4.4 Receive Test Sequence for IEEE 802.11 n (HT20 MCS Rates for 5GH)
wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band a ----->a=5GHzwl chanspec 165/20 ----->165=11n channel 165 (ch36~165); 20=20MHz bandwidthwl up
wl phy_forcecal 1wl scansuppress 1
wl pkteng_start 00:11:22:33:44:55 rxwl counters
wl counters --> read the same counter count again, take this as counter#2 > PER% = { [ X - (counter#2 - counter#1) ] / X } * 100 %
5. 11n HT40 Tx/Rx command
5.1 Transmit Test Sequence for IEEE 802.11n (HT40 MCS Rates for 2.4GH), as follow:
Start Tx transmission:wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band b ----->b=2.4GHzwl 2g_rate -h 7 -b 40 ---->7:for 11n MCS7 rate; MCS0~MCS7=0~7wl mimo_bw_cap 1
wl chanspec -c 11 -b 2 -w 40 -s -1 ----->11=11n channel 11 (ch3~11);wl scansuppress 1wl up
wl phy_txpwrctrl 1wl txpwr1 -1
wl txpwr1 -o -d 12 -----> 12= user defined Tx power for 11n, in dBm;wl up
wl phy_forcecal 1
wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0Stop Tx transmission:wl pkteng_stop tx
5.2 Receive Test Sequence for IEEE 802.11 n (HT40 MCS Rates for 2.4GH)
wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band b ----->b=2.4GHzwl 2g_rate -h 7 -b 40 ---->7:for 11n MCS7 rate; MCS0~MCS7=0~7wl mimo_bw_cap 1
wl chanspec -c 11 -b 2 -w 40 -s -1 ----->11=11n channel 11 (ch3~11);wl up
wl phy_forcecal 1wl scansuppress 1
wl pkteng_start 00:11:22:33:44:55 rxwl counters
wl counters --> read the same counter count again, take this as counter#2 > PER% = { [ X - (counter#2 - counter#1) ] / X } * 100 %
5.3 Transmit Test Sequence for IEEE 802.11n (HT40 MCS Rates for 5GH), as follow:
Start Tx transmission:wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band a ----->a=5GHzwl 5g_rate -h 7 -b 40 ---->7:for 11n MCS7 rate; MCS0~MCS7=0~7wl chanspec -c 159 -b 5 -w 40 -s -1 ----->159=11n channel 11 (ch38~159);wl mimo_txbw 4wl scansuppress 1wl phy_txpwrctrl 1wl txpwr1 -1
wl txpwr1 -o -d 12 -----> 12= user defined Tx power for 11n, in dBm;wl up
wl phy_forcecal 1
wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0
Stop Tx transmission:wl pkteng_stop tx
5.4 Receive Test Sequence for IEEE 802.11 n (HT40 MCS Rates for 5GH)
wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band a ----->a=5GHzwl 5g_rate -h 7 -b 40 ---->7:for 11n MCS7 rate; MCS0~MCS7=0~7wl chanspec -c 159 -b 5 -w 40 -s -1 ----->159=11n channel 11 (ch38~159);wl mimo_txbw 4
wl up
wl phy_forcecal 1wl scansuppress 1
wl pkteng_start 00:11:22:33:44:55 rxwl counters
wl counters --> read the same counter count again, take this as counter#2 > PER% = { [ X - (counter#2 - counter#1) ] / X } * 100 %
6. 11ac Tx/Rx command
6.1 Transmit Test Sequence for IEEE 802.11ac (HT20 MCS Rates for
5GHz)
Start Tx transmission:wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band a ----->a=5GHzwl 5g_rate -v 8 -s 1 -b 20 ---->8:for 11ac MCS8 rate; MCS0~MCS8=0~8wl chanspec 165/20 ----->165=11n channel 165 (ch36~165); 20=20MHz bandwidth
wl scansuppress 1wl phy_txpwrctrl 1wl txpwr1 -1
wl txpwr1 -o -d 12 -----> 12= user defined Tx power for 11n, in dBm;wl up
wl phy_forcecal 1
wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0Stop Tx transmission:wl pkteng_stop tx
6.2 Receive Test Sequence for IEEE 802.11 ac (HT40 MCS Rates for 5GH)
wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band a
wl 5g_rate -v 8 -s 1 -b 20 wl chanspec 165/20 bandwidthwl up
wl phy_forcecal 1
----->a=5GHz
---->8:for 11ac MCS8 rate; MCS0~MCS8=0~8
----->165=11n channel 165 (ch36~165); 20=20MHz
wl scansuppress 1
wl pkteng_start 00:11:22:33:44:55 rxwl counters
wl counters --> read the same counter count again, take this as counter#2 > PER% = { [ X - (counter#2 - counter#1) ] / X } * 100 %
6.3 Transmit Test Sequence for IEEE 802.11ac (HT40 MCS Rates for 5GHz)
Start Tx transmission:wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band a ----->a=5GHzwl 5g_rate -v 9 -s 1 -b 40 ---->9:for 11ac MCS9 rate; MCS0~MCS9=0~9wl chanspec -c 159 -b 5 -w 40 -s -1 ----->159=11ac channel 159 (ch38~159);wl scansuppress 1wl phy_txpwrctrl 1wl txpwr1 -1
wl txpwr1 -o -d 12 -----> 12= user defined Tx power for 11n, in dBm;wl up
wl phy_forcecal 1
wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0Stop Tx transmission:wl pkteng_stop tx
6.4 Receive Test Sequence for IEEE 802.11 ac (HT40 MCS Rates for 5GH)
wl down
wl mpc 0
wl phy_watchdog 0wl country ALL
wl band a ----->a=5GHzwl 5g_rate -v 9 -s 1 -b 40 ---->9:for 11ac MCS9 rate; MCS0~MCS9=0~9wl chanspec -c 159 -b 5 -w 40 -s -1 ----->159=11ac channel 159 (ch38~159);wl up
wl phy_forcecal 1wl scansuppress 1
wl pkteng_start 00:11:22:33:44:55 rxwl counters
wl counters --> read the same counter count again, take this as counter#2 > PER% = { [ X - (counter#2 - counter#1) ] / X } * 100 %
6.5 Transmit Test Sequence for IEEE 802.11ac (HT80 MCS Rates for 5GHz)
Start Tx transmission:wl downwl mpc 0
wl phy_watchdog 0wl country ALL
wl band a ----->a=5GHzwl 5g_rate -v 9 -s 1 -b 80 ---->9:for 11ac MCS9 rate; MCS0~MCS9=0~9wl mimo_bw_cap 1
wl chanspec -c 155 -b 5 -w 80 -s 0 ----->155=11ac channel 155 (ch42~155);wl scansuppress 1wl phy_txpwrctrl 1wl txpwr1 -1
wl txpwr1 -o -d 12 -----> 12= user defined Tx power for 11n, in dBm;wl up
wl phy_forcecal 1
wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0Stop Tx transmission:wl pkteng_stop tx
6.6 Receive Test Sequence for IEEE 802.11 ac (HT80 MCS Rates for 5GH)
wl down
wl mpc 0
wl phy_watchdog 0wl country ALL
wl band a ----->a=5GHzwl 5g_rate -v 9 -s 1 -b 80 ---->9:for 11ac MCS9 rate; MCS0~MCS9=0~9wl mimo_bw_cap 1
wl chanspec -c 155 -b 5 -w 80 -s 0 ----->159=11ac channel 155 (ch42~155);wl up
wl phy_forcecal 1wl scansuppress 1
wl pkteng_start 00:11:22:33:44:55 rxwl counters
wl counters --> read the same counter count again, take this as counter#2 > PER% = { [ X - (counter#2 - counter#1) ] / X } * 100 %
BT Tx/Rx signaling test
1.Push BT FW(for testing), input commands in CMD window as
follow showed:
adb shell bdtenable
dut_mode_configure 1
1.Push “brcmbt” tool
adb remount
adb push brcmbt /system/bin/ adb shell
chmod 777 /system/bin/brcmbt.dat
adb remount;
adb push BCM4339...TEST_ONLY.hcd
/system/etc/firmware/bt/BCM4335C0_003.001.009.0043.0227.hcd; adb reboot;
2. BT Tx/Rx non-signaling test command
2. Input commands in CMD window as follow:
BT Tx/Rx non-signaling test
adb shellbrcmbt
hcicmd 1e 20 03 xx 25 00 ---------> xx= channel; start transmit testhcicmd 1f 20 00 ---------> stop transmit test
因篇幅问题不能全部显示,请点此查看更多更全内容