Message ID | 1354231092-10654-1-git-send-email-antonio@open-mesh.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Fri, 2012-11-30 at 00:18 +0100, Antonio Quartulli wrote: > This change allows userspace to register for ProbeReq on an > IBSS interface. I guess this is fine, you just have to handle them if you register for them. > However ProbeRequests are not redirected from > their normal rx path. Well umm so the last sentence is just bogus, I'll delete it. Applied. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 70e8760..1fc8d25 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -474,7 +474,8 @@ ieee80211_default_mgmt_stypes[NUM_NL80211_IFTYPES] = { .tx = 0xffff, .rx = BIT(IEEE80211_STYPE_ACTION >> 4) | BIT(IEEE80211_STYPE_AUTH >> 4) | - BIT(IEEE80211_STYPE_DEAUTH >> 4), + BIT(IEEE80211_STYPE_DEAUTH >> 4) | + BIT(IEEE80211_STYPE_PROBE_REQ >> 4), }, [NL80211_IFTYPE_STATION] = { .tx = 0xffff,
This change allows userspace to register for ProbeReq on an IBSS interface. However ProbeRequests are not redirected from their normal rx path. Signed-off-by: Antonio Quartulli <antonio@open-mesh.com> --- net/mac80211/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)