ath9k_hw: add tx gain tables for newer devices
Improves stability on affected devices and also fixes the Tx IQ calibration related regression on some AR9340 devices such as the TP-Link TL-WDR4300. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
e2aa19fadd
commit
eab6d7921d
@@ -789,6 +789,7 @@
|
||||
#define AR_SREV_REVISION_9271_11 1
|
||||
#define AR_SREV_VERSION_9300 0x1c0
|
||||
#define AR_SREV_REVISION_9300_20 2 /* 2.0 and 2.1 */
|
||||
#define AR_SREV_REVISION_9300_22 3
|
||||
#define AR_SREV_VERSION_9330 0x200
|
||||
#define AR_SREV_REVISION_9330_10 0
|
||||
#define AR_SREV_REVISION_9330_11 1
|
||||
@@ -869,6 +870,9 @@
|
||||
(((_ah)->hw_version.macVersion == AR_SREV_VERSION_9300))
|
||||
#define AR_SREV_9300_20_OR_LATER(_ah) \
|
||||
((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9300)
|
||||
#define AR_SREV_9300_22(_ah) \
|
||||
(AR_SREV_9300(ah) && \
|
||||
((_ah)->hw_version.macRev == AR_SREV_REVISION_9300_22))
|
||||
|
||||
#define AR_SREV_9330(_ah) \
|
||||
(((_ah)->hw_version.macVersion == AR_SREV_VERSION_9330))
|
||||
|
Reference in New Issue
Block a user