mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 13:09:04 -04:00
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:
parent
43710452d0
commit
6417668a2e
1 changed files with 5 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue