mt7620的wifi调试

1./tmp/RT2860.dat 文件

进行配置wifi,字段说明详情看手册

mtk_wi-fi_softap_software_programming_guide_v4.6.pdf

2.启动wifi命令

ifconfig ra0 up/down

3.wifi驱动DEBUG

查看驱动输出信息

wpriv ra0 set Debug=3
0~5
0: Debug Off
1: Debug Error
2: Debug Warning
3: Debug Trace
4: Debug Info
5: Debug Loud
<

4.驱动版本

iwpriv ra0 set DriverVersion=0 //可以是任何值,唤出wifi驱动版本输出
	[  559.170000] Driver version-3.0.5.0 Sep 19 2016 11:20:36

5.设置profile配置文件

iwpriv ra0 set CountryRegion=5

6.iwpriv其他命令

1.获取统计信息

==>iwpriv ra0 stat			
while [ 1 ]; do iwpriv ra0 set ResetCounter=1; sleep 1; iwpriv ra0 stat; done;获取每秒统计信息

2.获取接收wifi信息结果


1   wifi_test                        32:4a:26:5a:be:cc   WPA2PSK/AES            29       11b/g/n ABOVE  In  NO
1   222                              c0:a5:dd:76:81:6c   WPA1PSKWPA2PSK/AES     26       11b/g/n NONE   In  NO
2   EOSM50                           64:64:4a:2b:a5:ca   WPA1PSKWPA2PSK/TKIPAES 24       11b/g/n NONE   In YES
6   ChinaNet-VvU2                    74:b7:b3:2c:b8:2a   WPA1PSKWPA2PSK/TKIPAES 24       11b/g/n NONE   In YES
11  FGTC                             34:f7:16:9e:ef:99   WPA1PSKWPA2PSK/AES     0        11b/g/n BELOW  In  NO
11  MiraScreen BF93E45E              d2:c0:bf:93:e4:5e   WPA2PSK/AES            0        11b/g/n NONE   In YES
6   MLYZ                             34:f7:16:b5:01:da   WPA1PSKWPA2PSK/AES     0        11b/g/n BELOW  In  NO
1   ChinaNet-VsCY                    92:a5:af:52:3b:34   WPA1PSKWPA2PSK/TKIPAES 0        11b/g/n NONE   In YES
4   HI-HSKD		                     00:0c:43:76:20:a8   WPA2PSK/TKIPAES        0        11b/g/n NONE   In  NO

3.获取接收连接wifi设备的mac地址

[ 1064.780000]
[ 1064.780000] HT Operating Mode : 0
[ 1064.790000]
[ 1064.790000]
[ 1064.790000] MAC                MODE AID  BSS PSM WMM MIMOPS RSSI0/1/2 PhMd  BW  MCS   SGI   STBC  Idle   Rate
[ 1064.810000] B4:CD:27:1B:EA:6C  200011    0   1   1   3      -61/-70/0  HTMIX 40M 7     1   1    298    150    0         , 419, 100%
[ 1064.840000]                                                  MaxCap:HTMIX     40M   7     1   1

4.获取接收字节数

[ 1439.730000]
[ 1439.730000] HT Operating Mode : 0
[ 1439.740000]
[ 1439.740000]
[ 1439.740000] MAC                AID TxPackets   RxPackets   TxBytes     RxBytes
[ 1439.760000] B4:CD:27:1B:EA:6C  1   436         903         30504       88501

iwconfig命令

root@1:/tmp# iwconfig ra0
ra0       RTWIFI SoftAP  ESSID:"HI-WOOYAE14E"
          Mode:Managed  Channel=11  Access Point: 3D:1E:4F:5B:07:02
          Bit Rate=144 Mb/s
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值