]> 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)
commit61bf1d70ee50afc8e6716ea1976b83031399898e
tree47e6d2c91a114abb36459a800733557e2bba65e3
parent42d6da44d204837fa0de3dc9b504a3b726daff97
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