aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-06-10 04:21:32 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-14 15:38:17 -0400
commit1fa57d017366fb26b58af110a38b36a4f0214a62 (patch)
tree9bf7e82b3e429908498a70aa5c75c2af06b261b6 /net/mac80211/ieee80211_i.h
parent64592c8fc0e99d445fc3fdedddeb6088e20086f1 (diff)
mac80211: use common work function
Even with the previous patch, IBSS, managed and mesh modes all attach their own work function to the shared work struct, which means some duplicated code. Change that to only have a frame processing function and a further work function for each of them and share some common code. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 2873f6374d1a..f8c8f101592b 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -995,6 +995,9 @@ void ieee80211_sta_process_chanswitch(struct ieee80211_sub_if_data *sdata,
995 u64 timestamp); 995 u64 timestamp);
996void ieee80211_sta_quiesce(struct ieee80211_sub_if_data *sdata); 996void ieee80211_sta_quiesce(struct ieee80211_sub_if_data *sdata);
997void ieee80211_sta_restart(struct ieee80211_sub_if_data *sdata); 997void ieee80211_sta_restart(struct ieee80211_sub_if_data *sdata);
998void ieee80211_sta_work(struct ieee80211_sub_if_data *sdata);
999void ieee80211_sta_rx_queued_mgmt(struct ieee80211_sub_if_data *sdata,
1000 struct sk_buff *skb);
998 1001
999/* IBSS code */ 1002/* IBSS code */
1000void ieee80211_ibss_notify_scan_completed(struct ieee80211_local *local); 1003void ieee80211_ibss_notify_scan_completed(struct ieee80211_local *local);
@@ -1009,6 +1012,14 @@ int ieee80211_ibss_join(struct ieee80211_sub_if_data *sdata,
1009int ieee80211_ibss_leave(struct ieee80211_sub_if_data *sdata); 1012int ieee80211_ibss_leave(struct ieee80211_sub_if_data *sdata);
1010void ieee80211_ibss_quiesce(struct ieee80211_sub_if_data *sdata); 1013void ieee80211_ibss_quiesce(struct ieee80211_sub_if_data *sdata);
1011void ieee80211_ibss_restart(struct ieee80211_sub_if_data *sdata); 1014void ieee80211_ibss_restart(struct ieee80211_sub_if_data *sdata);
1015void ieee80211_ibss_work(struct ieee80211_sub_if_data *sdata);
1016void ieee80211_ibss_rx_queued_mgmt(struct ieee80211_sub_if_data *sdata,
1017 struct sk_buff *skb);
1018
1019/* mesh code */
1020void ieee80211_mesh_work(struct ieee80211_sub_if_data *sdata);
1021void ieee80211_mesh_rx_queued_mgmt(struct ieee80211_sub_if_data *sdata,
1022 struct sk_buff *skb);
1012 1023
1013/* scan/BSS handling */ 1024/* scan/BSS handling */
1014void ieee80211_scan_work(struct work_struct *work); 1025void ieee80211_scan_work(struct work_struct *work);