linux-pinenote/drivers/net/wireless/iwlwifi/mvm
Johannes Berg b6658ff80c iwlwifi: mvm: fix flushing not started aggregation sessions
When a not fully started aggregation session is destroyed
and flushed, we get a warning, e.g.

  WARNING: at drivers/net/wireless/iwlwifi/pcie/tx.c:1142 iwl_trans_pcie_txq_disable+0x11c/0x160
  queue 16 not used
  Modules linked in: [...]
  Pid: 5135, comm: hostapd Tainted: G        W  O 3.5.0 #10
  Call Trace:
  wlan0: driver sets block=0 for sta 00:03:7f:10:44:d3
   [<ffffffff81036492>] warn_slowpath_common+0x72/0xa0
   [<ffffffff81036577>] warn_slowpath_fmt+0x47/0x50
   [<ffffffffa0368d6c>] iwl_trans_pcie_txq_disable+0x11c/0x160 [iwlwifi]
   [<ffffffffa03a2099>] iwl_mvm_sta_tx_agg_flush+0xe9/0x150 [iwlmvm]
   [<ffffffffa0396c43>] iwl_mvm_mac_ampdu_action+0xf3/0x1e0 [iwlmvm]
   [<ffffffffa0293ad3>] ___ieee80211_stop_tx_ba_session+0x193/0x920 [mac80211]
   [<ffffffffa0294ed8>] __ieee80211_stop_tx_ba_session+0x48/0x70 [mac80211]
   [<ffffffffa029159f>] ieee80211_sta_tear_down_BA_sessions+0x4f/0x80 [mac80211]
   [<ffffffffa028a686>] __sta_info_destroy+0x66/0x370 [mac80211]
   [<ffffffffa028abb4>] sta_info_destroy_addr_bss+0x44/0x70 [mac80211]
   [<ffffffffa02a3e26>] ieee80211_del_station+0x26/0x50 [mac80211]
   [<ffffffffa01e6395>] nl80211_del_station+0x85/0x200 [cfg80211]

when a station deauthenticated from us without fully setting
up the aggregation session.

Fix this by checking the aggregation state before removing
the hardware queue.

Cc: stable@vger.kernel.org
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-07-26 10:06:07 +02:00
..
binding.c iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
bt-coex.c iwlwifi: mvm: add BT-Coex LUT for 1x1 products 2013-06-25 12:11:31 +02:00
d3.c iwlwifi: mvm: use only a single GTK in D3 2013-07-24 09:28:23 +02:00
debugfs.c iwlwifi: mvm: Fix VIF specific debugfs directory creation 2013-07-16 13:55:05 +03: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: adjust firmware D3 configuration API 2013-05-16 23:18:06 +02:00
fw-api-mac.h iwlwifi: mvm: correctly configure MCAST in AP mode 2013-06-04 13:16:02 +02:00
fw-api-power.h iwlwifi: mvm: Add support for Low Power RX 2013-06-25 12:21:19 +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: mvm: set SSID bits for passive channels 2013-07-24 09:29:08 +02: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: mark scratch area in TX command 2013-06-13 12:06:27 +02:00
fw-api.h iwlwifi: mvm: Add support for connection monitor offload 2013-05-29 09:03:24 +02:00
fw.c iwlwifi: mvm: add thermal throttling and CT kill 2013-05-29 09:03:18 +02:00
led.c iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
mac-ctxt.c iwlwifi: mvm: Change the settings of AP beacon time 2013-06-25 12:13:36 +02:00
mac80211.c iwlwifi: mvm: Disable managed PS when GO is added 2013-07-26 10:05:49 +02:00
Makefile iwlwifi: mvm: add thermal throttling and CT kill 2013-05-29 09:03:18 +02:00
mvm.h iwlwifi: mvm: track the number of Rx BA sessions 2013-07-16 13:55:07 +03:00
nvm.c iwlwifi: take valid ant for HT caps from TLV 2013-05-29 09:03:23 +02:00
ops.c iwlwifi: mvm: reorder Rx handler for performance purposes 2013-06-04 13:15:49 +02:00
phy-ctxt.c iwlwifi: mvm: implement D3 testing 2013-05-29 21:56:57 +02:00
power.c iwlwifi: mvm: Add support for Low Power RX 2013-06-25 12:21:19 +02:00
quota.c iwlwifi: mvm: Fix quota command settings 2013-06-04 13:15:27 +02:00
rs.c Merge remote-tracking branch 'wireless-next/master' into iwlwifi-next 2013-06-25 12:20:16 +02:00
rs.h iwlwifi: mvm: don't enable MIMO when BT is active 2013-06-04 13:13:29 +02:00
rx.c iwlwifi: mvm: add thermal throttling and CT kill 2013-05-29 09:03:18 +02:00
scan.c iwlwifi: mvm: set SSID bits for passive channels 2013-07-24 09:29:08 +02:00
sta.c iwlwifi: mvm: fix flushing not started aggregation sessions 2013-07-26 10:06:07 +02:00
sta.h iwlwifi: mvm: remove unused wait_for_ba field 2013-06-11 20:11:22 +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
tt.c iwlwifi: mvm: add thermal throttling debugging 2013-06-25 12:12:24 +02:00
tx.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-06-18 14:04:51 -04:00
utils.c iwlwifi: mvm: implement D3 testing 2013-05-29 21:56:57 +02:00