Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184539
b: refs/heads/master
c: 7bfbae1
h: refs/heads/master
i:
  184537: 54f0b39
  184535: f58f72c
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Feb 26, 2010
1 parent 3ab8553 commit b54f050
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a040d532b912b5dd7d88692b580cff9c88b987e3
refs/heads/master: 7bfbae10dc10a5c94a780d117a57e875d77e8e5a
10 changes: 10 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,16 @@ static void ath9k_hw_override_ini(struct ath_hw *ah,
* Necessary to avoid issues on AR5416 2.0
*/
REG_WRITE(ah, 0x9800 + (651 << 2), 0x11);

/*
* Disable RIFS search on some chips to avoid baseband
* hang issues.
*/
if (AR_SREV_9100(ah) || AR_SREV_9160(ah)) {
val = REG_READ(ah, AR_PHY_HEAVY_CLIP_FACTOR_RIFS);
val &= ~AR_PHY_RIFS_INIT_DELAY;
REG_WRITE(ah, AR_PHY_HEAVY_CLIP_FACTOR_RIFS, val);
}
}

static u32 ath9k_hw_def_ini_fixup(struct ath_hw *ah,
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/phy.h
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ bool ath9k_hw_set_rf_regs(struct ath_hw *ah,

#define AR_PHY_HEAVY_CLIP_ENABLE 0x99E0

#define AR_PHY_HEAVY_CLIP_FACTOR_RIFS 0x99EC
#define AR_PHY_RIFS_INIT_DELAY 0x03ff0000

#define AR_PHY_M_SLEEP 0x99f0
#define AR_PHY_REFCLKDLY 0x99f4
#define AR_PHY_REFCLKPD 0x99f8
Expand Down

0 comments on commit b54f050

Please sign in to comment.