linux/drivers/net/wireless/iwlwifi/mvm
Emmanuel Grumbach e3d4bc8cc0 iwlwifi: mvm: fix aggregation drain flow
Move the counter for non-AMPDU frames to mvm. It is needed
for the drain flow which happens once the ieee80211_sta has
been freed, so keeping it in iwl_mvm_sta which is embed into
ieee80211_sta is not a good idea.

Also, since its purpose it to remove the STA in the fw only
after all the frames for this station have exited the shared
Tx queues, we need to decrement it in the reclaim flow. This
flow can happen after ieee80211_sta has been removed, which
means that we have no iwl_mvm_sta there. So we can't know
what is the vif type. Hence, we know audit these frames for
all the vif types.
In order to avoid spawning sta_drained_wk all the time, we
now check that we are in a flow in which draining might
happen - only when mvmsta is NULL. This is better than
previous code that would spawn sta_drained_wk all the time
in AP mode.

Cc: stable@vger.kernel.org [3.9]
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-05-16 22:39:07 +02:00
..
binding.c iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
bt-coex.c iwlwifi: mvm: rename iwl_mvm_new_bt_coex_notif 2013-04-03 22:49:55 +02:00
d3.c iwlwifi: sleep for at least 10 seconds 2013-04-03 22:49:52 +02:00
debugfs.c iwlwifi: mvm: implement reduced Tx power 2013-04-03 22:49:12 +02:00
fw-api-bt-coex.h iwlwifi: mvm: add BT Coex FW API 2013-03-06 16:47:57 +01:00
fw-api-d3.h iwlwifi: mvm: implement remote wake 2013-03-06 16:47:51 +01:00
fw-api-mac.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
fw-api-power.h iwlwifi: mvm: set keepalive period regardless of PM state 2013-04-03 22:49:16 +02:00
fw-api-rs.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
fw-api-scan.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
fw-api-sta.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
fw-api-tx.h iwlwifi: mvm: Add beacon notification handler 2013-03-20 12:02:27 +01:00
fw-api.h iwlwifi: mvm: tell firmware to let multicast frames in 2013-05-16 22:39:05 +02:00
fw.c iwlwifi: mvm: take the valid_{rx,tx}_ant from the TLV 2013-03-20 14:17:12 +01:00
led.c iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
mac80211.c iwlwifi: mvm: fix aggregation drain flow 2013-05-16 22:39:07 +02:00
mac-ctxt.c iwlwifi: mvm: Prevent setting assoc flag in MAC_CONTEXT_CMD 2013-05-16 22:39:06 +02:00
Makefile iwlwifi: mvm: begin basic BT-Coex implementation 2013-03-06 16:47:58 +01:00
mvm.h iwlwifi: mvm: fix aggregation drain flow 2013-05-16 22:39:07 +02:00
nvm.c iwlwifi: mvm: MVM op_mode is supported on 7000 only 2013-03-20 12:01:54 +01:00
ops.c iwlwifi: mvm: tell firmware to let multicast frames in 2013-05-16 22:39:05 +02:00
phy-ctxt.c iwlwifi: mvm: remove TODO which has been addressed 2013-04-16 15:31:45 +02:00
power.c iwlwifi: mvm: remove usage of power_save module parameter 2013-04-18 13:33:09 +02:00
quota.c iwlwifi: mvm: Fix quota handling for monitor interface 2013-03-20 14:17:08 +01:00
rs.c iwlwifi: mvm: remove users of nvm_data->valid_tx_ant 2013-04-08 13:31:08 +02:00
rs.h
rx.c iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
scan.c iwlwifi: mvm: Always use SCAN_TYPE_FORCED 2013-05-16 22:39:04 +02:00
sta.c iwlwifi: mvm: fix aggregation drain flow 2013-05-16 22:39:07 +02:00
sta.h iwlwifi: mvm: fix aggregation drain flow 2013-05-16 22:39:07 +02:00
time-event.c iwlwifi: mvm: Sync FW API time event notification change 2013-04-03 22:49:52 +02:00
time-event.h iwlwifi: mvm: Add support for different ROC types 2013-03-20 14:31:04 +01:00
tx.c iwlwifi: mvm: fix aggregation drain flow 2013-05-16 22:39:07 +02:00
utils.c iwlwifi: mvm: fix first_antenna 2013-04-16 15:32:22 +02:00