iwlwifi: fw: do not set sgi bits for HE connection
authorNaftali Goldstein <naftali.goldstein@intel.com>
Sun, 15 Jul 2018 12:26:27 +0000 (15:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 18:46:59 +0000 (19:46 +0100)
commit76707e34f47707d8937a3a8400f980f2f304637c
tree15eff403f4dc2fef308a8c7b5b17e40d7e2d8d69
parent3a11ec548c5b8d5c57cd249c9c2bae580f7fc29c
iwlwifi: fw: do not set sgi bits for HE connection

[ Upstream commit 5c2dbebb446539eb9640bf59a02756d6e7f1fc53 ]

If the association supports HE, HT/VHT rates will never be used for Tx
and therefore there's no need to set the sgi-per-channel-width-support
bits, so don't set them in this case.

Fixes: 110b32f065f3 ("iwlwifi: mvm: rs: add basic implementation of the new RS API handlers")
Signed-off-by: Naftali Goldstein <naftali.goldstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c