WiFi之WL工具命令

WiFi之WL工具命令一 功耗测试 1 设置天线 2X2 wl down wl txchain 3 wl rxchain 3 wl antdiv 3 wl txant 3 wl up 1X1 天线 1 wl down wl txchain 1 wl rxchain 1 wl antdiv 0 wl txant 0 wl up 1X1 天线 2 wl txchain 2

大家好,我是讯享网,很高兴认识大家。

一. 功耗测试
1.设置天线:
2X2:
wl down
wl txchain 3
wl rxchain 3
wl antdiv 3
wl txant 3
wl up

1X1:(天线1)
wl down
wl txchain 1
wl rxchain 1
wl antdiv 0
wl txant 0
wl up

1X1:(天线2)
wl txchain 2
wl rxchain 2
wl antdiv 1
wl txant 1

2.设置MCS:
wl down
wl nrate –m mcs_index
wl up

3.设置带宽:
wl down
wl chanspec –c channel –b band –w bandwidth –s sideband
wl up

4.设置发射功率
wl down
wl txpwr1 pwr_value(dBm)
wl up

5.设置信道
wl down
wl channel chan_no
wl up

6.查询命令
获取MCS:
wl nrare

二. 射频测试


讯享网

  1. 双发命令
    wl mpc 0
    wl down
    wl scansuppress 1
    wl band b
    wl country ALL
    wl bi 65535
    wl ampdu 1
    wl rateset 6b
    wl txchain 3
    wl antdiv 3
    wl txant 3
    wl mimo_bw_cap 1
    wl mimo_txbw 2
    wl chanspec -c 1 -b 2 -w 20 -s 0
    wl nrate -m 15 -s 3
    wl up
    wl interference 0
    wl phy_forcecal 1
    wl txpwr1 -1
    wl txpwr1
    wl disassoc
    wl pkteng_start 00:22:33:44:55:66 tx 100 1500 0
  2. 11a测试
    wl mpc 0
    wl down
    wl frameburst 1
    wl interference 0
    wl txchain 1
    wl band a
    wl mimo_bw_cap 1
    wl chanspec 100
    wl nrate -r 54 -s 0
    wl txpwr1 -o -d 13
    wl up
    wl pkteng_start 00:22:33:44:55:66 tx 100 1500 0
    wl phy_forcecal 1
    wl pkteng_stop tx
    wl mpc 0
    wl down
    wl frameburst 1
    wl interference 0
    wl txchain 1
    wl band a
    wl mimo_bw_cap 1
    wl chanspec 100
    wl nrate -m 7 -s 3
    wl txpwr1 -o -d 11
    wl up
    wl pkteng_start 00:22:33:44:55:66 tx 100 1500 0
    wl phy_forcecal 1
    wl pkteng_stop tx
  3. 11b/g测试
    wl mpc 0
    wl down
    wl band b
    wl bi 65535
    wl chanspec -c 13 -b 2 -w 20 -s 0
    wl bg_rate 54
    wl txchain 2
    wl rxchain 2
    wl txant 1
    wl antdiv 1
    wl up
    wl txpwr1 -o -d 10
    wl pkteng_start 00:22:33:44:55:66 tx 100 1500 0
    wl phy_forcecal 1
    wl pkteng_stop tx
    wl pkteng_stats
  4. 11g CDD测试
    wl mpc 0
    wl down
    wl band b
    wl bi 65535
    wl chanspec -c 1 -b 2 -w 20 -s 0
    wl nrate -r 54 -s 1
    wl up
    wl txpwr1 -o -d 11
    wl pkteng_start 00:22:33:44:55:66 tx 100 1500 0
    wl phy_forcecal 1
    wl pkteng_stop tx
  5. 11n 20MHz测试
    wl mpc 0
    wl down
    wl band b
    wl bi 65535
    wl chanspec -c 1 -b 2 -w 20 -s 0
    wl nrate -m 7 -s 0
    wl txchain 1
    wl rxchain 1
    wl txant 0
    wl antdiv 0
    wl up
    wl txpwr1 -o -d 8
    wl pkteng_start 00:22:33:44:55:66 tx 100 1500 0
    wl phy_forcecal 1
    wl pkteng_stop tx
  6. 11n 40MHz测试
    wl mpc 0
    wl down
    wl country ALL
    wl scansuppress 1
    wl txant 0
    wl bi 65535
    wl mimo_bw_cap 1
    wl mimo_txbw 4
    wl chanspec 1l
    wl nrate -m 7 -s 0
    wl up
    wl txpwr1 -o -d 11
    wl pkteng_start 00:22:33:44:55:66 tx 100 1500 0
    wl phy_forcecal 1
    wl pkteng_stop tx

三. 工作模式设置

  1. AP mode
    ifconfig WiFi0 192.168.1.1 up
    wl down
    wl apsta 0
    wl ap 1
    wl wsec 0
    wl wpa_auth 0
    wl channel 1
    wl mpc 0
    wl ssid –C 0 test_ssid
    wl up
    wl bss –C 0 up
  2. APSTA mode
    ifconfig WiFi0 up
    wl ap 1
    wl apsta 1
    wl mbss 1
    wl up
    wl bss –C 1 down
    wl ssid –C 1 test_ssid1
    wl mpc 0
    wl bss –C 1 up
  3. Multi SSID mode
    wl bss -C 0 down
    wl bss -C 1 down
    wl down
    wl ap 1
    wl mbss 1
    wl mpc 0
    wl country JP
    wl channel 13
    wl maxassoc 10
    wl bss -C 0 down
    wl ssid -C 0 t1
    wl -i WiFi0 bss_maxassoc 5
    wl bss -C 1 down
    wl ssid -C 1 g1
    ifconfig wl0.1 up
    wl -i wl0.1 bss_maxassoc 5
    wl up
    wl bss -C 1 up
    wl bss -C 0 up
小讯
上一篇 2025-02-17 15:00
下一篇 2025-03-06 13:43

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/15807.html