From: Oleksij Rempel <linux@rempel-privat.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath: phy0: unsupported hw bitrate detected 0x1b using 1 Mbit
Date: Wed, 08 Jan 2014 12:32:51 +0100 [thread overview]
Message-ID: <52CD3763.5080704@rempel-privat.de> (raw)
In-Reply-To: <21197.12132.257136.335099@gargle.gargle.HOWL>
Am 08.01.2014 11:58, schrieb Sujith Manoharan:
> 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 ?
Yes, i replaced the card. It is Asus Zenbook UX31A.
>
> 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;
With this patch there is no more BB_WATCHDOG messages.
--
Regards,
Oleksij
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 295 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140108/fc78f167/attachment.pgp
next prev parent reply other threads:[~2014-01-08 11:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-17 18:26 [ath9k-devel] ath: phy0: unsupported hw bitrate detected 0x1b using 1 Mbit Oleksij Rempel
2013-12-19 3:14 ` Sujith Manoharan
2013-12-19 7:33 ` Oleksij Rempel
2014-01-07 16:26 ` Sujith Manoharan
2014-01-07 20:50 ` Oleksij Rempel
2014-01-08 2:08 ` Sujith Manoharan
2014-01-08 9:18 ` Oleksij Rempel
2014-01-08 10:58 ` Sujith Manoharan
2014-01-08 11:18 ` Sujith Manoharan
2014-01-08 18:12 ` Oleksij Rempel
2014-01-08 11:32 ` Oleksij Rempel [this message]
2014-01-08 16:19 ` Sujith Manoharan
2014-01-08 16:18 ` Sujith Manoharan
2014-01-08 2:20 ` Sujith Manoharan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52CD3763.5080704@rempel-privat.de \
--to=linux@rempel-privat.de \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox