diff options
author | Arik Nemtsov | 2014-09-21 18:10:04 +0200 |
---|---|---|
committer | Emmanuel Grumbach | 2014-11-24 07:30:23 +0100 |
commit | a0f6bf2a5b018bcee93e4dece903589a8bb6062b (patch) | |
tree | 6013e97f75ac0f5a1e8cebe7f32c534e1a11305e /drivers/net/wireless/iwlwifi/mvm/mvm.h | |
parent | iwlwifi: mvm: disconnect TDLS peers on reconfig (diff) | |
download | kernel-qcow2-linux-a0f6bf2a5b018bcee93e4dece903589a8bb6062b.tar.gz kernel-qcow2-linux-a0f6bf2a5b018bcee93e4dece903589a8bb6062b.tar.xz kernel-qcow2-linux-a0f6bf2a5b018bcee93e4dece903589a8bb6062b.zip |
iwlwifi: mvm: use private TFD queues for TDLS stations
When adding a TDLS station, allocate 4 new queues for it. Configure them
to FW and enable them. On station removal, drain the queues if needed
and disable them when empty.
Make sure to flush all packets in the private queues of TDLS stations in
the mac80211 flush() callback.
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h index 363be83e283e..63d2d453f9dd 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mvm.h +++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h @@ -578,6 +578,7 @@ struct iwl_mvm { struct work_struct sta_drained_wk; unsigned long sta_drained[BITS_TO_LONGS(IWL_MVM_STATION_COUNT)]; atomic_t pending_frames[IWL_MVM_STATION_COUNT]; + u32 tfd_drained[IWL_MVM_STATION_COUNT]; u8 rx_ba_sessions; /* configured by mac80211 */ |