aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/pcu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/pcu.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/pcu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath5k/pcu.c b/drivers/net/wireless/ath/ath5k/pcu.c
index aecd72417490..618ee54d5fe5 100644
--- a/drivers/net/wireless/ath/ath5k/pcu.c
+++ b/drivers/net/wireless/ath/ath5k/pcu.c
@@ -32,7 +32,7 @@
32#include "base.h" 32#include "base.h"
33 33
34/* 34/*
35 * AR5212+ can use higher rates for ack transmition 35 * AR5212+ can use higher rates for ack transmission
36 * based on current tx rate instead of the base rate. 36 * based on current tx rate instead of the base rate.
37 * It does this to better utilize channel usage. 37 * It does this to better utilize channel usage.
38 * This is a mapping between G rates (that cover both 38 * This is a mapping between G rates (that cover both
@@ -643,14 +643,14 @@ void ath5k_hw_init_beacon(struct ath5k_hw *ah, u32 next_beacon, u32 interval)
643 /* Flush any pending BMISS interrupts on ISR by 643 /* Flush any pending BMISS interrupts on ISR by
644 * performing a clear-on-write operation on PISR 644 * performing a clear-on-write operation on PISR
645 * register for the BMISS bit (writing a bit on 645 * register for the BMISS bit (writing a bit on
646 * ISR togles a reset for that bit and leaves 646 * ISR toggles a reset for that bit and leaves
647 * the rest bits intact) */ 647 * the remaining bits intact) */
648 if (ah->ah_version == AR5K_AR5210) 648 if (ah->ah_version == AR5K_AR5210)
649 ath5k_hw_reg_write(ah, AR5K_ISR_BMISS, AR5K_ISR); 649 ath5k_hw_reg_write(ah, AR5K_ISR_BMISS, AR5K_ISR);
650 else 650 else
651 ath5k_hw_reg_write(ah, AR5K_ISR_BMISS, AR5K_PISR); 651 ath5k_hw_reg_write(ah, AR5K_ISR_BMISS, AR5K_PISR);
652 652
653 /* TODO: Set enchanced sleep registers on AR5212 653 /* TODO: Set enhanced sleep registers on AR5212
654 * based on vif->bss_conf params, until then 654 * based on vif->bss_conf params, until then
655 * disable power save reporting.*/ 655 * disable power save reporting.*/
656 AR5K_REG_DISABLE_BITS(ah, AR5K_STA_ID1, AR5K_STA_ID1_PWR_SV); 656 AR5K_REG_DISABLE_BITS(ah, AR5K_STA_ID1, AR5K_STA_ID1_PWR_SV);
@@ -738,7 +738,7 @@ ath5k_hw_check_beacon_timers(struct ath5k_hw *ah, int intval)
738 dma = ath5k_hw_reg_read(ah, AR5K_TIMER1) >> 3; 738 dma = ath5k_hw_reg_read(ah, AR5K_TIMER1) >> 3;
739 739
740 /* NOTE: SWBA is different. Having a wrong window there does not 740 /* NOTE: SWBA is different. Having a wrong window there does not
741 * stop us from sending data and this condition is catched thru 741 * stop us from sending data and this condition is caught by
742 * other means (SWBA interrupt) */ 742 * other means (SWBA interrupt) */
743 743
744 if (ath5k_check_timer_win(nbtt, atim, 1, intval) && 744 if (ath5k_check_timer_win(nbtt, atim, 1, intval) &&
@@ -896,7 +896,7 @@ void ath5k_hw_pcu_init(struct ath5k_hw *ah, enum nl80211_iftype op_mode,
896 /* Set RSSI/BRSSI thresholds 896 /* Set RSSI/BRSSI thresholds
897 * 897 *
898 * Note: If we decide to set this value 898 * Note: If we decide to set this value
899 * dynamicaly, have in mind that when AR5K_RSSI_THR 899 * dynamically, have in mind that when AR5K_RSSI_THR
900 * register is read it might return 0x40 if we haven't 900 * register is read it might return 0x40 if we haven't
901 * wrote anything to it plus BMISS RSSI threshold is zeroed. 901 * wrote anything to it plus BMISS RSSI threshold is zeroed.
902 * So doing a save/restore procedure here isn't the right 902 * So doing a save/restore procedure here isn't the right