as a short feedback i have solved the problem for me as follows i have patched the ath driver and set the eeprom to germany and additionally i have applied an openwrt patch
then I have rebuild the module with the option "Do not enforce EEPROM regulatory restrictions" link to the patch (must be adjusted depending on kernel version) https://github.com/openwrt/openwrt/blob/master/package/kernel/mac80211/patches/ath/402-ath_regd_optional.patch Result [ 2.717027] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [ 2.775040] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [ 2.831174] ath10k_pci 0000:03:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [ 2.831175] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0 [ 2.831504] ath10k_pci 0000:03:00.0: firmware ver 10.4-3.9.0.2-00130 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate crc32 123ff35a [ 2.889062] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [ 2.889063] ath10k_pci 0000:04:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0 [ 2.889410] ath10k_pci 0000:04:00.0: firmware ver 10.4-3.9.0.2-00130 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate crc32 123ff35a [ 4.064069] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id 0:1 crc32 85498734 [ 4.120218] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id 0:2 crc32 85498734 [ 6.732655] ath10k_pci 0000:03:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 [ 6.796992] ath10k_pci 0000:04:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 [ 6.805002] ath: EEPROM regdomain sanitized [ 6.805004] ath: EEPROM regdomain: 0x8114 [ 6.805004] ath: EEPROM indicates we should expect a country code [ 6.805004] ath: doing EEPROM country->regdmn map search [ 6.805005] ath: country maps to regdmn code: 0x37 [ 6.805005] ath: Country alpha2 being used: DE [ 6.805005] ath: Regpair used: 0x37 [ 6.805096] ath: EEPROM regdomain: 0x8114 [ 6.805096] ath: EEPROM indicates we should expect a country code [ 6.805096] ath: doing EEPROM country->regdmn map search [ 6.805097] ath: country maps to regdmn code: 0x37 [ 6.805097] ath: Country alpha2 being used: DE [ 6.805097] ath: Regpair used: 0x37 [ 6.805098] ath: regdomain 0x8114 dynamically updated by user [ 6.807137] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0 [ 6.869077] ath: EEPROM regdomain sanitized [ 6.869079] ath: EEPROM regdomain: 0x8114 [ 6.869079] ath: EEPROM indicates we should expect a country code [ 6.869080] ath: doing EEPROM country->regdmn map search [ 6.869080] ath: country maps to regdmn code: 0x37 [ 6.869080] ath: Country alpha2 being used: DE [ 6.869081] ath: Regpair used: 0x37 [ 9.640029] ath10k_pci 0000:03:00.0: Unknown eventid: 36933 [ 9.644566] ath10k_pci 0000:04:00.0 wlp4s0: renamed from wlan0 phy#1 country DE: DFS-ETSI (2400 - 2483 @ 40), (N/A, 20), (N/A) (5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS (5725 - 5875 @ 80), (N/A, 13), (N/A) (57000 - 66000 @ 2160), (N/A, 40), (N/A) phy#0 country DE: DFS-ETSI (2400 - 2483 @ 40), (N/A, 20), (N/A) (5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS (5725 - 5875 @ 80), (N/A, 13), (N/A) (57000 - 66000 @ 2160), (N/A, 40), (N/A) Frequencies: * 2412 MHz [1] (20.0 dBm) * 2417 MHz [2] (20.0 dBm) * 2422 MHz [3] (20.0 dBm) * 2427 MHz [4] (20.0 dBm) * 2432 MHz [5] (20.0 dBm) * 2437 MHz [6] (20.0 dBm) * 2442 MHz [7] (20.0 dBm) * 2447 MHz [8] (20.0 dBm) * 2452 MHz [9] (20.0 dBm) * 2457 MHz [10] (20.0 dBm) * 2462 MHz [11] (20.0 dBm) * 2467 MHz [12] (20.0 dBm) * 2472 MHz [13] (20.0 dBm) * 2484 MHz [14] (disabled) Frequencies: * 5180 MHz [36] (20.0 dBm) * 5200 MHz [40] (20.0 dBm) * 5220 MHz [44] (20.0 dBm) * 5240 MHz [48] (20.0 dBm) * 5260 MHz [52] (20.0 dBm) (radar detection) * 5280 MHz [56] (20.0 dBm) (radar detection) * 5300 MHz [60] (20.0 dBm) (radar detection) * 5320 MHz [64] (20.0 dBm) (radar detection) * 5500 MHz [100] (26.0 dBm) (radar detection) * 5520 MHz [104] (26.0 dBm) (radar detection) * 5540 MHz [108] (26.0 dBm) (radar detection) * 5560 MHz [112] (26.0 dBm) (radar detection) * 5580 MHz [116] (26.0 dBm) (radar detection) * 5600 MHz [120] (26.0 dBm) (radar detection) * 5620 MHz [124] (26.0 dBm) (radar detection) * 5640 MHz [128] (26.0 dBm) (radar detection) * 5660 MHz [132] (26.0 dBm) (radar detection) * 5680 MHz [136] (26.0 dBm) (radar detection) * 5700 MHz [140] (26.0 dBm) (radar detection) * 5720 MHz [144] (disabled) * 5745 MHz [149] (13.0 dBm) * 5765 MHz [153] (13.0 dBm) * 5785 MHz [157] (13.0 dBm) * 5805 MHz [161] (13.0 dBm) * 5825 MHz [165] (13.0 dBm) * 5845 MHz [169] (13.0 dBm) * 5865 MHz [173] (13.0 dBm) now all channels are there with the right transmitting power and as a small bonus the card is now region free -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1895333 Title: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600) Status in linux package in Ubuntu: Confirmed Bug description: linux-image-generic-hwe-20.04 hello, since the update to Ubuntu 20.04.1 I can no longer change the regulatory domain of my QCA9984 cards. This works fine with Ubuntu 16.04.7 / DD-WRT / OpenWrt. Or if I build the kernel modules myself .. ("Atheros dynamic user regulatory testing") The card has "World" in the EEPROM and is sold worldwide. [ 2.896628] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [ 2.960023] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [ 3.015612] ath10k_pci 0000:03:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [ 3.015613] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [ 3.015934] ath10k_pci 0000:03:00.0: firmware ver 10.4-3.9.0.2-00124 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate crc32 ea4c0777 [ 3.069593] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [ 3.069594] ath10k_pci 0000:04:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [ 3.069933] ath10k_pci 0000:04:00.0: firmware ver 10.4-3.9.0.2-00124 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate crc32 ea4c0777 [ 4.247469] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id 0:1 crc32 85498734 [ 4.298899] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id 0:2 crc32 85498734 [ 6.980756] ath10k_pci 0000:03:00.0: unsupported HTC service id: 1536 [ 7.087506] ath10k_pci 0000:03:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 [ 7.125981] ath10k_pci 0000:04:00.0: unsupported HTC service id: 1536 [ 7.149519] ath: EEPROM regdomain: 0x0 [ 7.149520] ath: EEPROM indicates default country code should be used [ 7.149520] ath: doing EEPROM country->regdmn map search [ 7.149521] ath: country maps to regdmn code: 0x3a [ 7.149521] ath: Country alpha2 being used: US [ 7.149521] ath: Regpair used: 0x3a [ 7.152614] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0 [ 7.235146] ath10k_pci 0000:04:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 [ 7.297494] ath: EEPROM regdomain: 0x0 [ 7.297495] ath: EEPROM indicates default country code should be used [ 7.297495] ath: doing EEPROM country->regdmn map search [ 7.297496] ath: country maps to regdmn code: 0x3a [ 7.297496] ath: Country alpha2 being used: US [ 7.297497] ath: Regpair used: 0x3a The ath driver incorrectly sets the card to "US" ( phy0 + phy1 ) global country DE: DFS-ETSI (2400 - 2483 @ 40), (N/A, 20), (N/A) (5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS (5725 - 5875 @ 80), (N/A, 13), (N/A) (57000 - 66000 @ 2160), (N/A, 40), (N/A) phy#1 country US: DFS-FCC (2402 - 2472 @ 40), (N/A, 30), (N/A) (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS (5735 - 5835 @ 80), (N/A, 30), (N/A) (57240 - 63720 @ 2160), (N/A, 40), (N/A) phy#0 country US: DFS-FCC (2402 - 2472 @ 40), (N/A, 30), (N/A) (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS (5735 - 5835 @ 80), (N/A, 30), (N/A) (57240 - 63720 @ 2160), (N/A, 40), (N/A) phy#2 (self-managed) country DE: DFS-UNSET (2402 - 2437 @ 40), (6, 22), (N/A), AUTO-BW, NO-HT40MINUS, NO-80MHZ, NO-160MHZ (2422 - 2462 @ 40), (6, 22), (N/A), AUTO-BW, NO-80MHZ, NO-160MHZ (2447 - 2482 @ 40), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-80MHZ, NO-160MHZ (5170 - 5190 @ 80), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5190 - 5210 @ 80), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5210 - 5230 @ 80), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5230 - 5250 @ 80), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5250 - 5270 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5270 - 5290 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5290 - 5310 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5310 - 5330 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5490 - 5510 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5510 - 5530 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5530 - 5550 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5550 - 5570 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5570 - 5590 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5590 - 5610 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5610 - 5630 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5630 - 5650 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5650 - 5670 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5670 - 5690 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5690 - 5710 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN (5710 - 5730 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN (5735 - 5755 @ 80), (6, 22), (N/A), AUTO-BW, NO-HT40MINUS, NO-160MHZ (5755 - 5775 @ 80), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-160MHZ (5775 - 5795 @ 80), (6, 22), (N/A), AUTO-BW, NO-HT40MINUS, NO-160MHZ (5795 - 5815 @ 80), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-160MHZ (5815 - 5835 @ 20), (6, 22), (N/A), AUTO-BW, NO-HT40MINUS, NO-HT40PLUS, NO-80MHZ, NO-160MHZ This means that the card works on various channels with a transmission power that is far too high country US: DFS-FCC (5735 - 5835 @ 80), (N/A, 30), (N/A) 30dB = 1W while in Germany only 25mW are allowed DE: DFS-ETSI (5725 - 5875 @ 80), (N/A, 13), (N/A) So please patch out this eeprom nonsense or activate "Atheros dynamic user regulatory testing" - it is also questionable whether the users need individual regdb settings for each NIC So that we ubuntu users can operate our Qualcomm WLAN cards with the correct regdb settings! 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 03:00.0 Network controller: Qualcomm Atheros QCA9984 802.11ac Wave 2 Wireless Network Adapter 04:00.0 Network controller: Qualcomm Atheros QCA9984 802.11ac Wave 2 Wireless Network Adapter 08:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78) best regards --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27.8 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: sparks 2038 F.... pulseaudio CasperMD5CheckResult: skip CurrentDesktop: GNOME-Flashback:GNOME DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2020-08-28 (16 days ago) InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731) MachineType: MSI MS-7A59 Package: linux (not installed) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=de_DE.UTF-8 SHELL=/bin/bash ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-47-generic root=UUID=c3675f39-ff68-4ac9-9828-d5c83ae20223 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 5.4.0-47.51-generic 5.4.55 RelatedPackageVersions: linux-restricted-modules-5.4.0-47-generic N/A linux-backports-modules-5.4.0-47-generic N/A linux-firmware 1.187.3 Tags: focal Uname: Linux 5.4.0-47-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo _MarkForUpload: True dmi.bios.date: 06/30/2018 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 1.A0 dmi.board.asset.tag: Default string dmi.board.name: Z270 SLI PLUS (MS-7A59) dmi.board.vendor: MSI dmi.board.version: 1.0 dmi.chassis.asset.tag: Default string dmi.chassis.type: 3 dmi.chassis.vendor: MSI dmi.chassis.version: 1.0 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.A0:bd06/30/2018:svnMSI:pnMS-7A59:pvr1.0:rvnMSI:rnZ270SLIPLUS(MS-7A59):rvr1.0:cvnMSI:ct3:cvr1.0: dmi.product.family: Default string dmi.product.name: MS-7A59 dmi.product.sku: Default string dmi.product.version: 1.0 dmi.sys.vendor: MSI To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp