aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/hw.c')
-rw-r--r--drivers/net/wireless/ath9k/hw.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c
index 6939e4142325..4af1aac16785 100644
--- a/drivers/net/wireless/ath9k/hw.c
+++ b/drivers/net/wireless/ath9k/hw.c
@@ -2803,6 +2803,8 @@ bool ath9k_hw_getisr(struct ath_hw *ah, enum ath9k_int *masked)
2803 mask2 |= ATH9K_INT_GTT; 2803 mask2 |= ATH9K_INT_GTT;
2804 if (isr2 & AR_ISR_S2_CST) 2804 if (isr2 & AR_ISR_S2_CST)
2805 mask2 |= ATH9K_INT_CST; 2805 mask2 |= ATH9K_INT_CST;
2806 if (isr2 & AR_ISR_S2_TSFOOR)
2807 mask2 |= ATH9K_INT_TSFOOR;
2806 } 2808 }
2807 2809
2808 isr = REG_READ(ah, AR_ISR_RAC); 2810 isr = REG_READ(ah, AR_ISR_RAC);
@@ -2948,7 +2950,9 @@ enum ath9k_int ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints)
2948 if (ints & ATH9K_INT_DTIMSYNC) 2950 if (ints & ATH9K_INT_DTIMSYNC)
2949 mask2 |= AR_IMR_S2_DTIMSYNC; 2951 mask2 |= AR_IMR_S2_DTIMSYNC;
2950 if (ints & ATH9K_INT_CABEND) 2952 if (ints & ATH9K_INT_CABEND)
2951 mask2 |= (AR_IMR_S2_CABEND); 2953 mask2 |= AR_IMR_S2_CABEND;
2954 if (ints & ATH9K_INT_TSFOOR)
2955 mask2 |= AR_IMR_S2_TSFOOR;
2952 } 2956 }
2953 2957
2954 if (ints & (ATH9K_INT_GTT | ATH9K_INT_CST)) { 2958 if (ints & (ATH9K_INT_GTT | ATH9K_INT_CST)) {
@@ -3118,6 +3122,8 @@ void ath9k_hw_set_sta_beacon_timers(struct ath_hw *ah,
3118 AR_TBTT_TIMER_EN | AR_TIM_TIMER_EN | 3122 AR_TBTT_TIMER_EN | AR_TIM_TIMER_EN |
3119 AR_DTIM_TIMER_EN); 3123 AR_DTIM_TIMER_EN);
3120 3124
3125 /* TSF Out of Range Threshold */
3126 REG_WRITE(ah, AR_TSFOOR_THRESHOLD, bs->bs_tsfoor_threshold);
3121} 3127}
3122 3128
3123/*******************/ 3129/*******************/