diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-06-20 13:03:56 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-06-21 14:02:15 +0200 |
commit | 3a9690d030d8572736e07b912deea5547dd94db3 (patch) | |
tree | 835f5649437e4cd7889f1e65a5cd74da96a4acdd /drivers/net/wireless/intel/iwlwifi/mvm/sf.c | |
parent | 00e482010dfb5879fc9e8601d5819641fe4ae925 (diff) |
wifi: iwlwifi: limit EHT capabilities based on PCIe link speed
If a discrete NIC is connected to a PCIe link hat isn't at least
Gen3 (8.0 GT/s), then we cannot sustain 320 MHz traffic, so remove
that from EHT capabilities in that case.
While at it, also move setting 320 MHz beamformee to the right
place in the code so it's not set while not supporting 320 MHz.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230620125813.b77a1574a0a7.Id4120c161fb7df6dedc70d5f3e3829e9117b8cb1@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/sf.c')
0 files changed, 0 insertions, 0 deletions