qcacld-3.0: Fix NSS being sent to firmware

Send NSS value to firmware in update_nss as received from AP
in OTA frame, VHT Operation notifcation IE.

Change-Id: Iad92cc3ce634b69397666f574917b5254a73dcda
CRs-Fixed: 1070224
This commit is contained in:
Naveen Rawat 2016-09-22 15:18:02 -07:00 • committed by qcabuildsw
commit 3ca7483971
2 changed files with 3 additions and 3 deletions

View file

@ -577,7 +577,8 @@ static void __lim_process_operating_mode_action_frame(tpAniSirGlobal mac_ctx,
(operating_mode_frm->OperatingMode.rxNSS + 1)) {
sta_ptr->vhtSupportedRxNss =
operating_mode_frm->OperatingMode.rxNSS + 1;
lim_set_nss_change(mac_ctx, session, sta_ptr->vhtSupportedRxNss,
lim_set_nss_change(mac_ctx, session,
operating_mode_frm->OperatingMode.rxNSS,
sta_ptr->staIndex, mac_hdr->sa);
}

View file

@ -494,8 +494,7 @@ void update_nss(tpAniSirGlobal mac_ctx, tpDphHashNode sta_ds,
tpSirMacMgmtHdr mgmt_hdr)
{
if (sta_ds->vhtSupportedRxNss != (beacon->OperatingMode.rxNSS + 1)) {
sta_ds->vhtSupportedRxNss =
beacon->OperatingMode.rxNSS + 1;
sta_ds->vhtSupportedRxNss = beacon->OperatingMode.rxNSS;
lim_set_nss_change(mac_ctx, session_entry,
sta_ds->vhtSupportedRxNss, sta_ds->staIndex,
mgmt_hdr->sa);