|
@@ -1781,7 +1781,7 @@ lim_populate_peer_rate_set(tpAniSirGlobal pMac,
|
|
|
lim_populate_he_mcs_set(pMac, pRates, he_caps,
|
|
|
psessionEntry, psessionEntry->nss);
|
|
|
|
|
|
- if (IS_DOT11_MODE_HE(psessionEntry->dot11mode)) {
|
|
|
+ if (IS_DOT11_MODE_HE(psessionEntry->dot11mode) && he_caps) {
|
|
|
psessionEntry->nss = he_caps->nss_supported;
|
|
|
} else if (IS_DOT11_MODE_VHT(psessionEntry->dot11mode)) {
|
|
|
if ((pRates->vhtRxMCSMap & MCSMAPMASK2x2) == MCSMAPMASK2x2)
|
|
@@ -1789,6 +1789,7 @@ lim_populate_peer_rate_set(tpAniSirGlobal pMac,
|
|
|
} else if (pRates->supportedMCSSet[1] == 0) {
|
|
|
psessionEntry->nss = NSS_1x1_MODE;
|
|
|
}
|
|
|
+ pe_debug("nss: %d", psessionEntry->nss);
|
|
|
|
|
|
return eSIR_SUCCESS;
|
|
|
} /*** lim_populate_peer_rate_set() ***/
|