]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: correct HE capabilities
authorJohannes Berg <johannes.berg@intel.com>
Thu, 17 Jun 2021 07:08:47 +0000 (10:08 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 22 Jun 2021 12:11:41 +0000 (15:11 +0300)
commit4fbb512fc2f1707d8be8b81fd51e2fe5b5e7c32a
tree89534a8fd1c699b56ea757d82d98f0096bb052b8
parent3899040f90bf9211c6ff7ea9d6f7a1bf695cc86f
iwlwifi: correct HE capabilities

The (default) HE capabilities for our devices weren't handled
correctly, adjust them to match the correct capabilities of
the devices.

Since the device regulatory will not allow 160 MHz on 5 GHz,
don't advertise this capability by default; do it only if an
NVM file is being loaded that might change the regulatory
parameters.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210617100544.e8d0b02ec86b.Ia6ef8cc0480d38af25e6ac45fad9fb15bdfcbc2c@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c