iwlwifi: mvm: assign cab queue to the correct station
commit8236f7db272484093fb02ce72a40e7224a5c29d4
authorSara Sharon <sara.sharon@intel.com>
Thu, 6 Oct 2016 13:42:32 +0000 (6 16:42 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Oct 2016 09:46:35 +0000 (19 12:46 +0300)
tree2293929a0b5fc849952c07f2a96784a8f1169629
parent19c52f460f6d84af8225d8a769d66871dc5ed65b
iwlwifi: mvm: assign cab queue to the correct station

Currently when configuring the cab queue the scheduler is configured
without station id - which results in station id 0.
In DQA mode this causes firmware to assert later on when the actual
station 0 is added with an empty tfd_queue_mask.
Fix that by configuring the queue to the broadcast station.
This is a bit trickier since the queue should not be included in the
tfd_queue_mask of the ADD_STA since it is a multicast queue, and the
tfd_queue_mask is only unicast queue. As a result the queue should be
enabled only after the broadcast station is added.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c