cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

Bug #1895333 reported by sparks71
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
linux-firmware (Ubuntu)
Invalid
Undecided
Unassigned

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

sparks71 (sparks71)
description: updated
sparks71 (sparks71)
description: updated
sparks71 (sparks71)
description: updated
sparks71 (sparks71)
description: updated
Revision history for this message
sparks71 (sparks71) wrote :
Download full text (4.3 KiB)

for comparison a self-built backport version with "Atheros dynamic user regulatory testing"

compat: module verification failed: signature and/or required key missing - tainting kernel
[ 2.820437] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[ 2.820437] Backport generated by backports.git v5.8-1-0-g79400d9e

[ 2.861508] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 2.924268] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 2.975254] ath10k_pci 0000:03:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 2.975255] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[ 2.975576] 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.038053] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 3.038054] ath10k_pci 0000:04:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[ 3.038388] 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.209182] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id 0:1 crc32 85498734
[ 4.267400] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id 0:2 crc32 85498734
[ 6.892192] 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.938061] 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

[ 766.033876] ath: EEPROM regdomain: 0x8114
[ 766.033876] ath: EEPROM indicates we should expect a country code
[ 766.033877] ath: doing EEPROM country->regdmn map search
[ 766.033877] ath: country maps to regdmn code: 0x37
[ 766.033877] ath: Country alpha2 being used: DE
[ 766.033878] ath: Regpair used: 0x37
[ 766.033878] ath: regdomain 0x8114 dynamically updated by user

[ 766.034369] ath: EEPROM regdomain: 0x8114
[ 766.034369] ath: EEPROM indicates we should expect a country code
[ 766.034369] ath: doing EEPROM country->regdmn map search
[ 766.034370] ath: country maps to regdmn code: 0x37
[ 766.034370] ath: Country alpha2 being used: DE
[ 766.034370] ath: Regpair used: 0x37
[ 766.034371] ath: regdomain 0x8114 dynamically updated by user

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#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)

iw phy phy0 info

  Frequencies:
   * 5180 MHz [36] (20.0 dBm) (no IR)
   * 5200 MHz [40] (20.0 dBm) (no IR)
   * 5220 MHz [4...

Read more...

sparks71 (sparks71)
no longer affects: ubuntu
affects: linux-hwe-5.4 (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1895333

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: focal
Revision history for this message
sparks71 (sparks71) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
sparks71 (sparks71) wrote : CRDA.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : CurrentDmesg.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : IwConfig.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : Lspci.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : Lspci-vt.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : Lsusb.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : Lsusb-t.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : Lsusb-v.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : ProcInterrupts.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : ProcModules.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : PulseList.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : RfKill.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : UdevDb.txt

apport information

Revision history for this message
sparks71 (sparks71) wrote : WifiSyslog.txt

apport information

sparks71 (sparks71)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
sparks71 (sparks71)
tags: added: hwe-networking-wifi
Revision history for this message
sparks71 (sparks71) wrote :
Download full text (5.3 KiB)

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),...

Read more...

Revision history for this message
goran (gsustek) wrote :

Please add: CONFIG_ATH_REG_DYNAMIC_USER_CERT_TESTING, CONFIG_ATH_REG_DYNAMIC_USER_REG_HINTS and CONFIG_CFG80211_CERTIFICATION_ONUS
to .config to next build "https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10.1/".
if i add those in my own build, it works, but will be glad if i do not need to rebuild every kernel for my self!

This patch has been reverted.

https://lkml.org/lkml/2020/5/27/1223

Revision history for this message
goran (gsustek) wrote :

some more interesting info about this issue:
https://<email address hidden>/msg12323.html

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-firmware (Ubuntu):
status: New → Confirmed
Revision history for this message
sparks71 (sparks71) wrote :

there are other ways

- reg->current_rd = 0x64;
+ reg->current_rd = 0x6c;

0x64 is the most restrictive domain and there the complete midband is missing
0x6c means world wide regdomain

and if you really want to use the cards without any restrictions then the openwrt patch

Revision history for this message
sparks71 (sparks71) wrote :

i have also already asked the ubuntu-devs ....
they only take upstream patches and leave the users in the rain

Revision history for this message
goran (gsustek) wrote :

ok, but then then can add CONFIG_ATH_REG_DYNAMIC_USER_CERT_TESTING, CONFIG_ATH_REG_DYNAMIC_USER_REG_HINTS and CONFIG_CFG80211_CERTIFICATION_ONUS
to .config for every build! Why they do not do that?

Revision history for this message
sparks71 (sparks71) wrote :

so we have something to do and have to rebuild our kernel all the time :-)

only a small joke, I wish of course also that it is somehow fixed for all

Revision history for this message
goran (gsustek) wrote :

i hope it will be fixed upstream,then:-)
https://<email address hidden>/msg13295.html

Revision history for this message
goran (gsustek) wrote :

if you like or need to compile, then i suggest to compile this.
https://github.com/greearb/ath10k-ct

Revision history for this message
sparks71 (sparks71) wrote :

I have already tested, I prefer to stay with the QCA firmware and drivers that run for me stable and have for me fewer bugs

have 1Gbit throughput in both directions (stable)

Revision history for this message
goran (gsustek) wrote :

"have 1Gbit throughput in both directions (stable)" can you describe,show me your setup? which antenna do you use?

Revision history for this message
sparks71 (sparks71) wrote :

is a bit OT but..

QCA9984 (QNAP QWA-AC2600)

https://www.qnap.com/i/_attach_file/product/photo/800_500/338_1524021711_QWA-AC2600_Front.png

QCA9984 (Netgear R7800)

https://www.netgear.de/images/Products/Networking/WirelessRouters/R7800/R7800_Hero_Transparent.png

The R7800 is running DD-WRT (v3.0-r44719) with kvalo Firmware

VHT80 4x4

1 Stream Download

[ 5] 63.00-63.36 sec 36.1 MBytes 843 Mbits/sec

2 Stream Download

[ 5] 0.00-60.03 sec 3.24 GBytes 464 Mbits/sec
[ 8] 0.00-60.03 sec 3.15 GBytes 451 Mbits/sec
[SUM] 0.00-60.03 sec 6.40 GBytes 915 Mbits/sec

1 Stream Upload

[ 5] 0.00-60.00 sec 6.52 GBytes 933 Mbits/sec

2 Stream Upload

[ 5] 0.00-60.00 sec 3.28 GBytes 469 Mbits/sec
[ 7] 0.00-60.00 sec 3.29 GBytes 470 Mbits/sec
[SUM] 0.00-60.00 sec 6.56 GBytes 939 Mbits/sec

all direct WLAN <--> LAN throughput

https://ibb.co/2sw3FDh

Revision history for this message
Seth Forshee (sforshee) wrote :

I came across this bug when looking through open linux-firmware bugs. Sorry that it didn't attract any attention before.

If this is still a problem, I think the right solution is to pursue a solution upstream. Once one is found we can accept these fixes into Ubuntu. Unfortunately, changing our configs as requested in comment #21 could result in many more users falling out of regulatory compliance, so that is not a viable option.

I don't see any suggestion of plans to fix this issue in the upstream ath10k firmware, so I'm changing the status for the linux-firmware package to invalid. If this is a mistake, please change the status back to confirmed and let me know what I've missed.

Changed in linux-firmware (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.