diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-12-23 07:15:44 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-28 16:55:06 -0500 |
commit | 98b6218388e345064c3f2d3c161383a18274c638 (patch) | |
tree | 3df881c8e15947aeefe31da7fa83980a1530aed3 /net/wireless/nl80211.h | |
parent | e4da8c37af626001ff704fb29ea14eb58f5f7208 (diff) |
mac80211/cfg80211: add station events
When, for instance, a new IBSS peer is found, userspace
wants to be notified. Add events for all new stations
that mac80211 learns about.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/nl80211.h')
-rw-r--r-- | net/wireless/nl80211.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h index a5e2de419b7a..14855b8fb430 100644 --- a/net/wireless/nl80211.h +++ b/net/wireless/nl80211.h | |||
@@ -70,4 +70,8 @@ void nl80211_send_remain_on_channel_cancel( | |||
70 | u64 cookie, struct ieee80211_channel *chan, | 70 | u64 cookie, struct ieee80211_channel *chan, |
71 | enum nl80211_channel_type channel_type, gfp_t gfp); | 71 | enum nl80211_channel_type channel_type, gfp_t gfp); |
72 | 72 | ||
73 | void nl80211_send_sta_event(struct cfg80211_registered_device *rdev, | ||
74 | struct net_device *dev, const u8 *mac_addr, | ||
75 | struct station_info *sinfo, gfp_t gfp); | ||
76 | |||
73 | #endif /* __NET_WIRELESS_NL80211_H */ | 77 | #endif /* __NET_WIRELESS_NL80211_H */ |