Thread (16 messages) 16 messages, 2 authors, 2011-04-01

Re: [PATCH v5 08/10] nl80211: New notification to discover mesh peer candidates.

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2011-03-30 08:12:37

On Tue, 2011-03-29 at 19:06 -0700, Thomas Pedersen wrote:
quoted hunk ↗ jump to hunk
+/**
+ * __cfg80211_notify_new_candidate - see cfg80211_notify_new_candidate
+ *
+ * @dev: network device
+ * @macaddr: the MAC address of the new candidate
+ * @ie: information elements advertised by the peer candidate
+ * @ie_len: lenght of the information elements buffer
+ *
+ * Like cfg80211_notify_new_candidate(), but doesn't take the wdev lock.
+ */
+void __cfg80211_notify_new_peer_candidate(struct net_device *dev,
+		const u8 *macaddr, const u8 *ie, u8 ie_len);
+
+/**
  * DOC: RFkill integration
  *
  * RFkill integration in cfg80211 is almost invisible to drivers,
diff --git a/net/wireless/core.h b/net/wireless/core.h
index 26a0a08..994058f 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -243,6 +243,11 @@ struct cfg80211_event {
 		struct {
 			u8 bssid[ETH_ALEN];
 		} ij;
+		struct {
+			u8 macaddr[ETH_ALEN];
+			const u8 *ie;
+			size_t ie_len;
+		} nc;
 	};
 };
These bits are no longer necessary I believe.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help