瀏覽代碼

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
Archana Ramachandran 9 年之前
父節點
當前提交
b66fc73614
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/mac/src/pe/lim/lim_ft.c

+ 2 - 2
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);