]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: add queues after adding station
authorSara Sharon <sara.sharon@intel.com>
Tue, 15 Nov 2016 08:20:48 +0000 (10:20 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Apr 2017 19:20:51 +0000 (22:20 +0300)
commit9fe0b1ee7db756e632affe8d59a25c82f4de93fb
tree00f475ead3abc82f36ee105d26783a30bd6fd21e
parent4fe2590113718345b4f169d9d36a3fc9d0250a3d
iwlwifi: mvm: add queues after adding station

Currently aux & broadcast queues are added before calling add
station, which results with a SCD_QUEUE_CFG command sent with
a station id unknown yet to fw.
While this works for pre-a000 firmware, the a000 fw requires
the order to be reversed.
The reason the change is only for a000 devices and not for
previous devices is that we cannot reverse the order since
the tfd_queue_mask containing the aux queue will cause FW to
assert on adding a queue mask with a queue that is not enabled.
This is not a problem in a000 fw since the tfd_queue_mask was
removed from the add sta API.

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