Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f3d4505d authored by Marek Lindner's avatar Marek Lindner Committed by John W. Linville
Browse files

ath9k: remove eeprom txgain override for minor version < 19



ath9k_hw_4k_get_eeprom() overrides the eeprom value for txgain if the
minor version is not 19 or above with a value of 0.
ar9002_hw_init_mode_gain_regs() relies on this information to
determine whether this is a high power wifi card or not. The override
caused the driver to always use the 'normal' power tables even for
high power devices if their minor version was not high enough. Thus
leading to reduced power output.

This isn't needed for the AR9285; the check originated with the
AR9280 setup code which requires the EEPROM version check.

Signed-off-by: default avatarMarek Lindner <lindner_marek@yahoo.de>
Acked-by: default avatarFelix Fietkau <nbd@openwrt.org>
Acked-by: default avatarAdrian Chadd <adrian@freebsd.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f612cedf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment