From: Sujith Manoharan Date: Wed, 8 Jan 2014 16:28:44 +0530 Subject: [ath9k-devel] ath: phy0: unsupported hw bitrate detected 0x1b using 1 Mbit In-Reply-To: <52CD17FE.7010806@rempel-privat.de> References: <52B09758.9070801@rempel-privat.de> <21170.25746.772628.529123@gargle.gargle.HOWL> <52B2A15F.7030208@rempel-privat.de> <21196.10937.962241.311049@gargle.gargle.HOWL> <52CC6896.1090909@rempel-privat.de> <21196.45858.877639.854078@gargle.gargle.HOWL> <52CD17FE.7010806@rempel-privat.de> Message-ID: <21197.12132.257136.335099@gargle.gargle.HOWL> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Oleksij Rempel wrote: > > Can you try this patch ? > > > > diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c > > index 6d643ca..a638f3a 100644 > > --- a/drivers/net/wireless/ath/ath9k/recv.c > > +++ b/drivers/net/wireless/ath/ath9k/recv.c > > @@ -850,8 +850,9 @@ static int ath9k_process_rate(struct ath_common *common, > > enum ieee80211_band band; > > unsigned int i = 0; > > struct ath_softc __maybe_unused *sc = common->priv; > > + struct ath_hw *ah = common->ah; > > > > - band = hw->conf.chandef.chan->band; > > + band = ah->curchan->chan->band; > > sband = hw->wiphy->bands[band]; > > > > switch (hw->conf.chandef.width) { > > seems to be fixed with this change. thank you :) Thanks for testing, I'll post a more complete patch. > [ 2689.964112] ath: phy1: Set channel: 5180 MHz width: 2 > [ 2689.964268] ath: phy1: Reset to 5180 MHz, HT40: 1 fastcc: 0 > [ 2689.964939] ath: phy1: ah->misc_mode 0x10000004 > [ 2689.968717] ath: phy1: Enabled BB Watchdog timeout (25 ms) > [ 2690.168338] ath: phy1: Set channel: 2467 MHz width: 0 > [ 2690.168515] ath: phy1: Reset to 2467 MHz, HT40: 0 fastcc: 1 > [ 2690.168534] ath: phy1: FastChannelChange for 5180 -> 2467 > [ 2690.223270] ath: phy1: > [ 2690.223270] ==== BB update: BB status=0x13000609 ==== > [ 2690.223288] ath: phy1: ** BB state: wd=1 det=1 rdar=0 rOFDM=6 rCCK=0 tOFDM=0 tCCK=0 agc=3 src=1 ** > [ 2690.223298] ath: phy1: ** BB WD cntl: cntl1=0xffff010d cntl2=0x00000004 ** > [ 2690.223303] ath: phy1: ** BB mode: BB_gen_controls=0x01318bc0 ** > [ 2690.223307] ath: phy1: ** BB busy times: rx_clear=0%, rx_frame=0%, tx_frame=0% ** > [ 2690.223309] ath: phy1: ==== BB update: done ==== > [ 2690.223309] > [ 2690.223320] ath: phy1: BB_WATCHDOG: Skipping interrupts I couldn't find much information about this signature. I'll ask our baseband engineers. What machine is this ? Did you replace the card with AR9462 ? Can you see if this patch makes a difference ? diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 47c6285..b3e1d5e 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -2480,7 +2480,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah) * Fast channel change across bands is available * only for AR9462 and AR9565. */ - if (AR_SREV_9462(ah) || AR_SREV_9565(ah)) + if (AR_SREV_9565(ah)) pCap->hw_caps |= ATH9K_HW_CAP_FCC_BAND_SWITCH; return 0; Sujith