aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2011-03-23 09:29:52 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-03-30 14:15:18 -0400
commitec15e68ba6a505631016f230899bafbb7b8cd0d6 (patch)
tree21190a10af3c22ccd34b03f11088b5976ef3e34b /include/net/cfg80211.h
parentcfdc9a8bb8d90c6aa212a5a881862599673c443d (diff)
cfg80211: Add nl80211 event for deletion of a station entry
Indicate an NL80211_CMD_DEL_STATION event when a station entry in mac80211 is deleted to match with the NL80211_CMD_NEW_STATION event that is used when the entry was added. This is needed, e.g., to allow user space to remove a peer from RSN IBSS Authenticator state machine to avoid re-authentication and re-keying delays when the peer is not reachable anymore. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index b2b9d28cb4ab..2c4530451721 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -2667,6 +2667,15 @@ void cfg80211_new_sta(struct net_device *dev, const u8 *mac_addr,
2667 struct station_info *sinfo, gfp_t gfp); 2667 struct station_info *sinfo, gfp_t gfp);
2668 2668
2669/** 2669/**
2670 * cfg80211_del_sta - notify userspace about deletion of a station
2671 *
2672 * @dev: the netdev
2673 * @mac_addr: the station's address
2674 * @gfp: allocation flags
2675 */
2676void cfg80211_del_sta(struct net_device *dev, const u8 *mac_addr, gfp_t gfp);
2677
2678/**
2670 * cfg80211_rx_mgmt - notification of received, unprocessed management frame 2679 * cfg80211_rx_mgmt - notification of received, unprocessed management frame
2671 * @dev: network device 2680 * @dev: network device
2672 * @freq: Frequency on which the frame was received in MHz 2681 * @freq: Frequency on which the frame was received in MHz