diff mbox series

[1/9] ath9k_hw: set spectral scan enable bit on trigger for AR9003+

Message ID 20180723160300.58024-1-nbd@nbd.name (mailing list archive)
State Accepted
Commit a2a49e86b325fa2e44b0b7407f07e6eab6cc3edd
Delegated to: Kalle Valo
Headers show
Series [1/9] ath9k_hw: set spectral scan enable bit on trigger for AR9003+ | expand

Commit Message

Felix Fietkau July 23, 2018, 4:02 p.m. UTC
AR9002 code and the QCA AR9003+ reference code do the same.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 drivers/net/wireless/ath/ath9k/ar9003_phy.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Kalle Valo July 31, 2018, 7:55 a.m. UTC | #1
Felix Fietkau <nbd@nbd.name> wrote:

> AR9002 code and the QCA AR9003+ reference code do the same.
> 
> Signed-off-by: Felix Fietkau <nbd@nbd.name>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

8 patches applied to ath-next branch of ath.git, thanks.

a2a49e86b325 ath9k_hw: set spectral scan enable bit on trigger for AR9003+
3a69dd366866 ath9k: don't run periodic and nf calibation at the same time
11f7f4f9c0d2 ath9k: fix moredata bit in PS buffered frame release
e20c7c91ef60 ath9k: clear potentially stale EOSP status bit in intermediate queues
36e14a787dd0 ath9k: report tx status on EOSP
1226f9e10296 ath9k: fix block-ack window tracking issues
461d8a6bb987 ath9k_hw: fix channel maximum power level test
52d7e0e5339b ath9k: fix more-data flag for buffered multicast packets
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
index fe5102ca5010..98c5f524a360 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
@@ -1800,6 +1800,8 @@  static void ar9003_hw_spectral_scan_config(struct ath_hw *ah,
 
 static void ar9003_hw_spectral_scan_trigger(struct ath_hw *ah)
 {
+	REG_SET_BIT(ah, AR_PHY_SPECTRAL_SCAN,
+		    AR_PHY_SPECTRAL_SCAN_ENABLE);
 	/* Activate spectral scan */
 	REG_SET_BIT(ah, AR_PHY_SPECTRAL_SCAN,
 		    AR_PHY_SPECTRAL_SCAN_ACTIVE);