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

NHX5018 qcatestcmd example

2.4GHz Sample Tx commands with explanation

freq 2412

  • TX on
qcatestcmd -i wifi0 --tx sine --phyId 0 --txfreq 2412 --txchain 1
  • TX off
qcatestcmd -i wifi0 --tx off --phyId 0

freq 2437

  • TX on
qcatestcmd -i wifi0 --tx sine --phyId 0 --txfreq 2437 --txchain 1
  • TX off
qcatestcmd -i wifi0 --tx off --phyId 0

freq 2462

  • TX on
qcatestcmd -i wifi0 --tx sine --phyId 0 --txfreq 2462 --txchain 1
  • TX off
qcatestcmd -i wifi0 --tx off --phyId 0

5GHz Sample Tx commands with explanation

freq 5210

  • TX on
qcatestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5210--txchain 1
  • TX off
tx off: qcatestcmd -i wifi1 --tx off --phyId 0

freq 5530

  • TX on
qcatestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5530 --txchain 1
  • TX off
tx off: qcatestcmd -i wifi1 --tx off --phyId 0

freq 5610

  • TX on
qcatestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5610 --txchain 1
  • TX off
tx off: qcatestcmd -i wifi1 --tx off --phyId 0

freq 5690

  • TX on
qcatestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5690 --txchain 1
  • TX off
tx off: qcatestcmd -i wifi1 --tx off --phyId 0

freq 5775

  • TX on
qcatestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5775 --txchain 1
  • TX off
tx off: qcatestcmd -i wifi1 --tx off --phyId 0

freq 5855

  • TX on
qcatestcmd -i wifi1 --tx sine --phyId 0 --txfreq 5855 --txchain 1
  • TX off
tx off: qcatestcmd -i wifi1 --tx off --phyId 0