iwlwifi: mvm: Add a station in monitor mode
authorChaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Thu, 3 Dec 2015 13:51:46 +0000 (15:51 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 20 Dec 2015 21:27:40 +0000 (23:27 +0200)
commit0e39eb0386841fc71a86ad3feb5ddff553d2888e
tree7f3bb7a79dd21502645a642fa3a7cddd431d74a0
parentc3e230b167a9d618c4eb41c0a5ba1851d33d6dbd
iwlwifi: mvm: Add a station in monitor mode

Currently when creating a new vif in monitor mode the driver doesn't
allocate a specific station. This causes that in the situation that
tx traffic is injected, the tx queues are not scheduled,
with the result of a TFD queue hang.
Fix that by allocating a station and ensuring its tx queues
are scheduled.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=104591

Signed-off-by: Chaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.h