]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: avoid races in rate init and rate perform
authorMordechay Goodstein <mordechay.goodstein@intel.com>
Thu, 13 Jun 2019 13:34:07 +0000 (16:34 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 30 Jul 2019 16:34:10 +0000 (18:34 +0200)
commitc66cff5529c50b6f234793befe7cf172de6f8827
treea441fd7d1dc6481898182fe56cb1c05fb99ad74a
parentcdbad249e21e2f3cbfca636e08512d4f3776dbe4
iwlwifi: mvm: avoid races in rate init and rate perform

Rate perform uses the lq_sta table to calculate the next rate to scale
while rate init resets the same table,

Rate perform is done in soft irq context in parallel to rate init
that can be called in case we are doing changes like AP changes BW
or moving state for auth to assoc.

Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs.c
drivers/net/wireless/intel/iwlwifi/mvm/rs.h
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.h