]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: block the queues when we send ADD_STA for uAPSD
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 24 Nov 2015 12:55:18 +0000 (14:55 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Dec 2015 06:52:53 +0000 (08:52 +0200)
commitea0c3deb1800db0f2f7ee90dbfeeac7f40d79632
tree47e6d2c91a114abb36459a800733557e2bba65e3
parent4581e95d5b41af0a5f662bc3b5df9b479f1bf9ba
iwlwifi: block the queues when we send ADD_STA for uAPSD

We send an ADD_STA to instruct the firmware to release
frames despite the peer being in PS.
Since the ADD_STA command and the Tx frame that comes
immediately afterwards can be reordered by the DMA engine,
we need to block the Tx queues until the firmware replies
with the ADD_STA response.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.c