From: Johannes Berg <johannes@sipsolutions.net>
To: Jouni Malinen <jouni.malinen@atheros.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH] mac80211: Do not queue Probe Request frames for station MLME
Date: Mon, 16 Nov 2009 18:57:41 +0100 [thread overview]
Message-ID: <1258394261.32159.31.camel@johannes.local> (raw)
In-Reply-To: <20091116175408.GA6805@jm.kir.nu>
[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]
On Mon, 2009-11-16 at 19:54 +0200, Jouni Malinen wrote:
> Cooked monitor interfaces cannot currently receive Probe Request
> frames when the interface is in station mode. However, we do not
> process Probe Request frames internally in the station MLME, so there
> is no point in queueing the frame here. Remove Probe Request frames
> from the queued frame list to allow cooked monitor interfaces to
> receive these frames.
>
> Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
It's also just unnecessary overhead to put them on the list and process
them by freeing :)
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
>
> ---
> net/mac80211/mlme.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- uml.orig/net/mac80211/mlme.c 2009-11-13 16:58:27.000000000 +0200
> +++ uml/net/mac80211/mlme.c 2009-11-13 16:59:20.000000000 +0200
> @@ -1898,7 +1898,6 @@ ieee80211_rx_result ieee80211_sta_rx_mgm
> fc = le16_to_cpu(mgmt->frame_control);
>
> switch (fc & IEEE80211_FCTL_STYPE) {
> - case IEEE80211_STYPE_PROBE_REQ:
> case IEEE80211_STYPE_PROBE_RESP:
> case IEEE80211_STYPE_BEACON:
> case IEEE80211_STYPE_AUTH:
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
prev parent reply other threads:[~2009-11-16 17:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-16 17:54 [PATCH] mac80211: Do not queue Probe Request frames for station MLME Jouni Malinen
2009-11-16 17:57 ` Johannes Berg [this message]
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=1258394261.32159.31.camel@johannes.local \
--to=johannes@sipsolutions.net \
--cc=jouni.malinen@atheros.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.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