]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Apr 2020 07:08:44 +0000 (09:08 +0200)
commitb2da8059d228fa8467d54644823429dc099eced9
tree742e7b1e1ec1ebc7192cc44aac225bd6665b19b9
parent3198fa38c2f2de199e7aaa71b2c0cf7edf34cc0b
iwlwifi: consider HE capability when setting LDPC

commit 24476f6109dce64b07098ceb6a5ab13c9361aede upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c