All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] mac80211: reply to directed probes in IBSS
@ 2011-02-01 12:49 Johannes Berg
  2011-02-08 11:11 ` Mohammed Shafi
  0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2011-02-01 12:49 UTC (permalink / raw)
  To: linux-wireless

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 &&



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-02-14 13:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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.