Openwrt/package/kernel/mac80211/patches
Felix Fietkau 09ae540cd4 ath9k: fix power limits on init
The tx power applied by set_txpower is limited by the CTL (conformance
test limit) entries in the EEPROM. These can change based on the user
configured regulatory domain.
Depending on the EEPROM data this can cause the tx power to become too
limited, if the original regdomain CTLs impose lowr limits than the CTLs
of the user configured regdomain.

To fix this issue, set the initial channel limits without any CTL
restrictions and only apply the CTL at run time when setting the channel
and the real tx power.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-03-22 20:49:29 +01:00
..
000-fix_kconfig.patch
001-fix_build.patch
002-change_allconfig.patch
003-remove_bogus_modparams.patch
004-kconfig_backport_fix.patch
005-revert-devcoredump.patch
006-revert-ktime-changes.patch
007-revert-genetlink-changes.patch
008-revert-ndo_stats64-cleanup.patch
009-revert-mtu-changes.patch
010-disable_rfkill.patch
011-backport_strscpy.patch
030-rt2x00_options.patch
040-brcmutil_option.patch
050-lib80211_option.patch
060-no_local_ssb_bcma.patch
070-ath_common_config.patch
080-ath10k_thermal_config.patch
090-remove-cred.patch
100-remove-cryptoapi-dependencies.patch
110-mac80211_keep_keys_on_stop_ap.patch
120-cfg80211_allow_perm_addr_change.patch
130-mac80211-hwsim-hrtimer-clock.patch
150-disable_addr_notifier.patch
201-ath5k-WAR-for-AR71xx-PCI-bug.patch
210-ap_scan.patch
300-ath9k_hw-reset-AHB-WMAC-interface-on-AR91xx.patch
301-ath9k_hw-issue-external-reset-for-QCA955x.patch
302-ath9k_hw-set-spectral-scan-enable-bit-on-trigger-for.patch
303-ath9k-don-t-run-periodic-and-nf-calibation-at-the-sa.patch
304-ath9k-force-rx_clear-when-disabling-rx.patch
305-ath9k-limit-retries-for-powersave-response-frames.patch
306-Revert-ath9k-interpret-requested-txpower-in-EIRP-dom.patch
307-mac80211-add-hdrlen-to-ieee80211_tx_data.patch
308-mac80211-add-NEED_ALIGNED4_SKBS-hw-flag.patch
309-mac80211-minstrel-Enable-STBC-and-LDPC-for-VHT-Rates.patch
310-ath9k-fix-moredata-bit-in-PS-buffered-frame-release.patch
311-ath9k-clear-potentially-stale-EOSP-status-bit-in-int.patch
312-ath9k-report-tx-status-on-EOSP.patch
313-ath9k-fix-block-ack-window-tracking-issues.patch
314-ath9k-rename-tx_complete_work-to-hw_check_work.patch
315-ath9k_hw-check-if-the-chip-failed-to-wake-up.patch
316-ath9k-fix-race-condition-in-enabling-disabling-IRQs.patch
317-rt2x00-avoid-introducing-a-USB-dependency-in-the-rt2.patch
318-0001-brcmfmac-check-brcmf_bus_get_memdump-result-for-erro.patch
319-0002-brcmfmac-be-more-verbose-when-PSM-s-watchdog-fires.patch
319-0003-brcmfmac-use-wiphy_read_of_freq_limits-to-respect-li.patch
319-0004-brcmfmac-merge-two-brcmf_err-macros-into-one.patch
319-0005-brcmfmac-switch-to-C-function-__brcmf_err-for-printi.patch
319-0006-brcmfmac-merge-two-remaining-brcmf_err-macros.patch
320-ath9k-clean-up-and-fix-ath_tx_count_airtime.patch
321-mac80211-fix-CSA-in-IBSS-mode.patch
322-mac80211-don-t-handle-filtered-frames-within-a-BA-se.patch
323-0001-brcmfmac-Use-net_device_stats-from-struct-net_device.patch
323-0002-brcmfmac-always-print-error-when-PSM-s-watchdog-fire.patch
323-0003-brcmfmac-Do-not-print-the-firmware-version-as-an-err.patch
323-0004-brcmfmac-Do-not-complain-about-country-code-00.patch
323-0005-brcmfmac-Handle-status-BRCMF_E_STATUS_ABORT-in-cfg80.patch
323-0006-brcmfmac-move-brcmf_txflowblock-to-bcdc-layer.patch
323-0007-brcmfmac-move-brcmf_txcomplete-to-bcdc-layer.patch
323-0008-brcmfmac-wrap-brcmf_fws_add_interface-into-bcdc-laye.patch
323-0009-brcmfmac-wrap-brcmf_fws_del_interface-into-bcdc-laye.patch
323-0010-brcmfmac-wrap-brcmf_fws_reset_interface-into-bcdc-la.patch
324-ath9k_hw-fix-channel-maximum-power-level-test.patch ath9k: fix power limits on init 2017-03-22 20:49:29 +01:00
400-ath_move_debug_code.patch
401-ath9k_blink_default.patch
402-ath_regd_optional.patch
403-world_regd_fixup.patch
404-regd_no_assoc_hints.patch
405-ath_regd_us.patch
406-ath_relax_default_regd.patch
410-ath9k_allow_adhoc_and_ap.patch
411-ath5k_allow_adhoc_and_ap.patch
420-ath5k_disable_fast_cc.patch
430-add_ath5k_platform.patch
431-add_platform_eeprom_support_to_ath5k.patch
432-ath5k_add_pciids.patch
440-ath5k_channel_bw_debugfs.patch
500-ath9k_eeprom_debugfs.patch
501-ath9k_ahb_init.patch
510-ath9k_intr_mitigation_tweak.patch
511-ath9k_reduce_rxbuf.patch
512-ath9k_channelbw_debugfs.patch
513-ath9k_add_pci_ids.patch
522-mac80211_configure_antenna_gain.patch
530-ath9k_extra_leds.patch
531-ath9k_extra_platform_leds.patch
540-ath9k_reduce_ani_interval.patch
542-ath9k_debugfs_diag.patch
543-ath9k_entropy_from_adc.patch
544-ath9k-ar933x-usb-hang-workaround.patch
545-ath9k_ani_ws_detect.patch
546-ath9k_platform_led_name.patch
547-ath9k_led_defstate_fix.patch
548-ath9k_enable_gpio_chip.patch
549-ath9k_enable_gpio_buttons.patch
550-ath9k-disable-bands-via-dt.patch
551-ath9k_ubnt_uap_plus_hsr.patch
600-01-rt2x00-allow-to-build-rt2800soc-module-for-RT3883.patch
600-02-rt2x00-rt2800lib-enable-support-for-RT3883.patch
600-03-rt2x00-rt2800lib-add-rf_vals-for-RF3853.patch
600-04-rt2x00-rt2800lib-enable-VCO-calibration-for-RF3853.patch
600-05-rt2x00-rt2800lib-add-channel-configuration-function-.patch
600-06-rt2x00-rt2800lib-enable-RF3853-support.patch
600-07-rt2x00-rt2800lib-add-MAC-register-initialization-for.patch
600-08-rt2x00-rt2800soc-fix-rt2800soc_disable_radio-for-RT3.patch
600-09-rt2x00-rt2800lib-add-BBP-register-initialization-for.patch
600-10-rt2x00-rt2800lib-add-RFCSR-initialization-for-RT3883.patch
600-11-rt2x00-rt2800lib-use-the-extended-EEPROM-map-for-RT3.patch
600-12-rt2x00-rt2800lib-force-rf-type-to-RF3853-on-RT3883.patch
600-13-rt2x00-rt2800lib-add-channel-configuration-code-for-.patch
600-14-rt2x00-rt2800lib-fix-txpower_to_dev-function-for-RT3.patch
600-15-rt2x00-rt2800lib-use-correct-txpower-calculation-fun.patch
600-16-rt2x00-rt2800lib-hardcode-txmixer-gain-values-to-zer.patch
600-17-rt2x00-rt2800lib-use-correct-RT-XWI-size-for-RT3883.patch
600-18-rt2x00-rt2800lib-fix-antenna-configuration-for-RT388.patch
600-19-rt2x00-rt2800lib-fix-LNA-gain-configuration-for-RT38.patch
600-20-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch
600-21-rt2x00-rt2800lib-fix-EEPROM-LNA-validation-for-RT388.patch
600-22-rt2x00-rt2800lib-fix-txpower-compensation-for-RT3883.patch
600-23-rt2x00-rt2800mmio-add-a-workaround-for-spurious-TX_F.patch
601-rt2x00-introduce-rt2x00_platform_h.patch
602-rt2x00-introduce-rt2x00eeprom.patch
603-rt2x00-of_load_eeprom_filename.patch
604-rt2x00-load-eeprom-on-SoC-from-a-mtd-device-defines-.patch
606-rt2x00-allow_disabling_bands_through_platform_data.patch
607-rt2x00-add_platform_data_mac_addr.patch
608-rt2x00-allow_disabling_bands_through_dts.patch
609-rt2x00-make-wmac-loadable-via-OF-on-rt288x-305x-SoC.patch
610-rt2x00-change-led-polarity-from-OF.patch
611-rt2x00-add-AP+STA-support.patch
620-rt2x00-enable-rt2800soc-for-mt7620.patch
621-rt2x00-add-support-for-mt7620.patch
653-0001-rtl8xxxu-Accept-firmware-signature-0x88e0.patch
653-0002-rtl8xxxu-Add-initial-code-to-detect-8188eu-devices.patch
653-0003-rtl8xxxu-Add-initial-code-to-parse-8188eu-efuse.patch
653-0004-rtl8xxxu-Detect-8188eu-parts-correctly.patch
653-0005-rtl8xxxu-First-stab-at-rtl8188e_power_on.patch
653-0006-rtl8xxxu-Add-rtl8188e_disabled_to_emu.patch
653-0007-rtl8xxxu-8188e-Enable-scheduler.patch
653-0008-rtl8xxxu-Add-rtl8188e_usb_quirk-for-enabling-MAC-TX-.patch
653-0009-rtl8xxxu-8188e-add-REG_TXDMA_OFFSET_CHK-quirk.patch
653-0010-rtl8xxxu-Add-reserved-page-init-parameters-for-8188e.patch
653-0011-rtl8xxxu-Correct-TX_TOTAL_PAGE_NUM-for-8188eu.patch
653-0012-rtl8xxxu-Add-trxff_boundary-for-8188e.patch
653-0013-rtl8xxxu-8188eu-specify-firmware-block-size-and-set-.patch
653-0014-rtl8xxxu-Add-8188e-mac-init-table.patch
653-0015-rtl8xxxu-Implement-rtl8188eu_init_phy_bb.patch
653-0016-rtl8xxxu-Implement-rtl8188eu_init_phy_rf.patch
653-0017-rtl8xxxu-Use-auto-LLT-init-for-8188e.patch
653-0018-rtl8xxxu-Do-not-set-REG_FPGA0_TX_INFO-on-8188eu.patch
653-0019-rtl8xxxu-Do-not-mess-with-REG_FPGA0_XA_RF_INT_OE-eit.patch
653-0020-rtl8xxxu-Set-transfer-page-size-for-8188eu.patch
653-0021-rtl8xxxu-Enable-TX-report-timer-on-8188eu.patch
653-0022-rtl8xxxu-Setup-interrupts-for-8188eu.patch
653-0023-rtl8xxxu-Use-rxdesc16-and-32-byte-tx-descriptors-for.patch
653-0024-rtl8xxxu-8188eu-use-same-ADDA-on-parameters-as-8723a.patch
653-0025-rtl8xxxu-Add-PHY-IQ-calibration-code-for-8188eu.patch
653-0026-rtl8xxxu-8188eu-uses-the-gen2-thermal-meter.patch
653-0027-rtl8xxxu-Set-REG_USB_HRPWM-to-0-for-8188eu.patch
653-0028-rtl8xxxu-Implement-rtl8188eu_config_channel.patch
653-0029-rtl8xxxu-Use-gen2-H2C-commands-for-8188eu.patch
653-0030-rtl8xxxu-Initialize-GPIO-settings-for-8188eu.patch
653-0031-rtl8xxxu-Add-simple-rtl8188eu_rf_on-routine.patch
653-0032-rtl8xxxu-Implement-rtl8188e_disable_rf.patch
653-0033-rtl8xxxu-Update-8188e-efuse-definition-for-power-val.patch
653-0034-rtl8xxxu-Implement-rtl8188e_set_tx_power.patch
653-0035-rtl8xxxu-Implement-rtl8xxxu_fill_txdesc_v3-for-8188e.patch
653-0036-rtl8xxxu-Add-some-8188eu-registers-and-update-CCK0_A.patch
653-0037-rtl8xxxu-Improve-register-description-for-REG_FPGA1_.patch
653-0038-rtl8xxxu-properly-detect-RTL8188EU-devices.patch
653-0039-rtl8xxxu-Implement-8188eu-specific-8051-reset-functi.patch
653-0040-rtl8xxxu-Disable-packet-DMA-aggregation-on-8188eu.patch
653-0041-rtl8xxxu-8188eu-set-REG_OFDM0_XA_AGC_CORE1-to-match-.patch
653-0042-rtl8xxxu-Fix-rtl8188eu-connection-fail.patch
653-0043-rtl8xxxu-Do-not-set-auto-rate-fallback-on-8188eu.patch
653-0044-rtl8xxxu-Enable-8188eu-driver.patch
653-0045-rtl8xxxu-Add-rtl8188etv-to-USB-device-list.patch
653-0046-rtl8xxxu-Add-sitecom-dongle-to-USB-device-list.patch
653-0047-rtl8xxxu-Implement-rtl8188eu_active_to_emu.patch
653-0048-rtl8xxxu-Implement-rtl8188eu_power_off.patch
653-0049-rtl8xxxu-Add-rtl8188eu-USB-ID-for-D-Link-USB-GO-N150.patch
653-0050-rtl8xxxu-Clear-SYS_FUNC_UPLL-during-power-up-on-8188.patch
653-0051-rtl8xxxu-Early-enable-of-WEP-TKIP-security-on-8188eu.patch
653-0052-rtl8xxxu-Correct-power-down-sequence-for-8188eu.patch
653-0053-rtl8xxxu-Reset-8188eu-REG_GPIO_MUXCFG-on-power-off.patch
653-0054-rtl8xxxu-Handle-devices-with-a-smaller-LLT-buffer.patch
653-0055-rtl8xxxu-Fix-reloading-of-driver-for-8188eu-devices.patch
653-0056-rtl8xxxu-Make-sure-to-enable-OFDM-paths-for-8188eu-i.patch
653-0057-rtl8xxxu-Add-rpt_sel-entry-to-struct-rtl8xxxu_rxdesc.patch
700-mwl8k-missing-pci-id-for-WNR854T.patch
801-libertas-configure-sysfs-links.patch
802-libertas-set-wireless-macaddr.patch
810-b43-gpio-mask-module-option.patch
811-b43_no_pio.patch
812-b43-add-antenna-control.patch
813-b43-reduce-number-of-RX-slots.patch
814-b43-only-use-gpio-0-1-for-led.patch
815-b43-always-take-overlapping-devs.patch
850-brcmsmac-remove-extra-regulation-restriction.patch
860-brcmfmac-register-wiphy-s-during-module_init.patch
861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch
862-brcmfmac-Disable-power-management.patch
863-brcmfmac-add-in-driver-tables-with-country-codes.patch
864-brcmfmac-do-not-use-internal-roaming-engine-by-default.patch
921-ath10k_init_devices_synchronously.patch
930-ath10k_add_tpt_led_trigger.patch
940-mwl8k_init_devices_synchronously.patch
960-0010-ath10k-limit-htt-rx-ring-size.patch
960-0011-ath10k-limit-pci-buffer-size.patch