qcacld-3.0: Always support MCS 0-7 for HT connection

In case HT peer rates are malformed and MCS 0-7 are not supported
set them forcefuly because as per spec, a 11n connection must support
MCS 0-7

Change-Id: If599c1478b9d3231da589576ef5ba9236b58ce4c
CRs-Fixed: 2059506
This commit is contained in:
Naveen Rawat 2017-06-14 14:28:37 -07:00 • committed by snandini
commit 6417668a2e

View file

@ -1750,6 +1750,11 @@ lim_populate_peer_rate_set(tpAniSirGlobal pMac,
for (i = 0; i < SIR_MAC_MAX_SUPPORTED_MCS_SET; i++)
pe_debug("%x ", pRates->supportedMCSSet[i]);
if (pRates->supportedMCSSet[0] == 0) {
pe_debug("Incorrect MCS 0 - 7. They must be supported");
pRates->supportedMCSSet[0] = 0xFF;
}
psessionEntry->supported_nss_1x1 =
((pRates->supportedMCSSet[1] != 0) ? false : true);
pe_debug("HT supported nss 1x1: %d",