]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: refactor setting PPE thresholds in STA_HE_CTXT_CMD
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Sat, 5 Feb 2022 09:21:36 +0000 (11:21 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Feb 2022 08:40:54 +0000 (10:40 +0200)
commit3cc22e2995a5d64fba92e3c04b5b2cc286a591a8
tree4b29f9191fb8a0be7b156a2102e5d1a99a6f3f8a
parent7b755ab0adce61ee0380e03c9e7c4350f408f9e0
iwlwifi: mvm: refactor setting PPE thresholds in STA_HE_CTXT_CMD

We are setting the PPE Thresholds in STA_HE_CTXT_CMD according
to HE PHY Capabilities IE. As EHT is introduced, we will have to
set this thresholds according to EHT PHY Capabilities IE if we're
in an EHT connection. Some parts of the code can be used for both
HE and EHT. Put this parts in functions which will be used in the
patch which adds support for EHT PPE.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220205112029.48a508dfffef.If392e44d88f96ebed7fadf827e327194d4bd97b1@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
include/linux/ieee80211.h