From: Johannes Berg <johannes@sipsolutions.net>
To: Mohammed Shafi <shafi.wireless@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [RFC] mac80211: reply to directed probes in IBSS
Date: Mon, 14 Feb 2011 11:12:37 +0100 [thread overview]
Message-ID: <1297678357.3785.14.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <AANLkTimEDvmp2RbLXdOf8vRrjzBKd+rLwqoreX+x3EdB@mail.gmail.com>
On Tue, 2011-02-08 at 16:41 +0530, Mohammed Shafi wrote:
> On Tue, Feb 1, 2011 at 6:19 PM, Johannes Berg <johannes@sipsolutions.net> wrote:
> > From: Johannes Berg <johannes.berg@intel.com>
> >
> > At least the WMM spec says we should reply to
> > unicast probe request frames that go to us.
> >
> > Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> > ---
> > net/mac80211/ibss.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > --- wireless-testing.orig/net/mac80211/ibss.c 2011-02-01 12:58:16.000000000 +0100
> > +++ wireless-testing/net/mac80211/ibss.c 2011-02-01 13:47:44.000000000 +0100
> > @@ -689,7 +689,7 @@ static void ieee80211_rx_mgmt_probe_req(
> > mgmt->bssid, tx_last_beacon);
> > #endif /* CONFIG_MAC80211_IBSS_DEBUG */
> >
> > - if (!tx_last_beacon)
> > + if (!tx_last_beacon && !(status->rx_flags & IEEE80211_RX_RA_MATCH))
> > return;
> >
> > if (memcmp(mgmt->bssid, ifibss->bssid, ETH_ALEN) != 0 &&
>
> Hi Johannes,
> tested with the same thing (in addition of passing the
> rx_status structure) and it is working fine.
Yeah, I clearly missed that, guess I wasn't paying attention.
The real question though is -- do we want/need this? I can only find
reference to this behaviour in the WMM spec.
johannes
next prev parent reply other threads:[~2011-02-14 10:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-01 12:49 [RFC] mac80211: reply to directed probes in IBSS Johannes Berg
2011-02-08 11:11 ` Mohammed Shafi
2011-02-14 10:12 ` Johannes Berg [this message]
2011-02-14 10:28 ` Mohammed Shafi
2011-02-14 10:48 ` Mohammed Shafi
2011-02-14 12:28 ` Jouni Malinen
2011-02-14 12:31 ` Johannes Berg
2011-02-14 13:38 ` Jouni Malinen
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=1297678357.3785.14.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=shafi.wireless@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.