aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-02-10 15:25:54 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 13:45:48 -0500
commit849b7967818995a32c3017542e33eb3155944368 (patch)
treeafd0a98e50c3b9a851a2b46682f6a3767df2ca04 /net/mac80211/ieee80211_i.h
parentd75636ef9c1af224f1097941879d5a8db7cd04e5 (diff)
mac80211: further cleanups to stopping BA sessions
Essentially consisting of passing the sta_info pointer around, instead of repeatedly doing hash lookups. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index c6858ecde312..9122416fd6af 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -993,6 +993,8 @@ void ieee80211_send_delba(struct ieee80211_sub_if_data *sdata,
993 993
994void ieee80211_sta_stop_rx_ba_session(struct ieee80211_sub_if_data *sdata, u8 *da, 994void ieee80211_sta_stop_rx_ba_session(struct ieee80211_sub_if_data *sdata, u8 *da,
995 u16 tid, u16 initiator, u16 reason); 995 u16 tid, u16 initiator, u16 reason);
996void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
997 u16 initiator, u16 reason);
996void ieee80211_sta_tear_down_BA_sessions(struct sta_info *sta); 998void ieee80211_sta_tear_down_BA_sessions(struct sta_info *sta);
997void ieee80211_process_delba(struct ieee80211_sub_if_data *sdata, 999void ieee80211_process_delba(struct ieee80211_sub_if_data *sdata,
998 struct sta_info *sta, 1000 struct sta_info *sta,
@@ -1006,6 +1008,9 @@ void ieee80211_process_addba_request(struct ieee80211_local *local,
1006 struct ieee80211_mgmt *mgmt, 1008 struct ieee80211_mgmt *mgmt,
1007 size_t len); 1009 size_t len);
1008 1010
1011int __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid,
1012 enum ieee80211_back_parties initiator);
1013
1009/* Spectrum management */ 1014/* Spectrum management */
1010void ieee80211_process_measurement_req(struct ieee80211_sub_if_data *sdata, 1015void ieee80211_process_measurement_req(struct ieee80211_sub_if_data *sdata,
1011 struct ieee80211_mgmt *mgmt, 1016 struct ieee80211_mgmt *mgmt,