From: Kalle Valo <kalle.valo@iki.fi>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Michael Buesch <mb@bu3sch.de>,
Jaswinder Singh Rajput <jaswinder@kernel.org>,
Sujith <Sujith.Manoharan@atheros.com>,
wireless <linux-wireless@vger.kernel.org>,
David Miller <davem@davemloft.net>,
LKML <linux-kernel@vger.kernel.org>,
Helmut Schaa <helmut.schaa@googlemail.com>
Subject: Re: ath9k becon loss messages
Date: Mon, 06 Apr 2009 18:18:56 +0300 [thread overview]
Message-ID: <87iqlhdd3z.fsf@litku.valot.fi> (raw)
In-Reply-To: <da94abde0904060405k280b3094jc20d0f7a4e6e759d@mail.gmail.com> (Kalle Valo's message of "Mon\, 6 Apr 2009 14\:05\:46 +0300")
Kalle Valo <kalle.valo@iki.fi> writes:
> On Mon, Apr 6, 2009 at 1:51 PM, Helmut Schaa
> <helmut.schaa@googlemail.com> wrote:
>
>> Maybe this issue could be
>> avoided by making the beacon loss detection smarter then just checking if no
>> beacon was received within the last two seconds.
>
> Definitely the beacon loss logic should be smarter, but I think that
> should be improved separately. I just have tried to do small changes
> at a time to avoid regressions and I didn't even consider improving
> the beacon loss logic.
I reverted my beacon filter patches but added a similar "beacon loss"
message. With iwl3945 I was able to reproduce the problem even by just
associating to an AP and issuing 'iwlist wlan0 scan':
Apr 6 15:09:31 tikku kernel: [ 3692.544221] beacon loss (reverted version)
Apr 6 15:09:46 tikku kernel: [ 3707.654520] beacon loss (reverted version)
Apr 6 15:09:53 tikku kernel: [ 3714.314057] beacon loss (reverted version)
So the good news is that this is not a new regression, the problem just
appeared because of the new printk I added to my beacon filtering
patches.
I'm suffering from flu right now (damn the finnish weather), but I tried
to investigate this a bit. The problem happens when mac80211 does not
receive anything for two seconds while scanning. For example, at my home
there are only few APs and scanning takes a long time due to 11a support
in iwl3945, so I can reproduce the problem easily.
I'm working on implementing a proper fix, but due to my condition it
might take few days before I'm able to finish it. But in the mean time,
Michael's patch, changing the "beacon loss" messages visible only when
CONFIG_MAC80211_VERBOSE_DEBUG is enabled, is the way to go forward. The
message is useful for developers (eg. we found this bug because of the
message), but it's better that users don't see it. I would like to have
the patch for 2.6.30.
When I'm able to implement the proper fix, I think it should first have
proper testing in wireles-testing before pushing it to mainline. So
maybe the proper fix is 2.6.31 material, just to be on the safe side
here.
John, what do you think?
--
Kalle Valo
next prev parent reply other threads:[~2009-04-06 15:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-05 9:23 ath9k becon loss messages Jaswinder Singh Rajput
2009-04-05 9:29 ` Michael Buesch
2009-04-05 9:36 ` Michael Buesch
2009-04-05 10:03 ` Kalle Valo
2009-04-05 11:00 ` Jaswinder Singh Rajput
2009-04-05 9:52 ` Jaswinder Singh Rajput
2009-04-05 10:13 ` Kalle Valo
2009-04-06 7:14 ` Helmut Schaa
2009-04-06 8:17 ` Kalle Valo
2009-04-06 8:56 ` Helmut Schaa
2009-04-06 9:04 ` Kalle Valo
2009-04-06 10:17 ` Michael Buesch
2009-04-06 10:23 ` Kalle Valo
2009-04-06 10:51 ` Helmut Schaa
2009-04-06 11:05 ` Kalle Valo
2009-04-06 15:18 ` Kalle Valo [this message]
2009-04-06 18:00 ` John W. Linville
2009-04-07 5:54 ` Kalle Valo
2009-04-07 13:53 ` John W. Linville
2009-04-07 15:19 ` Kalle Valo
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=87iqlhdd3z.fsf@litku.valot.fi \
--to=kalle.valo@iki.fi \
--cc=Sujith.Manoharan@atheros.com \
--cc=davem@davemloft.net \
--cc=helmut.schaa@googlemail.com \
--cc=jaswinder@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mb@bu3sch.de \
/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;
as well as URLs for NNTP newsgroup(s).