All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Yurovsky <andrey@cozybit.com>
To: linux-wireless@vger.kernel.org
Subject: [PATCH] allow AP interfaces to handle BACK action frames
Date: Wed, 08 Oct 2008 16:18:46 -0700 (PDT)	[thread overview]
Message-ID: <48ed3fd6.1e068e0a.7847.4d37@mx.google.com> (raw)

Add AP mode to the allowed interface check in ieee80211_rx_h_action.  This
function handles BACK action frames such as ADDBA and AP interfaces need to
receive those.

Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 080b0ce..fe406f5 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -1553,7 +1553,8 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx)
 	 *	  of these frames in other modes as well!
 	 */
 	if (sdata->vif.type != NL80211_IFTYPE_STATION &&
-	    sdata->vif.type != NL80211_IFTYPE_ADHOC)
+	    sdata->vif.type != NL80211_IFTYPE_ADHOC &&
+	    sdata->vif.type != NL80211_IFTYPE_AP)
 		return RX_CONTINUE;
 
 	switch (mgmt->u.action.category) {



             reply	other threads:[~2008-10-08 23:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-08 23:18 Andrey Yurovsky [this message]
2008-10-09  4:29 ` [PATCH] allow AP interfaces to handle BACK action frames Kalle Valo
2008-10-09  9:56 ` Johannes Berg
2008-10-09 17:38   ` Andrey Yurovsky
2008-10-09 17:47     ` Andrey Yurovsky
2008-10-10  9:16     ` 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=48ed3fd6.1e068e0a.7847.4d37@mx.google.com \
    --to=andrey@cozybit.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 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.