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)
commit110cf810852f0f5333bcfb10065995006d8ecbbb
treec0a953c1977208d11e3e879be54f603900ce19a6
parent9e848010bfa1c0da21292afb7a98957b5c35622d
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