]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: implement driver RX queues sync command
authorSara Sharon <sara.sharon@intel.com>
Thu, 18 Feb 2016 12:21:12 +0000 (14:21 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:14:39 +0000 (22:14 +0300)
commitf498c575c820367e32294a065824e5244c10368b
treeea2d1714050c6405dc257869b62ead904e822906
parentf1c9b6841f2c720dacdb91808ea11b8178bd3968
iwlwifi: mvm: implement driver RX queues sync command

mac80211 will call the driver whenever there is a race between
RSS queues and control path that requires a processing of all
pending frames in RSS queues.
Implement that by utilizing the internal notification mechanism:
queue a message to all queues. When the message is received on
a queue it decrements the atomic counter. This guarantees that
all pending frames in the RX queue were processed since the message
is in order inside the queue.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-rx.h
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c