summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchana Ramachandran <archanar@codeaurora.org>2016-03-29 16:27:42 -0700
committerVishwajith Upendra <vishwaji@codeaurora.org>2016-04-27 17:00:13 -0700
commitef777d4dc0ce4f1a7bed84e5559af1ececbc1db7 (patch)
tree0596141185f9fa7d212705fbbf14db9fcbdee532
parent28d0312dfa74324b9e514a82fbd98022307e6692 (diff)
qcacld-3.0: Fix assoc req not including SMPS static in 1x1 antenna mode
qcacld-2.0 to qcacld-3.0 propagation In platforms that supports LTE coex, When antenna mode is dynamically switched from 2x2 to 1x1 before station association the SMPS mode is not set to enabled, static in the HT caps of assoc req management frame. Although the station will send SMPS action frames with the correct SMPS mode after association, if the AP did not receive the management frames then it will continue to transmit in 2x2 rates when station is in 1x1 mode. CRs-Fixed: 986388 Change-Id: Ide2eef354ca6a8aa83981a959b029216c2069943
-rw-r--r--core/mac/src/pe/lim/lim_assoc_utils.c4
-rw-r--r--core/mac/src/sys/legacy/src/utils/src/parser_api.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/core/mac/src/pe/lim/lim_assoc_utils.c b/core/mac/src/pe/lim/lim_assoc_utils.c
index aa704af12e01..3d49e7a0543e 100644
--- a/core/mac/src/pe/lim/lim_assoc_utils.c
+++ b/core/mac/src/pe/lim/lim_assoc_utils.c
@@ -1782,8 +1782,8 @@ lim_populate_peer_rate_set(tpAniSirGlobal pMac,
psessionEntry->supported_nss_1x1 =
((pRates->supportedMCSSet[1] != 0) ? false : true);
- PELOG1(lim_log(pMac, LOG1, FL("HT supported nss 1x1: %d"),
- psessionEntry->supported_nss_1x1);)
+ lim_log(pMac, LOG1, FL("HT supported nss 1x1: %d"),
+ psessionEntry->supported_nss_1x1);
}
lim_populate_vht_mcs_set(pMac, pRates, pVHTCaps, psessionEntry);
return eSIR_SUCCESS;
diff --git a/core/mac/src/sys/legacy/src/utils/src/parser_api.c b/core/mac/src/sys/legacy/src/utils/src/parser_api.c
index e94a5f6d2b02..db860844cef0 100644
--- a/core/mac/src/sys/legacy/src/utils/src/parser_api.c
+++ b/core/mac/src/sys/legacy/src/utils/src/parser_api.c
@@ -787,7 +787,7 @@ populate_dot11f_ht_caps(tpAniSirGlobal pMac,
/* If STA mode, session supported NSS > 1 and
* SMPS enabled publish HT SMPS IE
*/
- if (psessionEntry && (!pMac->lteCoexAntShare) &&
+ if (psessionEntry &&
LIM_IS_STA_ROLE(psessionEntry) &&
(psessionEntry->enableHtSmps) &&
(!psessionEntry->supported_nss_1x1)) {