qcacld-3.0: Initialize vdev_nss in psession when roaming

Propagation from qcacld-2.0 to qcacld-3.0.

When Dut is configured as 1*1, after roaming to 2*2 AP,
the linkspeed is not right, it will display 144Mpbs rather
than 72Mbps. Because it uses wrong peer_nss and
peer_rate_caps in WMI_PEER_ASSOC_CMDID.

Change-Id: I8700621fbef9c9b4867ac698f7f721d4ffb7d967
CRs-Fixed: 1031447
This commit is contained in:
jge 2016-09-29 14:51:19 +08:00 • committed by Prakash Dhavali
commit fa1edbe021

View file

@ -469,6 +469,12 @@ void lim_handle_ft_pre_auth_rsp(tpAniSirGlobal pMac, tSirRetStatus status,
sizeof(psessionEntry->htConfig));
pftSessionEntry->limSmeState = eLIM_SME_WT_REASSOC_STATE;
if (IS_5G_CH(psessionEntry->ftPEContext.pFTPreAuthReq->
preAuthchannelNum))
pftSessionEntry->vdev_nss = pMac->vdev_type_nss_5g.sta;
else
pftSessionEntry->vdev_nss = pMac->vdev_type_nss_2g.sta;
lim_log(pMac, LOG1, FL("created session (%p) with id = %d"),
pftSessionEntry, pftSessionEntry->peSessionId);