diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-07-18 07:31:31 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-03 07:01:41 -0500 |
commit | c82c4a80bbb9c8ffa1d783070a8caa37f2db45b6 (patch) | |
tree | efafa9bdbba034bf4012dc4d2c727d7bd903fd28 /net/mac80211/ieee80211_i.h | |
parent | d582cffbcd04eae0bd8a83b05648bfd54bfd21c9 (diff) |
mac80211: split aggregation stop by reason
The initiator/tx doesn't really identify why an
aggregation session is stopped, give a reason
for stopping that more clearly identifies what's
going on. This will help tell the driver clearly
what is expected of it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 7182907e282a..0fa44a965ad9 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -1432,7 +1432,8 @@ void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, | |||
1432 | u16 initiator, u16 reason, bool stop); | 1432 | u16 initiator, u16 reason, bool stop); |
1433 | void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, | 1433 | void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, |
1434 | u16 initiator, u16 reason, bool stop); | 1434 | u16 initiator, u16 reason, bool stop); |
1435 | void ieee80211_sta_tear_down_BA_sessions(struct sta_info *sta, bool tx); | 1435 | void ieee80211_sta_tear_down_BA_sessions(struct sta_info *sta, |
1436 | enum ieee80211_agg_stop_reason reason); | ||
1436 | void ieee80211_process_delba(struct ieee80211_sub_if_data *sdata, | 1437 | void ieee80211_process_delba(struct ieee80211_sub_if_data *sdata, |
1437 | struct sta_info *sta, | 1438 | struct sta_info *sta, |
1438 | struct ieee80211_mgmt *mgmt, size_t len); | 1439 | struct ieee80211_mgmt *mgmt, size_t len); |
@@ -1446,11 +1447,9 @@ void ieee80211_process_addba_request(struct ieee80211_local *local, | |||
1446 | size_t len); | 1447 | size_t len); |
1447 | 1448 | ||
1448 | int __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, | 1449 | int __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, |
1449 | enum ieee80211_back_parties initiator, | 1450 | enum ieee80211_agg_stop_reason reason); |
1450 | bool tx); | ||
1451 | int ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, | 1451 | int ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, |
1452 | enum ieee80211_back_parties initiator, | 1452 | enum ieee80211_agg_stop_reason reason); |
1453 | bool tx); | ||
1454 | void ieee80211_start_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u16 tid); | 1453 | void ieee80211_start_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u16 tid); |
1455 | void ieee80211_stop_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u8 tid); | 1454 | void ieee80211_stop_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u8 tid); |
1456 | void ieee80211_ba_session_work(struct work_struct *work); | 1455 | void ieee80211_ba_session_work(struct work_struct *work); |