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

Commit 81a91d57 authored by Rajkumar Manoharan's avatar Rajkumar Manoharan Committed by John W. Linville
Browse files

ath9k_hw: Fix rx latency of 11a mode



Rx latecy to start signal(usec) of 11a is 41 not 37 and
also corrected the rx delay in quarter rate.

Signed-off-by: default avatarRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4c5ade41
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -975,6 +975,9 @@ void ath9k_hw_init_global_settings(struct ath_hw *ah)
	if (ah->misc_mode != 0)
		REG_SET_BIT(ah, AR_PCU_MISC, ah->misc_mode);

	if (IS_CHAN_A_FAST_CLOCK(ah, chan))
		rx_lat = 41;
	else
		rx_lat = 37;
	tx_lat = 54;

@@ -989,7 +992,7 @@ void ath9k_hw_init_global_settings(struct ath_hw *ah)
		sifstime = 32;
	} else if (IS_CHAN_QUARTER_RATE(chan)) {
		eifs = 340;
		rx_lat *= 4;
		rx_lat = (rx_lat * 4) - 1;
		tx_lat *= 4;
		if (IS_CHAN_A_FAST_CLOCK(ah, chan))
		    tx_lat += 22;