diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2011-12-15 04:18:34 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-15 14:46:35 -0500 |
commit | cf6bb79ad8287cd9fe8783aa8c9afdc9f6799657 (patch) | |
tree | 771c8d4bfe3e2dc760210ef3672e709c67275d08 /net/mac80211/ieee80211_i.h | |
parent | 4d33960bf9fa2c0ee82ba7120e7b56c766dd3a86 (diff) |
mac80211: Use appropriate TID for sending BAR, ADDBA and DELBA frames
Currently BAR, ADDBA and DELBA frames are always sent using AC_VO. If
the TID for which a BA session is established is assigned to a different
queue BAR, ADDBA and DELBA frames can "overtake" frames of the according
BA session.
Hence, always put BA session related frames into the same queue as the
BA sessions data frames.
Signed-off-by: Helmut Schaa <helmut.schaa@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 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 8e5b892834bc..c3f3e431a573 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -1349,7 +1349,16 @@ void mac80211_ev_michael_mic_failure(struct ieee80211_sub_if_data *sdata, int ke | |||
1349 | gfp_t gfp); | 1349 | gfp_t gfp); |
1350 | void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata); | 1350 | void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata); |
1351 | void ieee80211_xmit(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb); | 1351 | void ieee80211_xmit(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb); |
1352 | void ieee80211_tx_skb(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb); | 1352 | |
1353 | void ieee80211_tx_skb_tid(struct ieee80211_sub_if_data *sdata, | ||
1354 | struct sk_buff *skb, int tid); | ||
1355 | static void inline ieee80211_tx_skb(struct ieee80211_sub_if_data *sdata, | ||
1356 | struct sk_buff *skb) | ||
1357 | { | ||
1358 | /* Send all internal mgmt frames on VO. Accordingly set TID to 7. */ | ||
1359 | ieee80211_tx_skb_tid(sdata, skb, 7); | ||
1360 | } | ||
1361 | |||
1353 | void ieee802_11_parse_elems(u8 *start, size_t len, | 1362 | void ieee802_11_parse_elems(u8 *start, size_t len, |
1354 | struct ieee802_11_elems *elems); | 1363 | struct ieee802_11_elems *elems); |
1355 | u32 ieee802_11_parse_elems_crc(u8 *start, size_t len, | 1364 | u32 ieee802_11_parse_elems_crc(u8 *start, size_t len, |