From b66fc73614723a88a03102d0d9a214db47ce52bb Mon Sep 17 00:00:00 2001 From: Archana Ramachandran Date: Wed, 30 Mar 2016 16:26:38 -0700 Subject: [PATCH] qcacld-3.0: Fix STA including incorrect SMPS value in the HT caps of the reassoc req qcacld-2.0 to qcacld-3.0 propagation When creating the reassoc session, HT SMPS value should be copied from existing session to the reassoc session but the session supported NSS should be set to default value of true and not copied from exisiting session. Session supported NSS should be the intersection of NSS supported by STA and AP that STA will reassoc to. CRs-Fixed: 991042 Change-Id: Ic1577882aaa9c1923ba1dac2126e0cf11e542e36 --- core/mac/src/pe/lim/lim_ft.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/mac/src/pe/lim/lim_ft.c b/core/mac/src/pe/lim/lim_ft.c index c7aea5302bed..770ff88533dc 100644 --- a/core/mac/src/pe/lim/lim_ft.c +++ b/core/mac/src/pe/lim/lim_ft.c @@ -685,7 +685,7 @@ void lim_fill_ft_session(tpAniSirGlobal pMac, lim_init_obss_params(pMac, pftSessionEntry); pftSessionEntry->enableHtSmps = psessionEntry->enableHtSmps; - pftSessionEntry->smpsMode = psessionEntry->smpsMode; + pftSessionEntry->htSmpsvalue = psessionEntry->htSmpsvalue; /* * By default supported NSS 1x1 is set to true * and later on updated while determining session @@ -696,7 +696,7 @@ void lim_fill_ft_session(tpAniSirGlobal pMac, lim_log(pMac, LOG1, FL("FT enable smps: %d mode: %d supported nss 1x1: %d"), pftSessionEntry->enableHtSmps, - pftSessionEntry->smpsMode, + pftSessionEntry->htSmpsvalue, pftSessionEntry->supported_nss_1x1);