]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: assign cab queue to the correct station
authorSara Sharon <sara.sharon@intel.com>
Thu, 6 Oct 2016 13:42:32 +0000 (16:42 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Oct 2016 09:46:35 +0000 (12:46 +0300)
commit6e0d18e97be6f65690f6d7f5893095fb3c5e2251
tree2293929a0b5fc849952c07f2a96784a8f1169629
parent999bee35122b74787e57f3ab8db14f8297ed7ac7
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