增对wifi的调试命令有很多,这边列出我们常用的命令提供参考,方便查看信息定位问题。
1、iwconfig
查看当前 WIFI 的工作信道以及工作带宽模式:
root@openwrt:/# iwconfig ra0
ra0       mt7603e  ESSID:"openwrt"  Mode:Managed  Channel:8  Access Point: DC:4B:DD:1D:FB:93   Bit Rate=144 Mb/s   root@openwrt:/# iwconfig rai0
rai0      mt7612e  ESSID:"openwrt_5G"  Mode:Managed  Channel:36  Access Point: DC:4B:DD:1D:FB:94   Bit Rate=400 Mb/s
 
-  
2.4G 工作在 8 信道,图示 Bit Rate 为 144Mb/s 表示工作在 HT20,如
果 Bit Rate 为 300Mb/s 表示工作在 HT40 模式; -  
5G 工作在 36 信道,图中显示的 Bit Rate
为 400Mb,表示工作在 HT40、若 Bit Rate 显示为