From: Johannes Berg <johannes@sipsolutions.net>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: linux-wireless@vger.kernel.org, b43-dev <b43-dev@lists.infradead.org>
Subject: Scanning regression since "cfg80211: use DS or HT operation IEs to determine BSS channel"
Date: Tue, 26 Mar 2013 23:26:39 +0100 [thread overview]
Message-ID: <1364336799.14191.3.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <CACna6rxpiPp_FR8jF=jKHbd6XrYndfFZC5O4g6=fvioK=e8vEg@mail.gmail.com> (sfid-20130326_225853_266498_DCDE7415)
On Tue, 2013-03-26 at 22:58 +0100, Rafa? Mi?ecki wrote:
> > Can you check your channel list? (iw list or iw phy0 info)
>
> Sure, attaching iw.list.log.
This is after the scan, presumably? Is channel 13 also marked as
passive/no-ibss before scanning?
> > Also can you show the full data including beacon data from the AP (iw
> > wlan0 scan dump -b) please?
>
> Hm, first of all, above command doesn't seem to perform real scanning.
True, you can remove the "dump" part if you wanted to.
> It returns too quick to actually scan anything. It's result is empty
> as long as I don't use standard "iw dev wlan0 scan". After scanning a
> normal way once ("iw dev wlan0 scan"), executing "dump -b" results in
> the output at the one produced by "iw dev wlan0 scan" (only TSF and
> last seen differ).
Really? It should have printed more if you'd ever received a beacon.
That's curious. It means you never received a beacon? But then how did
the channel get activated (i.e. no longer be passive)? That should have
been by receiving a beacon ...
> > Does reverting just the mac80211 change fix it?
>
> Yes. Reverting just a change in net/mac80211/scan.c fixes the problem
> for me. I've tested this with the latest wireless-testing.
Sounds to me like you have issues receiving beacons. Channel 13 is
marked passive, thus no probe requests would get sent. Before the
change, it's possible that your probe response on channel 11 was
received by the AP on channel 13 (in particular since the AP is
configured to HT40-) and the probe response was received on channel 11.
I'm not really sure what difference this change makes though ... channel
13 is still present and not disabled, so the frame, if received,
wouldn't be dropped either way??
Or was the channel marked disabled before scanning? But then you could
never connect to the AP anyway ... hmm.
johannes
next prev parent reply other threads:[~2013-03-26 22:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-26 17:10 Scanning regression since "cfg80211: use DS or HT operation IEs to determine BSS channel" Rafał Miłecki
2013-03-26 18:38 ` Johannes Berg
2013-03-26 21:58 ` Rafał Miłecki
2013-03-26 22:13 ` Rafał Miłecki
2013-03-26 22:26 ` Johannes Berg [this message]
2014-01-26 14:37 ` Rafał Miłecki
2014-01-27 8:43 ` Johannes Berg
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=1364336799.14191.3.camel@jlt4.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=b43-dev@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=zajec5@gmail.com \
/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).