aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-20 09:53:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-14 13:56:16 -0400
commit8c771244fbab51661da7dbbabfa5dceffb3e3cce (patch)
tree10a8ac0c5fa3b05c82a614548832f2fec7d81261 /include/net/mac80211.h
parentd7549cbb9ab0674ef44ea15bd9f9ea1c685adfa6 (diff)
mac80211: make ieee80211_send_bar available for drivers
To properly maintain the peer's block ack window, the driver needs to be able to control the new starting sequence number that is sent along with the BlockAckReq frame. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 5e5029b22ac7..fc4806c6097f 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -3225,6 +3225,19 @@ void ieee80211_remain_on_channel_expired(struct ieee80211_hw *hw);
3225void ieee80211_stop_rx_ba_session(struct ieee80211_vif *vif, u16 ba_rx_bitmap, 3225void ieee80211_stop_rx_ba_session(struct ieee80211_vif *vif, u16 ba_rx_bitmap,
3226 const u8 *addr); 3226 const u8 *addr);
3227 3227
3228/**
3229 * ieee80211_send_bar - send a BlockAckReq frame
3230 *
3231 * can be used to flush pending frames from the peer's aggregation reorder
3232 * buffer.
3233 *
3234 * @vif: &struct ieee80211_vif pointer from the add_interface callback.
3235 * @ra: the peer's destination address
3236 * @tid: the TID of the aggregation session
3237 * @ssn: the new starting sequence number for the receiver
3238 */
3239void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn);
3240
3228/* Rate control API */ 3241/* Rate control API */
3229 3242
3230/** 3243/**