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

Commit 1630d25f authored by Felix Fietkau's avatar Felix Fietkau Committed by John W. Linville
Browse files

ath9k_hw: disable PA linearization for AR9462



Support for it is incomplete

Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 381c726c
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -2499,7 +2499,8 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah)
		pCap->tx_desc_len = sizeof(struct ar9003_txc);
		pCap->tx_desc_len = sizeof(struct ar9003_txc);
		pCap->txs_len = sizeof(struct ar9003_txs);
		pCap->txs_len = sizeof(struct ar9003_txs);
		if (!ah->config.paprd_disable &&
		if (!ah->config.paprd_disable &&
		    ah->eep_ops->get_eeprom(ah, EEP_PAPRD))
		    ah->eep_ops->get_eeprom(ah, EEP_PAPRD) &&
		    !AR_SREV_9462(ah))
			pCap->hw_caps |= ATH9K_HW_CAP_PAPRD;
			pCap->hw_caps |= ATH9K_HW_CAP_PAPRD;
	} else {
	} else {
		pCap->tx_desc_len = sizeof(struct ath_desc);
		pCap->tx_desc_len = sizeof(struct ath_desc);