From ef777d4dc0ce4f1a7bed84e5559af1ececbc1db7 Mon Sep 17 00:00:00 2001 From: Archana Ramachandran Date: Tue, 29 Mar 2016 16:27:42 -0700 Subject: 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 --- core/mac/src/pe/lim/lim_assoc_utils.c | 4 ++-- core/mac/src/sys/legacy/src/utils/src/parser_api.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'core/mac/src') 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)) { -- cgit v1.2.3