diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2010-08-04 19:36:41 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-16 15:26:39 -0400 |
commit | 2bff8ebf32a7c5ec9e5f5eeffef94a8cb622f5f0 (patch) | |
tree | ba1a904e56eb202481c039d28a0d769d4bcf796f /net/mac80211/ieee80211_i.h | |
parent | 071d9ac253ff51154beb7e33967168e30bc96053 (diff) |
mac80211: AMPDU rx reorder timeout timer
This patch introduces a new timer, which will release
queued-up MPDUs from the reorder buffer, whenever
they've waited for more than HT_RX_REORDER_BUF_TIMEOUT
(which is at around 100 ms).
The advantage of having a dedicated timer, instead of
relying on a constant stream of freshly arriving aMPDUs
to release the old ones, is particularly observable when
even a small fraction of MPDUs are forever lost at
low network speeds.
Previously under these circumstances frames would become
stuck in the reorder buffer and the network stack of both
HT peers throttled back, instead of revving up and
gunning the pipes.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index fb4363e148f2..b44e03a02da9 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -1136,6 +1136,7 @@ void ieee80211_start_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u16 tid); | |||
1136 | void ieee80211_stop_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u8 tid); | 1136 | void ieee80211_stop_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u8 tid); |
1137 | void ieee80211_ba_session_work(struct work_struct *work); | 1137 | void ieee80211_ba_session_work(struct work_struct *work); |
1138 | void ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid); | 1138 | void ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid); |
1139 | void ieee80211_release_reorder_timeout(struct sta_info *sta, int tid); | ||
1139 | 1140 | ||
1140 | /* Spectrum management */ | 1141 | /* Spectrum management */ |
1141 | void ieee80211_process_measurement_req(struct ieee80211_sub_if_data *sdata, | 1142 | void ieee80211_process_measurement_req(struct ieee80211_sub_if_data *sdata, |