ath9k-devel.lists.ath9k.org archive mirror
 help / color / mirror / Atom feed
* [ath9k-devel] [PATCH] ath9k: Fix programming of minCCA power threshold
@ 2016-06-17  9:58 Sven Eckelmann
  2016-06-30 11:14 ` [ath9k-devel] " Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Eckelmann @ 2016-06-17  9:58 UTC (permalink / raw)
  To: ath9k-devel

The function ar9003_hw_apply_minccapwr_thresh takes as second parameter not
a pointer to the channel but a boolean value describing whether the channel
is 2.4GHz or not. This broke (according to the origin commit) the ETSI
regulatory compliance on 5GHz channels.

Fixes: 3533bf6b15a0 ("ath9k: Fix regulatory compliance")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Cc: Simon Wunderlich <sw@simonwunderlich.de>
Cc: Sujith Manoharan <c_manoha@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
index dec1a31..e2083f4 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
@@ -4176,7 +4176,7 @@ static void ath9k_hw_ar9300_set_board_values(struct ath_hw *ah,
 	if (!AR_SREV_9330(ah) && !AR_SREV_9340(ah) && !AR_SREV_9531(ah))
 		ar9003_hw_internal_regulator_apply(ah);
 	ar9003_hw_apply_tuning_caps(ah);
-	ar9003_hw_apply_minccapwr_thresh(ah, chan);
+	ar9003_hw_apply_minccapwr_thresh(ah, is2ghz);
 	ar9003_hw_txend_to_xpa_off_apply(ah, is2ghz);
 	ar9003_hw_thermometer_apply(ah);
 	ar9003_hw_thermo_cal_apply(ah);
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [ath9k-devel] ath9k: Fix programming of minCCA power threshold
  2016-06-17  9:58 [ath9k-devel] [PATCH] ath9k: Fix programming of minCCA power threshold Sven Eckelmann
@ 2016-06-30 11:14 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2016-06-30 11:14 UTC (permalink / raw)
  To: ath9k-devel

Sven Eckelmann <sven@narfation.org> wrote:
> The function ar9003_hw_apply_minccapwr_thresh takes as second parameter not
> a pointer to the channel but a boolean value describing whether the channel
> is 2.4GHz or not. This broke (according to the origin commit) the ETSI
> regulatory compliance on 5GHz channels.
> 
> Fixes: 3533bf6b15a0 ("ath9k: Fix regulatory compliance")
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> Cc: Simon Wunderlich <sw@simonwunderlich.de>
> Cc: Sujith Manoharan <c_manoha@qca.qualcomm.com>

Thanks, 1 patch applied to ath-next branch of ath.git:

aaab50fcea78 ath9k: Fix programming of minCCA power threshold

-- 
Sent by pwcli
https://patchwork.kernel.org/patch/9183173/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-30 11:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17  9:58 [ath9k-devel] [PATCH] ath9k: Fix programming of minCCA power threshold Sven Eckelmann
2016-06-30 11:14 ` [ath9k-devel] " Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).