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

Commit a9abe302 authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Kalle Valo
Browse files

ath9k: enable TPC by default



Enable hw TPC by default on AR9003 based chips

Signed-off-by: default avatarLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent b30b2e0f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -422,6 +422,9 @@ static void ath9k_hw_init_defaults(struct ath_hw *ah)
	ah->power_mode = ATH9K_PM_UNDEFINED;
	ah->htc_reset_init = true;

	/* ar9002 does not support TPC for the moment */
	ah->tpc_enabled = !!AR_SREV_9300_20_OR_LATER(ah);

	ah->ani_function = ATH9K_ANI_ALL;
	if (!AR_SREV_9300_20_OR_LATER(ah))
		ah->ani_function &= ~ATH9K_ANI_MRC_CCK;