linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: hostapd & mac80211: too many probe responses
Date: Fri, 01 Apr 2011 12:46:42 +0200	[thread overview]
Message-ID: <1301654802.3832.17.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <201104011237.21983.helmut.schaa@googlemail.com>

On Fri, 2011-04-01 at 12:37 +0200, Helmut Schaa wrote:

> I've just noticed that hostapd + mac80211 + rt2x00 produces way too many
> probe responses when setup as multi bssid AP.
> 
> The reason seems to be that mac80211 receives a broadcast probe req and
> drops it to the monitor interface for each vif (hence X times). And hostapd
> will process each received broadcast probe req on all vifs as well (hence X
> times again). Resulting in X*X probe responses instead of just X.
> 
> This can eat up quite some airtime as the probe reponses are sent at 1Mpbs.
> 
> IMO to fix this issue mac80211 should send a broadcast probe req only once
> to the monitor interface. However, I don't have a good idea how to do that
> right now :)

Looks like we broke that then, IEEE80211_RX_CMNTR was intended to do
this. 

johannes


  reply	other threads:[~2011-04-01 10:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-01 10:37 hostapd & mac80211: too many probe responses Helmut Schaa
2011-04-01 10:46 ` Johannes Berg [this message]
2011-04-01 10:55   ` Helmut Schaa
2011-04-01 11:00     ` Johannes Berg
2011-04-01 11:39       ` Helmut Schaa

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=1301654802.3832.17.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=helmut.schaa@googlemail.com \
    --cc=linux-wireless@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).