Closed tmshlvck closed 5 months ago
Basically, setting REGDOMAIN=CZ
in /etc/default/crda should help. But it seems it doesn't work in Jessie for some reason, it can be fixed by using wireless-regdb
package (version 2015.07.20-1) from Stretch. It's safe to upgrade this package.
After regdb upgrading, outdoor 5GHz frequencies are normally usable as expected with (our) CZ regdomain. I can't explain why, as from regdbdump there's no difference.
Tested with firmware-atheros
.deb package from Jessie backports (where's required firmware already included, there's no need to download firmware manualy). Backports are required in this case (firmware-atheros from Jessie doesn't contain required firmware binary)
It seems that this issue reappeared in Buster and perhaps the same applies to Bullseye - we use stock Debian kernel and it seems that upstream made setting the regdomain for ath10k even more complicated: https://forums.debian.net//viewtopic.php?f=5&t=141402
Testing is needed.
This is a mix of two issues - missing firmware has been resolved long time ago.
There are many MiniPCIe cards that have 0x00 country code set in EPROM which causes many channels to go disabled or no-IR (= can not be used in AP mode). There is an excellent description of the issue here https://github.com/pcengines/apu2-documentation/issues/189
With the current (Bookworm) kernel the ath10k works but the cards with wrong country code in EPROM are limited to wrong set of channels. This looks promissing: https://github.com/AndreySV/ath_regdm_patcher
Closing this now as the original issue is resolved and the regdomain issue is off-topic here and it affects only cards with wrong EPROM settings.
The resulting image does not contain ath10k firmware.
I have tested only the 10.2.4.70.54 from https://github.com/kvalo/ath10k-firmware.git and it does not work with all the channels that should be accessible in the regdomain set by iw reg set CZ:
Even though following frequencies should be accessible:
Anybody knows what to do?