ath10k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* ath10k ch12&13 are disabled for no reason
@ 2020-05-01  8:49 Ionut Radu
  0 siblings, 0 replies; only message in thread
From: Ionut Radu @ 2020-05-01  8:49 UTC (permalink / raw)
  To: ath10k

Hi,

Can you help with this issue:
https://bugzilla.kernel.org/show_bug.cgi?id=200979?
I'm located in Romania/Europe, and I see no reason why ch12&13 are
disabled for my country.
These are the most free channels so I want to use them, and it becomes
frustrating that
they work in windows 10, but not on Fedora 32 unless I compile the
module all the time.

Some details (note that I have changed the regd.c file from:
      case 0x66:
      case 0x69:
          return &ath_world_regdom_66_69;
to:
      case 0x66:
          return &ath_world_regdom_66_69;
      case 0x69:
          return &ath_world_regdom_60_61_62;
)


dmesg:
[    8.190286] ath: loading out-of-tree module taints kernel.
[    8.190327] ath: module verification failed: signature and/or
required key missing - tainting kernel
[    8.368262] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2
irq_mode 0 reset_mode 0
[    8.588384] ath10k_pci 0000:03:00.0: qca9377 hw1.1 target 0x05020001
chip_id 0x003821ff sub 105b:e0a1
[    8.588386] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1
tracing 0 dfs 0 testmode 0
[    8.588848] ath10k_pci 0000:03:00.0: firmware ver
WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32
42e41877
[    8.652782] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A
crc32 8aedfa4a
[    8.747648] ath10k_pci 0000:03:00.0: htt-ver 3.56 wmi-op 4 htt-op 3
cal otp max-sta 32 raw 0 hwcrypto 1
[    8.806691] ath: EEPROM regdomain: 0x69
[    8.806692] ath: EEPROM indicates we should expect a direct regpair map
[    8.806693] ath: Country alpha2 being used: 00
[    8.806693] ath: Regpair used: 0x69
[   10.912252] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[  113.257419] ath: EEPROM regdomain: 0x833a
[  113.257419] ath: EEPROM indicates we should expect a country code
[  113.257420] ath: doing EEPROM country->regdmn map search
[  113.257420] ath: country maps to regdmn code: 0x37
[  113.257421] ath: Country alpha2 being used: GB
[  113.257421] ath: Regpair used: 0x37
[  113.257422] ath: regdomain 0x833a dynamically updated by country element

iw reg get
global
country GB: DFS-ETSI
      (2402 - 2482 @ 40), (N/A, 20), (N/A)
      (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
      (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
      (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
      (57000 - 66000 @ 2160), (N/A, 40), (N/A)

lspci -v
3:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless
Network Adapter (rev 31)
      Subsystem: Foxconn International, Inc. Device e0a1
      Flags: bus master, fast devsel, latency 0, IRQ 134
      Memory at b4000000 (64-bit, non-prefetchable) [size=2M]
      Capabilities: [40] Power Management version 3
      Capabilities: [50] MSI: Enable+ Count=1/8 Maskable+ 64bit-
      Capabilities: [70] Express Endpoint, MSI 00
      Capabilities: [100] Advanced Error Reporting
      Capabilities: [148] Virtual Channel
      Capabilities: [168] Device Serial Number 00-00-00-00-00-00-00-00
      Capabilities: [178] Latency Tolerance Reporting
      Capabilities: [180] L1 PM Substates
      Kernel driver in use: ath10k_pci
      Kernel modules: ath10k_pci

Kernel is:  5.6.7-300.fc32.x86_64 #1 SMP Thu Apr 23 14:13:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

I've studied regd.c and found that at least 75% of the code is useless as it is executed
after the frequencies are already set by ath_world_regdomain function.

ath_world_regdomain is called by ath_regd_init_wiphy
ath_regd_init_wiphy i called by ath_regd_init



Thank you and best regards,
Ionut Radu.



_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-01  8:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01  8:49 ath10k ch12&13 are disabled for no reason Ionut Radu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).