Skip to content

Contents

Create an ssh connection

https://dev.azure.com/lede/bitswrt-UserGuides/_wiki/wikis/UserGuides/1689/debug-ssh

Operation method: Linux Command

Turn on testmode

wifi down
rmmod monitor
rmmod wifi_3_0
rmmod wifi_2_0
rmmod qca_ol
insmod qca_ol testmode=1
insmod wifi_3_0
insmod wifi_2_0

variable

--tx tx99 --txfreq 11 --txchain 1 --txrate 12 --mode ht20 --txpwr 10

NHX4019 athtestcmd example

2.4G TX

  • TX at channel 11, txchain 1, rate 12, and in ht20 mode
athtestcmd -i wifi0 --tx tx99 --txfreq 11 --txchain 1 --txrate 12 --mode ht20 --txpwr 10
  • TX off
athtestcmd --tx off

5G TX

  • TX at channel 149, txchain 1, rate 12, and in VHT80 mode,txpwr set 10dBm
athtestcmd -i wifi1 --tx tx99 --txfreq 149 --txchain 1 --txrate 12 --mode vht80_0 --txpwr 10
  • TX off
athtestcmd --tx off

2.4G RX

  • RX on channel 11
athtestcmd -i wifi0 --rx promis --rxfreq 11 athtestcmd -i wifi0 --rx report
  • TX off
athtestcmd --tx off

5G RX

  • RX on channel 149
athtestcmd -i wifi1 --rx promis --rxfreq 149 athtestcmd -i wifi1 --rx report
  • TX off
athtestcmd --tx off