summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2017-08-09 22:37:23 +0300
committerKalle Valo <kvalo@codeaurora.org>2017-08-09 22:37:23 +0300
commit9d6b9b8d1cdbda449bd30e6f63b8eeca15829475 (patch)
treeb4b1d2f3b94ebdaef58ac1eb9db1d5b530d8f72a /include
parent368bd88ebb64cabe4a1ec727659214bb8d693707 (diff)
parent20fc690f38d17b8f961101a477a9aa0841fb6e20 (diff)
downloadlinux-9d6b9b8d1cdbda449bd30e6f63b8eeca15829475.tar.xz
Merge tag 'iwlwifi-for-kalle-2018-08-09' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes
Some more fixes for 4.13 * Fix a memory leak in the SAR code; * Fix a stuck queue case in AP mode; * Convert a WARN to a simple debug in a legitimate race case (from which we can recover); * Fix a severe throughput aggregation on 9000-family devices due to aggregation issues.
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index b2b5419467cc..f8149ca192b4 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -5499,6 +5499,21 @@ static inline void ieee80211_stop_rx_ba_session_offl(struct ieee80211_vif *vif,
ieee80211_manage_rx_ba_offl(vif, addr, tid + IEEE80211_NUM_TIDS);
}
+/**
+ * ieee80211_rx_ba_timer_expired - stop a Rx BA session due to timeout
+ *
+ * Some device drivers do not offload AddBa/DelBa negotiation, but handle rx
+ * buffer reording internally, and therefore also handle the session timer.
+ *
+ * Trigger the timeout flow, which sends a DelBa.
+ *
+ * @vif: &struct ieee80211_vif pointer from the add_interface callback
+ * @addr: station mac address
+ * @tid: the rx tid
+ */
+void ieee80211_rx_ba_timer_expired(struct ieee80211_vif *vif,
+ const u8 *addr, unsigned int tid);
+
/* Rate control API */
/**