1 ===================================================================================================
\r
2 ATE Test Command Format for station driver
\r
4 ****** IMPORTANT ******
\r
5 If you are not familiar with hardware, it is recommanded not to modify hardware default value.
\r
6 It may damage hardware.
\r
10 iwpriv ra0 [act] [parameters]=[val]
\r
15 [act] [parameters] [val] constraints explaination
\r
16 --------- ------------- ----------------- --------------------------------
\r
17 set ATEDA xx:xx:xx:xx:xx:xx set ATE frame header addr1
\r
19 ATESA xx:xx:xx:xx:xx:xx set ATE frame header addr2
\r
21 ATEBSSID xx:xx:xx:xx:xx:xx set ATE frame header addr3
\r
23 ATETXPOW 0 ~ 31 set ATE Tx power
\r
25 ATETXLEN 24 ~ 1500 set ATE frame length
\r
27 ATETXCNT 1 ~ set ATE frame Tx count
\r
29 ATETXRATE 0 ~ 11 set ATE frame Tx rate (rate_1 ~ rate_54)
\r
32 STASTOP stop STA & ATE function
\r
33 STASTART start STA function
\r
34 TXCONT start STA continuous TX
\r
35 TXCARR start STA carrier test
\r
36 TXFRAME transmit frame
\r
37 RXFRAME continuous RX
\r
39 ResetCounter 0 reset statistic counter
\r
41 bbp 0 ~ xx read/write BBP register
\r
43 mac 0 ~ xxxxxxxx read/write MAC register
\r
48 1. set ATE associative argument
\r
49 iwpriv ra0 set ATEDA=00:11:22:33:44:55
\r
50 iwpriv ra0 set ATESA=00:11:22:33:44:55
\r
51 iwpriv ra0 set ATEBSSID=00:11:22:33:44:55
\r
52 iwpriv ra0 set ATETXPOW=16
\r
53 iwpriv ra0 set ATETXLEN=1000
\r
54 iwpriv ra0 set ATETXCNT=32
\r
55 iwpriv ra0 set ATETXRATE=0
\r
58 iwpriv ra0 set ATE=STASTOP
\r
59 iwpriv ra0 set ATE=STASTART
\r
60 iwpriv ra0 set ATE=TXCONT
\r
61 iwpriv ra0 set ATE=TXCARR
\r
62 iwpriv ra0 set ATE=TXFRAME
\r
63 iwpriv ra0 set ATE=RXFRAME
\r
66 iwpriv ra0 bbp 0 # read BBP register 0
\r
67 iwpriv ra0 bbp 0=12 # write BBP register 0 as 0x12
\r
68 iwpriv ra0 mac 0 # read MAC register 0
\r
69 iwpriv ra0 mac 0=1234abcd # write MAC register 0 as 0x1234abcd
\r
72 1. To turn on ATE functionality, you have to add compile flag "RT2500_DBG" and "RALINK_ATE" to Makefile
\r
73 2. Before doing ATE testing, please stop STA function (iwpriv ra0 set ATE=STASTOP)
\r
74 3. If you want to test another ATE action, prefer to stop STA & ATE function (iwpriv ra0 set ATE=STASTOP)
\r
75 4. All ATE function settings will lose efficacy after reboot.
\r
76 5. Before hardware register access, please reference hardware spec.
\r