]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: use iwl_mvm_mac_get_queues_mask() more
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Aug 2014 21:14:24 +0000 (23:14 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2014 19:49:12 +0000 (22:49 +0300)
commit6ce3ed232c60b9723ea6c6877a8727bdc98f09d5
treec0a953c1977208d11e3e879be54f603900ce19a6
parentb92753bf7168d56f49d712fdffea204e1d68e3c5
iwlwifi: mvm: use iwl_mvm_mac_get_queues_mask() more

There are a few places that can call the function
iwl_mvm_mac_get_queues_mask() instead of open-coding the
equivalent, so do that. This requires changing it to return
the multicast queue as part of the bitmap, which broke GO
mode because including it in the broadcast station queues
seems to confuse the firmware, so work around that.

Also, the API defines that the CAB queue shouldn't be
included in the TFD queue mask, adjust the comment
accordingly (not a bug).

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw-api.h
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c