-
WIFI_BT Tx/Rx Test
Preparation
t the DUT and PC by USB cable
DUT WIFI/BT option is OFF
“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
WIFI FW(for testing), input commands
in CMD window as
follow showed:
adb remount
adb push
fw_bcmdhd_63732_
/system/etc/firmware/
adb shell
chmod 777 /system/etc/firmware/
fw_bcmdhd_63732_
cd /system/etc/firmware/
mv fw__4339_a0
fw__4339_a0_backup
mv fw_bcmdhd_63732_ fw__4339_a0
ifconfig 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
down
wl mpc 0
wl
phy_watchdog 0
wl 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~13
wl
scansuppress 1
wl phy_txpwrctrl 1
wl 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 0
Stop Tx transmission:
wl pkteng_stop tx
2.2 Receive Test Sequence for IEEE
802.11b/g
wl down
wl mpc 0
wl phy_watchdog 0
wl country
ALL
wl band
b
----->
b
=2.4GHz
wl channel
13
-----> 11b/g
channel=
1~13
wl
up
wl phy_forcecal 1
wl
scansuppress 1
wl pkteng_start
00:11:22:33:44:55 rx
wl 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 down
wl mpc
0
wl phy_watchdog 0
wl
country ALL
wl band
a
----->
a
=5GHz
wl 5g_rate -r
54
-b 20
-----> for 11a:
54
rate
wl
channel
36
-----> 11a channel=
36~165
wl
scansuppress 1
wl phy_txpwrctrl 1
wl 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 0
Stop Tx transmission:
wl
pkteng_stop tx
3.2 Receive
Test Sequence for IEEE 802.11a
wl down
wl mpc 0
wl phy_watchdog 0
wl country ALL
wl band
a
----->
a
=5GHz
wl channel
36
-----> 11a channel:
36~165
wl 5g_rate
-r
54
-b 20
-----> for 11a:
54
rate
wl up
wl phy_forcecal 1
wl
scansuppress 1
wl pkteng_start
00:11:22:33:44:55 rx
wl 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
down
wl mpc 0
wl
phy_watchdog 0
wl country ALL
wl band
b
----->
b
=2.4GHz
wl 2g_rate -h
7
-b 20
----->
7
:for 11n
MCS7
rate;
MCS0~MCS7=0~7
wl
chanspec
13/20
----->
13
=11n
channel
13
;
20
=
20MHz
bandwidth
wl scansuppress 1
wl
phy_txpwrctrl 1
wl 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 down
wl
mpc 0
wl phy_watchdog 0
wl
country ALL
wl band
b
----->
b
=2.4GHz
wl chanspec
13/20
----->
13
=11n
channel
13
;
20
=
20MHz
bandwidth
wl up
wl phy_forcecal 1
wl scansuppress 1
wl
pkteng_start 00:11:22:33:44:55 rx
wl
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
down
wl mpc 0
wl
phy_watchdog 0
wl country ALL
wl band
a
----->
a
=5GHz
wl 5g_rate -h
7
-b 20
----->
7
:for 11n
MCS7
rate;
MCS0~MCS7=0~7
wl
chanspec
165/20
----->
165
=11n
channel
165
(ch36~165)
;
20
=
20MHz
bandwidth
wl scansuppress 1
wl phy_txpwrctrl 1
wl 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.4 Receive Test Sequence for IEEE
802.11 n (
HT20 MCS Rates for
5GH
)
wl down
wl
mpc 0
wl phy_watchdog 0
wl
country ALL
wl band
a
----->
a
=5GHz
wl chanspec
165/20
----->
165
=11n
channel
165 (ch36~165)
;
20
=
20MHz
bandwidth
wl up
wl
phy_forcecal 1
wl scansuppress 1
wl pkteng_start 00:11:22:33:44:55 rx
wl 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
down
wl mpc 0
wl
phy_watchdog 0
wl country ALL
wl band
b
----->
b
=2.4GHz
wl 2g_rate -h
7
-b 40
---->
7
:for 11n
MCS7
rate;
MCS0~MCS7=0~7
wl
mimo_bw_cap 1
wl chanspec -c
11
-b 2 -w 40 -s
-1
----->
11
=11n
channel
11 (ch3~11)
;
wl scansuppress 1
wl up
wl phy_txpwrctrl 1
wl 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.2 Receive Test Sequence for IEEE
802.11 n (
HT40 MCS Rates for
2.4GH
)
wl down
wl
mpc 0
wl phy_watchdog 0
wl
country ALL
wl band
b
----->
b
=2.4GHz
wl 2g_rate -h
7
-b 40
---->
7
:for 11n
MCS7
rate;
MCS0~MCS7=0~7