Skip to content
Snippets Groups Projects
user avatar
Sven Eckelmann authored
ath10k has to switch the regulatory domain when switching the default
country when ATH_USER_REGD is enabled. This is for example important when
switching from country US (FCC) to DE (ETSI). The ath implementation will
use ath_reg_dyn_country_user_allow to check if this is allowed.

Unfortunately, this function always seems to return false to
ath_reg_notifier_apply even when ATH_USER_REGD is enabled. But it must
actually always accept the requests from the user (when ATH_USER_REGD is
enabled) to correctly set the conformance test limits in the ath10k binary
blob.

Not doing it will sometimes allow too high transmit powers on edge channels
for correctly calibrated devices outside their default regulatory domain.

Signed-off-by: default avatarSven Eckelmann <sven.eckelmann@open-mesh.com>
47185281
History
Name Last commit Last update
..
0001-tools-Makefile-fix-host-tools-build-dependencies.patch
0002-procd-add-support-for-alternative-rc.d-directories.patch
0003-odhcp6c-always-accept-RDNSS-independent-of-the-default-router-lifetime.patch
0004-busybox-enable-telnet-only-when-root-password-is-really-empty-not-when-it-is-locked.patch
0005-base-files-disable-reset-button-handling.patch
0006-ar71xx-define-wmac-reset-function-for-QCA955x.patch
0007-mac80211-hostapd-iw-.-update.patch
0008-iwinfo-update-NanoStation-Loco-txpower-offsets.patch
0009-hostapd-prevent-channel-switch-for-5GHz.patch
0010-ipv6-fix-crash-on-ICMPv6-redirects-with-prohibited-blackholed-source.patch
0011-lua-fix-installation-of-headers-for-host-build.patch
0012-kernel-fs-seq_file-fallback-to-vmalloc-instead-of-oom-kill-processes.patch
0013-fix-UBNT-XM-model-detection.patch
0014-base-files-implemented-basic-GPIO-control.patch
0015-ar71xx-assign-proper-GPIO-pin-for-Ubiquiti-Nanostation-models.patch
0016-netifd-update-to-latest-version.patch
0017-x86-fix-platform_export_bootpart-for-Xen-virtual-disks.patch
0018-Support-LibreSSL-as-provider-of-openssl.patch
0019-ar71xx-check-both-HWID-and-HWREV-on-upgrades-of-TP-LINK-devices.patch
0020-ar71xx-avoid-AR71XX_MODEL-ending-with-a-space-on-some-TP-LINK-like-devices.patch
0021-ar71xx-fix-the-revision-of-a-few-TP-LINK-devices-in-AR71XX_MODEL-to-match-labels-image-names.patch
0022-ar71xx-build-image-for-TL-WR710N-v2.1.patch
0023-xtables-addons-build-fix-configure-compatiblity-with-POSIX-shells.patch
0024-tools-add-tar-host-build-required-for-sort-name-which-was-only-added-in-the-latest-version.patch
0025-tools-compile-flock-before-everything-else.patch
0026-rules.mk-make-the-locked-template-available-even-if-flock-has-not-been-built-yet-fall-back-to-unlocked-shell-command.patch
0027-build-add-locking-for-downloads-fixes-race-conditions-with-multiple-variants.patch
0028-download.mk-fix-packed-checkout-mirroring-support.patch
0029-kernel-backport-spi-nor-driver-from-4.4.9.patch
0030-kernel-mtd-spi-nor-wait-until-status-register-writes-are-ready.patch
0031-kernel-mtd-spi-nor-unlock-Winbond-flashs.patch
0032-ath79-dev-eth-fix-QCA9561-set-phy-interface-mode-and-mask.patch
0033-ar71xx-use-correct-PLL-configuration-register-bitmask-for-QCA956x-SoC.patch
0034-ar71xx-update-QCA956x-support.patch
0035-ar71xx-fold-patch-622-MIPS-ath79-add-support-for-QCA956x-ethernet.patch-into-files.patch
0036-ar71xx-fix-MDIO-bus-probe-on-QCA956x.patch
0037-ar71xx-fix-qca956x-ethernet-initialization.patch
0038-ar71xx-Support-for-Ubiquiti-UniFi-AP-AC-LITE.patch
0039-ar71xx-Fix-eth0-support-for-Ubiquiti-UniFi-AP-AC.patch
0040-ar71xx-Rename-unifiac-to-unifiac-lite.patch
0041-ar71xx-Add-support-for-Ubiquiti-UniFi-AP-AC-PRO.patch
0042-libjson-c-Add-support-for-custom-format-strings-for-doubles.patch
0043-ath9k-add-HSR-tuner-support-for-UniFi-Outdoor-Plus.patch
0044-ar71xx-Send-power-to-USB-port-on-WNR2200.patch
0045-ar71xx-WNR2200-fix-for-random-WLAN-MAC.patch
0046-ar71xx-WNR2200-enable-control-of-all-LEDs-and-buttons.patch
0047-ar71xx-add-GL-AR150-support.patch
0048-build-don-t-add-j-for-parallel-builds-with-Make-4.2.patch
0049-tools-cmake-fix-parallel-build-with-Make-4.2.patch
0050-linux-make-IPv6-builtin-if-selected-saves-30KB.patch
0051-package-ipkg.mk-fix-Provides-for-packages-with-multiple-PROVIDES-entries.patch
0052-kernel-remove-packaging-of-kmod-crypto-core-and-kmod-crypto-arc4.patch
0053-x86-stop-relying-on-hexdump-for-image-build-signature.patch
0054-mt76-fix-build-with-kernel-3.18.patch
0055-ramips-Support-LEDs-on-D-Link-DIR-860L-B1.patch
0056-ramips-add-button-support-and-make-LEDs-known-to-userspace-for-DIR-860L-B1.patch
0057-ramips-set-correct-LAN-WAN-MAC-addresses-on-DIR-860L-B1.patch
0058-ar71xx-add-support-for-TP-LINK-TL-WR842N-ND-v3.patch
0059-x86-generic-enable-CONFIG_SATA_VIA.patch
0060-libpcap-fix-dependency-of-install-shared-so-make-target.patch
0061-ar71xx-add-revision-detection-for-D-Link-DIR-505-A1-A2.patch
0062-ar71xx-don-t-use-D-Link-DIR-505-status-LED-as-ethernet-indicator.patch
0063-ar71xx-cpe510-enable-LNA-for-CPE210-220-510-520.patch
0064-ar71xx-cpe510-split-profile-into-2-profiles-cpe210-and-cpe510.patch
0065-firmware-utils-backport-tplink-safeloader-from-LEDE-05abcf518d5e2b7d6526fd7a87a88a268030694a.patch
0066-ar71xx-split-CPE210-from-CPE510-profile.patch
0067-dropbear-update-to-LEDE-277f85c21ae0ede4e15e66cbd801b9fb502531df.patch
0068-ar71xx-Added-support-for-TL-WA801NDv3.patch
0069-firmware-utils-mktplinkfw-backport-from-LEDE-a4fc62bc0ea4010ddbfbd738453c9db70988a57c.patch
0070-ar71xx-backport-support-for-new-TP-Link-region-codes.patch
0071-ath10k-firmware-add-ath10k-firmware-qca988x-11s.patch
0072-ath9k-revert-temperature-compensation-support-patch-FS-111.patch
0073-ath9k-remove-intermediate-queueing-patch-until-it-is-fixed-properly.patch
0074-ar71xx-set-EU-region-code-for-TP-Link-TL-WA901ND-v4.patch
0075-ar71xx-fix-syntax-error-in-etc-uci-defaults-01_leds.patch
0076-ar71xx-generate-region-coded-factory-images-for-TP-Link-TL-WR841ND-v11.patch
0077-x86-64-add-pata-drivers.patch
0078-x86-add-mmc-drivers-to-generic-64.patch
0079-ath9k-fix-ath9k_hw_gpio_get-to-return-0-or-1-on-success.patch
0080-ar71xx-ramips-reduce-CPU-load-and-flickering-on-devices-using-rsslieds.patch
0081-kernel-add-at803x-fix-for-sgmii-mode.patch
0082-ar71xx-fix-LEDs-and-sysupgrade-support-for-TL-WA801ND-v3.patch
0083-ar71xx-simplify-model-detection-for-TP-Link-Pharos-devices.patch
0084-ar71xx-generic-add-Support-for-TP-LINK-TL-WR940N-v4.patch
0085-x86-preserve-partition-table-on-sysupgrade.patch
0086-x86-make-sysupgrade-work-without-partx.patch
0087-x86-search-PARTUUID-in-any-block-device.patch
0088-x86-generalize-partition-discovery-for-sysupgrade.patch
0089-ar71xx-rename-mktplinkfw-initramfs-to-more-generic-mktplinkfw-combined.patch
0090-firmware-utils-add-support-for-TL-WR1043ND-v4-to-mktplinkfw.patch
0091-ar71xx-add-support-for-TP-LINK-WR1043ND-v4.patch
0092-firmware-utils-tplink-safeloader-add-support-for-TP-Link-WBS210-510-1.2.patch
0093-ar71xx-add-support-for-TP-Link-WBS210-510.patch
0094-mac80211-Allow-switching-of-the-ath-regulatory-domain.patch