wifi: iwlwifi: mvm: support PPE Thresholds for EHT
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Tue, 22 Nov 2022 20:10:36 +0000 (22:10 +0200)
committerGregory Greenman <gregory.greenman@intel.com>
Mon, 28 Nov 2022 15:53:17 +0000 (17:53 +0200)
commitcb63eb438ee9264b086ec7e0b2f01c56983ebe61
tree90c429cb0ad54921cbb5f40256b80d6738d3f13a
parent64e7dd3f9be68a53e760f184a6d8049a1121a060
wifi: iwlwifi: mvm: support PPE Thresholds for EHT

In an EHT connection fill in the HE context command
with PPE Thresholds field from EHT Capabilities IE.
If PPE Thresholds field presents only in HE Capabilities IE,
take the thresholds from there.
If it's not present in both - set the Common Nominal Packet Padding
field from EHT Capabilities IE.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://lore.kernel.org/r/20221122220713.062ac86110f2.I0bcd5ee35f4d987a49f15501985f90e0d3ce7590@changeid
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/mac.h
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c