hcxdumptool: Channel or frequency switch not working on RTL8812AU

Hello. When trying to use the latest version of hcxdumptool (https://github.com/ZerBea/hcxdumptool/commit/dc9e9721f4a21fd26ec002e4a5ae9ede8db7f7af) with the Alfa AWUS036ACH using RTL8812AU (latest version from https://github.com/aircrack-ng/rtl8812au - https://github.com/aircrack-ng/rtl8812au/commit/3a6402e9e79802891f1531b435be54f4d8b71f0b), it’s not possible to set a channel or a frequency. When running hcxdumptool with the switch -c followed by either a channel number or a frequency, it will always result in a crash with the error message no frequencies available. The channel switch was working fine until this update: hcxdumptool: replaced channel scan engine by frequency scan engine. The systems I have tested this on were a Raspberry Pi 3B+ running Raspberry Pi OS 5.10.63-v7+ and Manjaro 5.10.84-1-MANJARO on x86_64. I have also verified that the channel/frequency switch works on my other interfaces (MT7610U).

Are there any possible solutions to this other than using an older version of hcxdumptool?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (19 by maintainers)

Most upvoted comments

Thanks. The rtl8812au driver is reporting the frequency a little bit different: 241200000 with exponent 1 = 2412000000 = 2412 MHz.

I’ll move from hard code exponent 6 to dynamic exponent. Please give me some time to handle it. Than I’m going to push an update.

Merry Christmas

I’m glad to hear this. Thanks for the test. Now hcxdumptool and hcxlabtool are able to handle all exponents (0, 1, 2, 3, 4, 5 and 6) in a dynamic way, which is a nice improvement.

Thanks a lot, you’re the best. Merry Christmas and a happy New Year, enjoy the holidays.