[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2021-04-07 Thread Seth Forshee
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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-12-21 Thread sparks71
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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-12-21 Thread sparks71
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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-12-21 Thread goran
i hope it will be fixed upstream,then:-)
https://www.mail-archive.com/ath10k@lists.infradead.org/msg13295.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-12-21 Thread sparks71
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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-12-21 Thread goran
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?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-12-21 Thread sparks71
i have also already asked the ubuntu-devs  
they only take upstream patches and leave the users in the rain

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-12-21 Thread sparks71
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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-12-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-firmware (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-12-20 Thread Kai-Heng Feng
** Also affects: linux-firmware (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-12-20 Thread goran
some more interesting info about this issue:
https://www.mail-archive.com/ath10k@lists.infradead.org/msg12323.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-12-20 Thread goran
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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-11-07 Thread sparks71
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 :03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 
reset_mode 0
[2.775040] ath10k_pci :04:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 
reset_mode 0
[2.831174] ath10k_pci :03:00.0: qca9984/qca9994 hw1.0 target 0x0100 
chip_id 0x sub 168c:cafe
[2.831175] ath10k_pci :03:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 
0 testmode 0
[2.831504] ath10k_pci :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 :04:00.0: qca9984/qca9994 hw1.0 target 0x0100 
chip_id 0x sub 168c:cafe
[2.889063] ath10k_pci :04:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 
0 testmode 0
[2.889410] ath10k_pci :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 :03:00.0: board_file api 2 bmi_id 0:1 crc32 
85498734
[4.120218] ath10k_pci :04:00.0: board_file api 2 bmi_id 0:2 crc32 
85498734
[6.732655] ath10k_pci :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 :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 :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 :03:00.0: Unknown eventid: 36933
[9.644566] ath10k_pci :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 det

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-09-22 Thread sparks71
** Tags added: hwe-networking-wifi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-09-14 Thread sparks71
** Attachment removed: "AlsaInfo.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+attachment/5410701/+files/AlsaInfo.txt

** Attachment removed: "CRDA.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+attachment/5410702/+files/CRDA.txt

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-09-14 Thread sparks71
apport information

** Tags added: apport-collected

** Description changed:

  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 :03:00.0: pci irq msi oper_irq_mode 2 irq_mode 
0 reset_mode 0
  [2.960023] ath10k_pci :04:00.0: pci irq msi oper_irq_mode 2 irq_mode 
0 reset_mode 0
  [3.015612] ath10k_pci :03:00.0: qca9984/qca9994 hw1.0 target 
0x0100 chip_id 0x sub 168c:cafe
  [3.015613] ath10k_pci :03:00.0: kconfig debug 0 debugfs 1 tracing 1 
dfs 0 testmode 0
  [3.015934] ath10k_pci :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 :04:00.0: qca9984/qca9994 hw1.0 target 
0x0100 chip_id 0x sub 168c:cafe
  [3.069594] ath10k_pci :04:00.0: kconfig debug 0 debugfs 1 tracing 1 
dfs 0 testmode 0
  [3.069933] ath10k_pci :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 :03:00.0: board_file api 2 bmi_id 0:1 crc32 
85498734
  [4.298899] ath10k_pci :04:00.0: board_file api 2 bmi_id 0:2 crc32 
85498734
  [6.980756] ath10k_pci :03:00.0: unsupported HTC service id: 1536
  [7.087506] ath10k_pci :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 :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 :03:00.0 wlp3s0: renamed from wlan0
  [7.235146] ath10k_pci :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-160

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-09-14 Thread sparks71
** No longer affects: ubuntu

** Package changed: linux-hwe-5.4 (Ubuntu) => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895333

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-09-13 Thread sparks71
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 :03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 
reset_mode 0
[2.924268] ath10k_pci :04:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 
reset_mode 0
[2.975254] ath10k_pci :03:00.0: qca9984/qca9994 hw1.0 target 0x0100 
chip_id 0x sub 168c:cafe
[2.975255] ath10k_pci :03:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 
0 testmode 0
[2.975576] ath10k_pci :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 :04:00.0: qca9984/qca9994 hw1.0 target 0x0100 
chip_id 0x sub 168c:cafe
[3.038054] ath10k_pci :04:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 
0 testmode 0
[3.038388] ath10k_pci :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 :03:00.0: board_file api 2 bmi_id 0:1 crc32 
85498734
[4.267400] ath10k_pci :04:00.0: board_file api 2 bmi_id 0:2 crc32 
85498734
[6.892192] ath10k_pci :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 :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 [44] (20.0 dBm) (no IR)
* 5240 MHz [48] (20.0 dBm) (no IR)
* 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
* 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
* 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
* 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
* 5500 MHz [100] (26.0 dBm) (no IR, radar detection)
* 5520 MHz [104] (26.0 dBm) (no IR, radar detection)
* 5540 MHz [108] (26.0 dBm) (no IR, radar detection)
* 5560 MHz [112] (26.0 dBm) (no IR, radar detection)
* 5580 MHz [116] (26.0 dBm) (no IR, radar detection)
* 5600 MHz [120] (26.0 dBm) (no IR, radar detection)
* 5620 MHz [124] (26.0 dBm) (no IR, radar detection)
* 5640 MHz [128] (26.0 dBm) (no IR, radar detection)
* 5660 MHz [132] (26.0 dBm) (no IR, radar detection)
* 5680 MHz [136] (26.0 dBm) (no IR, radar detection)
* 5700 MHz [140] (26.0 dBm) (no IR, radar detection)
* 5720 MHz [144] (disabled)
* 5745 MHz [149] (13.0 dBm) (no IR)
* 5765 MHz [153] (13.0 dBm) (no IR)
* 5785 MHz [157] (13.0 dBm) (no IR)
* 5805 MHz [161] (13.0 dBm) (no IR)
* 5825 MHz [165] (13.0 dBm) (no IR)
* 5845 MHz [

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-09-11 Thread sparks71
** Description changed:

  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 :03:00.0: pci irq msi oper_irq_mode 2 irq_mode 
0 reset_mode 0
  [2.960023] ath10k_pci :04:00.0: pci irq msi oper_irq_mode 2 irq_mode 
0 reset_mode 0
  [3.015612] ath10k_pci :03:00.0: qca9984/qca9994 hw1.0 target 
0x0100 chip_id 0x sub 168c:cafe
  [3.015613] ath10k_pci :03:00.0: kconfig debug 0 debugfs 1 tracing 1 
dfs 0 testmode 0
  [3.015934] ath10k_pci :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 :04:00.0: qca9984/qca9994 hw1.0 target 
0x0100 chip_id 0x sub 168c:cafe
  [3.069594] ath10k_pci :04:00.0: kconfig debug 0 debugfs 1 tracing 1 
dfs 0 testmode 0
  [3.069933] ath10k_pci :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 :03:00.0: board_file api 2 bmi_id 0:1 crc32 
85498734
  [4.298899] ath10k_pci :04:00.0: board_file api 2 bmi_id 0:2 crc32 
85498734
  [6.980756] ath10k_pci :03:00.0: unsupported HTC service id: 1536
  [7.087506] ath10k_pci :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 :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 :03:00.0 wlp3s0: renamed from wlan0
  [7.235146] ath10k_pci :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

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-09-11 Thread sparks71
** Description changed:

  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.
+ The card has "World" in the EEPROM and is sold worldwide.
  
  [2.896628] ath10k_pci :03:00.0: pci irq msi oper_irq_mode 2 irq_mode 
0 reset_mode 0
  [2.960023] ath10k_pci :04:00.0: pci irq msi oper_irq_mode 2 irq_mode 
0 reset_mode 0
  [3.015612] ath10k_pci :03:00.0: qca9984/qca9994 hw1.0 target 
0x0100 chip_id 0x sub 168c:cafe
  [3.015613] ath10k_pci :03:00.0: kconfig debug 0 debugfs 1 tracing 1 
dfs 0 testmode 0
  [3.015934] ath10k_pci :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 :04:00.0: qca9984/qca9994 hw1.0 target 
0x0100 chip_id 0x sub 168c:cafe
  [3.069594] ath10k_pci :04:00.0: kconfig debug 0 debugfs 1 tracing 1 
dfs 0 testmode 0
  [3.069933] ath10k_pci :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 :03:00.0: board_file api 2 bmi_id 0:1 crc32 
85498734
  [4.298899] ath10k_pci :04:00.0: board_file api 2 bmi_id 0:2 crc32 
85498734
  [6.980756] ath10k_pci :03:00.0: unsupported HTC service id: 1536
  [7.087506] ath10k_pci :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 :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 :03:00.0 wlp3s0: renamed from wlan0
  [7.235146] ath10k_pci :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,

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-09-11 Thread sparks71
** Description changed:

  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 :03:00.0: pci irq msi oper_irq_mode 2 irq_mode 
0 reset_mode 0
  [2.960023] ath10k_pci :04:00.0: pci irq msi oper_irq_mode 2 irq_mode 
0 reset_mode 0
  [3.015612] ath10k_pci :03:00.0: qca9984/qca9994 hw1.0 target 
0x0100 chip_id 0x sub 168c:cafe
  [3.015613] ath10k_pci :03:00.0: kconfig debug 0 debugfs 1 tracing 1 
dfs 0 testmode 0
  [3.015934] ath10k_pci :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 :04:00.0: qca9984/qca9994 hw1.0 target 
0x0100 chip_id 0x sub 168c:cafe
  [3.069594] ath10k_pci :04:00.0: kconfig debug 0 debugfs 1 tracing 1 
dfs 0 testmode 0
  [3.069933] ath10k_pci :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 :03:00.0: board_file api 2 bmi_id 0:1 crc32 
85498734
  [4.298899] ath10k_pci :04:00.0: board_file api 2 bmi_id 0:2 crc32 
85498734
  [6.980756] ath10k_pci :03:00.0: unsupported HTC service id: 1536
  [7.087506] ath10k_pci :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 :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 :03:00.0 wlp3s0: renamed from wlan0
  [7.235146] ath10k_pci :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

[Bug 1895333] Re: cannot change the regulatory domain ath10k, QCA9984 (QNAP QWA-AC2600)

2020-09-11 Thread sparks71
** Description changed:

  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 :03:00.0: pci irq msi oper_irq_mode 2 irq_mode 
0 reset_mode 0
  [2.960023] ath10k_pci :04:00.0: pci irq msi oper_irq_mode 2 irq_mode 
0 reset_mode 0
  [3.015612] ath10k_pci :03:00.0: qca9984/qca9994 hw1.0 target 
0x0100 chip_id 0x sub 168c:cafe
  [3.015613] ath10k_pci :03:00.0: kconfig debug 0 debugfs 1 tracing 1 
dfs 0 testmode 0
  [3.015934] ath10k_pci :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 :04:00.0: qca9984/qca9994 hw1.0 target 
0x0100 chip_id 0x sub 168c:cafe
  [3.069594] ath10k_pci :04:00.0: kconfig debug 0 debugfs 1 tracing 1 
dfs 0 testmode 0
  [3.069933] ath10k_pci :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 :03:00.0: board_file api 2 bmi_id 0:1 crc32 
85498734
  [4.298899] ath10k_pci :04:00.0: board_file api 2 bmi_id 0:2 crc32 
85498734
  [6.980756] ath10k_pci :03:00.0: unsupported HTC service id: 1536
  [7.087506] ath10k_pci :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 :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 :03:00.0 wlp3s0: renamed from wlan0
  [7.235146] ath10k_pci :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 ath10k driver incorrectly sets the card to "US" ( phy0 + phy1 )
- 
+ 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)
+  (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)
+  (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)
+  (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
-   (517