qcacld-3.0: Set NSS for STA as intersection of self and AP
Host send self nss capability in start Vdev and thus firmware start SMPS frames during DBS even if peer is 1x1 capable. To fix set NSS for STA as intersection of self and AP. Change-Id: I38eeade0456f65f27b335f4ee14db0472507feb0 CRs-Fixed: 2056290
This commit is contained in:
@@ -205,6 +205,16 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
|
||||
pe_debug("For special ap, NSS: %d", session->nss);
|
||||
}
|
||||
|
||||
if (session->nss > lim_get_nss_supported_by_beacon(beacon_struct,
|
||||
session)) {
|
||||
session->nss = lim_get_nss_supported_by_beacon(beacon_struct,
|
||||
session);
|
||||
session->vdev_nss = session->nss;
|
||||
}
|
||||
|
||||
if (session->nss == 1)
|
||||
session->supported_nss_1x1 = true;
|
||||
|
||||
if (beacon_struct->wmeInfoPresent ||
|
||||
beacon_struct->wmeEdcaPresent ||
|
||||
beacon_struct->HTCaps.present)
|
||||
|
Reference in New Issue
Block a user