iwlwifi: mvm: use private TFD queues for TDLS stations
authorArik Nemtsov <arik@wizery.com>
Sun, 21 Sep 2014 16:10:04 +0000 (19:10 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:23 +0000 (08:30 +0200)
commita0f6bf2a5b018bcee93e4dece903589a8bb6062b
tree6013e97f75ac0f5a1e8cebe7f32c534e1a11305e
parentcbd2ae2da6497b507f89849dffd972a474058480
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>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/sta.c
drivers/net/wireless/iwlwifi/mvm/sta.h
drivers/net/wireless/iwlwifi/mvm/tx.c