diff options
author | Arik Nemtsov <arik@wizery.com> | 2014-06-11 10:18:24 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-06-23 08:27:58 -0400 |
commit | db67d661e82da22f751585a7f284a9251e8a2a51 (patch) | |
tree | 48b626800ca5aa8d866380f4f105f90baea71cb9 /net/mac80211/ieee80211_i.h | |
parent | 191dd46905ce9a25174dd9eea4ff3029802ac37c (diff) |
mac80211: implement proper Tx path flushing for TDLS
As the spec mandates, flush data in the AP path before transmitting the
first setup frame. Data packets transmitted during setup are already
dropped in the Tx path.
For the teardown flow, flush all packets in the direct path before
transmitting the teardown frame. Un-authorize the peer sta after teardown
is sent, forcing all subsequent Tx to the peer through the AP.
Make sure to flush the queues when disabling the link to get the
teardown packet out.
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
[adjust to Luca's new quuee API and stop only vif queues]
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 75f79c168e90..6c8089429892 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -925,6 +925,7 @@ enum queue_stop_reason { | |||
925 | IEEE80211_QUEUE_STOP_REASON_SKB_ADD, | 925 | IEEE80211_QUEUE_STOP_REASON_SKB_ADD, |
926 | IEEE80211_QUEUE_STOP_REASON_OFFCHANNEL, | 926 | IEEE80211_QUEUE_STOP_REASON_OFFCHANNEL, |
927 | IEEE80211_QUEUE_STOP_REASON_FLUSH, | 927 | IEEE80211_QUEUE_STOP_REASON_FLUSH, |
928 | IEEE80211_QUEUE_STOP_REASON_TDLS_TEARDOWN, | ||
928 | 929 | ||
929 | IEEE80211_QUEUE_STOP_REASONS, | 930 | IEEE80211_QUEUE_STOP_REASONS, |
930 | }; | 931 | }; |