]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: consider HE capability when setting LDPC
authorMordechay Goodstein <mordechay.goodstein@intel.com>
Fri, 6 Mar 2020 13:16:22 +0000 (15:16 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Mar 2020 13:26:32 +0000 (15:26 +0200)
commit24476f6109dce64b07098ceb6a5ab13c9361aede
tree37c2c7b910fa7aacab34079720f8f55017e5af6c
parent29c193379c6738ed42333a0e231bf3b6f6577115
iwlwifi: consider HE capability when setting LDPC

The AP may set the LDPC capability only in HE (IEEE80211_HE_PHY_CAP1),
but we were checking it only in the HT capabilities.

If we don't use this capability when required, the DSP gets the wrong
configuration in HE and doesn't work properly.

Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Fixes: 06dfbc836e38 ("iwlwifi: rs: consider LDPC capability in case of HE")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200306151128.492d167c1a25.I1ad1353dbbf6c99ae57814be750f41a1c9f7f4ac@changeid
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c