diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-12-23 07:15:35 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-28 16:54:55 -0500 |
commit | af6b63741cc4e4dfd575d06beb333b11a8a6e0c0 (patch) | |
tree | a2c1a27b6b6b0fb171606f3653b5c280537b32a3 /net/mac80211/debugfs_netdev.c | |
parent | f679f65d417c3ea3f91b4bbfb68e3951c9eb8f04 (diff) |
mac80211: generalise work handling
In order to use auth/assoc for different purposes
other than MLME, it needs to be split up. For other
purposes, a generic work handling (potentially on
another channel) will be useful.
To achieve that, this patch moves much of the MLME
work handling out of mlme into a new work API. The
API can currently handle probing a specific AP,
authentication and association. The MLME previously
handled probe/authentication as one step and will
continue to do so, but they are separate in the new
work handling.
Work items are RCU-managed to be able to check for
existence of an item for a specific frame in the RX
path, but they can be re-used which the MLME right
now will do for its combined probe/auth step.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/debugfs_netdev.c')
-rw-r--r-- | net/mac80211/debugfs_netdev.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c index 355983503885..59f6e3bcbd09 100644 --- a/net/mac80211/debugfs_netdev.c +++ b/net/mac80211/debugfs_netdev.c | |||
@@ -133,7 +133,6 @@ IEEE80211_IF_FILE(max_ratectrl_rateidx, max_ratectrl_rateidx, DEC); | |||
133 | /* STA attributes */ | 133 | /* STA attributes */ |
134 | IEEE80211_IF_FILE(bssid, u.mgd.bssid, MAC); | 134 | IEEE80211_IF_FILE(bssid, u.mgd.bssid, MAC); |
135 | IEEE80211_IF_FILE(aid, u.mgd.aid, DEC); | 135 | IEEE80211_IF_FILE(aid, u.mgd.aid, DEC); |
136 | IEEE80211_IF_FILE(capab, u.mgd.capab, HEX); | ||
137 | 136 | ||
138 | static int ieee80211_set_smps(struct ieee80211_sub_if_data *sdata, | 137 | static int ieee80211_set_smps(struct ieee80211_sub_if_data *sdata, |
139 | enum ieee80211_smps_mode smps_mode) | 138 | enum ieee80211_smps_mode smps_mode) |
@@ -270,7 +269,6 @@ static void add_sta_files(struct ieee80211_sub_if_data *sdata) | |||
270 | 269 | ||
271 | DEBUGFS_ADD(bssid, sta); | 270 | DEBUGFS_ADD(bssid, sta); |
272 | DEBUGFS_ADD(aid, sta); | 271 | DEBUGFS_ADD(aid, sta); |
273 | DEBUGFS_ADD(capab, sta); | ||
274 | DEBUGFS_ADD_MODE(smps, 0600); | 272 | DEBUGFS_ADD_MODE(smps, 0600); |
275 | } | 273 | } |
276 | 274 | ||