linux_dsm_epyc7002/drivers/net/wireless/ath/ath9k
Gabor Juhos 75acd5a82a ath9k: fix TX power reporting on AR9003 chips
The current code unconditionally reads the target
power values for all modes from the EEPROM. However
In 'ar9003_hw_set_power_per_rate_table' the regulatory
caps are applied only on a mode specific subset of the
power values.

The reported TX power level is calculated from the
maximum of the power values. Because some of these
values are uncapped in certain cases, the reported
TX power will be wrong.

On the older chipset, we don't have such problems
because only the mode specific subset of the power
levels are retrieved from the EEPROM on those. Do
the same for the AR9003 chips to fix the issue.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-04-23 15:34:06 -04:00
..
ahb.c
ani.c ath9k: reset noiseimmunity level to default 2012-04-16 14:38:44 -04:00
ani.h ath9k_hw: improve ANI processing and rx desensitizing parameters 2012-04-09 16:05:52 -04:00
ar5008_initvals.h
ar5008_phy.c ath9k: remove dead code 2012-04-12 15:10:32 -04:00
ar9001_initvals.h
ar9002_calib.c
ar9002_hw.c ath9k: inline AR9271 1.0 INI overrides 2012-03-15 13:45:08 -04:00
ar9002_initvals.h ath9k: inline AR9271 1.0 INI overrides 2012-03-15 13:45:08 -04:00
ar9002_mac.c ath9k: Gather and report IRQ sync_cause errors. 2012-04-16 14:16:58 -04:00
ar9002_phy.c ath9k: remove dead code 2012-04-12 15:10:32 -04:00
ar9002_phy.h ath9k: inline AR9271 1.0 INI overrides 2012-03-15 13:45:08 -04:00
ar9003_2p2_initvals.h ath9k_hw: Update rx gain initval to improve rx sensitivity 2012-04-09 16:05:56 -04:00
ar9003_calib.c
ar9003_eeprom.c ath9k: fix TX power reporting on AR9003 chips 2012-04-23 15:34:06 -04:00
ar9003_eeprom.h ath9k: use ath9k_hw_fbin2freq instead of FBIN2FREQ 2012-04-17 14:57:13 -04:00
ar9003_hw.c ath9k_hw: Remove BTCOEX initvals 2012-04-13 14:32:50 -04:00
ar9003_mac.c ath9k: Gather and report IRQ sync_cause errors. 2012-04-16 14:16:58 -04:00
ar9003_mac.h
ar9003_mci.c
ar9003_mci.h
ar9003_paprd.c
ar9003_phy.c ath9k: use ath9k_hw_fbin2freq instead of FBIN2FREQ 2012-04-17 14:57:13 -04:00
ar9003_phy.h
ar9003_rtt.c
ar9003_rtt.h
ar9330_1p1_initvals.h
ar9330_1p2_initvals.h
ar9340_initvals.h
ar9462_2p0_initvals.h ath9k: fix ibss fair beacon distribution for AR9462 2012-04-16 14:38:41 -04:00
ar9485_initvals.h
ar9580_1p0_initvals.h
ath9k.h ath9k_hw: add support for 8 AP mode interfaces 2012-04-16 14:19:28 -04:00
beacon.c ath9k: fix beacon descriptor 2012-04-16 14:38:46 -04:00
btcoex.c
btcoex.h
calib.c ath9k: fix max noise floor threshold 2012-03-26 15:07:23 -04:00
calib.h
common.c
common.h
debug.c ath9k: Gather and report IRQ sync_cause errors. 2012-04-16 14:16:58 -04:00
debug.h ath9k: Gather and report IRQ sync_cause errors. 2012-04-16 14:16:58 -04:00
dfs_debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
dfs_debug.h
dfs_pattern_detector.c ath9k: add DFS pattern detector 2012-04-11 16:23:52 -04:00
dfs_pattern_detector.h ath9k: add DFS pattern detector 2012-04-11 16:23:52 -04:00
dfs_pri_detector.c ath9k: add DFS pattern detector 2012-04-11 16:23:52 -04:00
dfs_pri_detector.h ath9k: add DFS pattern detector 2012-04-11 16:23:52 -04:00
dfs.c ath9k: update to DFS pattern detector interface 2012-04-11 16:23:54 -04:00
dfs.h ath9k: update to DFS pattern detector interface 2012-04-11 16:23:54 -04:00
eeprom_4k.c
eeprom_9287.c ath9k: introduce ath9k_hw_get_scaled_power helper 2012-04-16 14:38:53 -04:00
eeprom_def.c ath9k: introduce ath9k_hw_get_scaled_power helper 2012-04-16 14:38:53 -04:00
eeprom.c ath9k: move ath9k_hw_fbin2freq function to eeprom.h 2012-04-17 14:57:13 -04:00
eeprom.h ath9k: move ath9k_hw_fbin2freq function to eeprom.h 2012-04-17 14:57:13 -04:00
gpio.c ath9k: do not register LEDs on AR913x 2012-04-16 14:19:28 -04:00
hif_usb.c ath9k_htc: Add Panasonic N5HBZ0000055 device id 2012-04-13 14:32:51 -04:00
hif_usb.h
htc_drv_beacon.c
htc_drv_debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
htc_drv_gpio.c
htc_drv_init.c mac80211: don't always advertise remain-on-channel 2012-04-10 14:54:04 -04:00
htc_drv_main.c ath9k_hw: remove ath9k_hw_htc_resetinit 2012-03-15 13:43:14 -04:00
htc_drv_txrx.c
htc_hst.c ath: Add and use pr_fmt, convert printks to pr_<level> 2012-04-10 14:52:13 -04:00
htc_hst.h
htc.h
hw-ops.h
hw.c ath9k_hw: add support for 8 AP mode interfaces 2012-04-16 14:19:28 -04:00
hw.h ath9k: Fix compile warnings when DEBUGFS is disabled. 2012-04-23 15:28:34 -04:00
init.c ath9k: add possible wiphy interface combinations 2012-04-23 15:28:33 -04:00
Kconfig
mac.c ath9k_hw: remove ath9k_hw_gettxintrtxqs 2012-03-15 13:45:04 -04:00
mac.h ath9k_hw: remove ath9k_hw_gettxintrtxqs 2012-03-15 13:45:04 -04:00
main.c ath9k: optimize the hardware hang check 2012-04-16 14:19:28 -04:00
Makefile ath9k: add DFS pattern detector 2012-04-11 16:23:52 -04:00
mci.c
mci.h
pci.c ath: Add and use pr_fmt, convert printks to pr_<level> 2012-04-10 14:52:13 -04:00
phy.h
rc.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2012-04-12 13:49:28 -04:00
rc.h
recv.c ath9k: Fix compile warnings when DEBUGFS is disabled. 2012-04-23 15:28:34 -04:00
reg.h ath9k_hw: Fix enabling of MCI and RTT 2012-03-12 14:19:37 -04:00
wmi.c
wmi.h
xmit.c ath9k_hw: remove ath9k_hw_gettxintrtxqs 2012-03-15 13:45:04 -04:00