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

--txfreq 2412 --txchain 1

NHX4019 athtestcmd example

2.4G

  • TX on
athtestcmd -i wifi0 --tx sine --txfreq 2412 --txchain 1
athtestcmd -i wifi0 --tx sine --txfreq 2437 --txchain 1
athtestcmd -i wifi0 --tx sine --txfreq 2462 --txchain 1
  • TX off
athtestcmd --tx off

5G

  • TX on
athtestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5210 --txchain 1
athtestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5530 --txchain 1
athtestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5610 --txchain 1
athtestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5690 --txchain 1
athtestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5775 --txchain 1
athtestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5855 --txchain 1
  • TX off
athtestcmd --tx off