diff options
| author | jge <jge@codeaurora.org> | 2016-09-29 14:51:19 +0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-11-03 19:33:02 -0700 |
| commit | 0c375960d14fed2d2c872d6915d19a78e79ecd0b (patch) | |
| tree | 3f113ece8c1da787ddff6282bcf3bea7926219c4 /core/mac/src | |
| parent | 36e35dd097a0deb2970c0eb25d1837aa6bf4dd15 (diff) | |
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
Diffstat (limited to 'core/mac/src')
| -rw-r--r-- | core/mac/src/pe/lim/lim_ft_preauth.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/mac/src/pe/lim/lim_ft_preauth.c b/core/mac/src/pe/lim/lim_ft_preauth.c index cca7f81fa040..7a099ecab85f 100644 --- a/core/mac/src/pe/lim/lim_ft_preauth.c +++ b/core/mac/src/pe/lim/lim_ft_preauth.c @@ -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); |
