summaryrefslogtreecommitdiff
path: root/CORE/VOSS/src
diff options
context:
space:
mode:
authorAmar Singhal <asinghal@qca.qualcomm.com>2015-07-29 17:40:17 -0700
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2015-07-30 15:33:10 +0530
commitb0396ba9eae4e8aedb8787be8a98ba54820e917f (patch)
treeb86eb43d3dde03ef107b7190d03a7300bf9014e9 /CORE/VOSS/src
parentf5d87f136909ea3576eb5212c89a18fd272d3fb0 (diff)
qcacld-2.0: Send CCK chain mask before wiphy registration
Send CCK chain mask before wiphy registration to WMA. During wiphy registration, there is regulatory callback and the regdomain/CTL info is sent during that time to firmware. Therefore send CCK chain mask to WMA before that. Change-Id: I6fc9c5951ce1b0b37aab42f9a80cf711006f828a CRs-Fixed: 881894
Diffstat (limited to 'CORE/VOSS/src')
-rw-r--r--CORE/VOSS/src/vos_nvitem.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/CORE/VOSS/src/vos_nvitem.c b/CORE/VOSS/src/vos_nvitem.c
index f2b4f59afb77..64466896af6d 100644
--- a/CORE/VOSS/src/vos_nvitem.c
+++ b/CORE/VOSS/src/vos_nvitem.c
@@ -1653,7 +1653,8 @@ int __wlan_hdd_linux_reg_notifier(struct wiphy *wiphy,
}
/* send CTL info to firmware */
- regdmn_set_regval(&pHddCtx->reg);
+ regdmn_set_regval(&pHddCtx->reg,
+ pHddCtx->cfg_ini->tx_chain_mask_cck);
/* set dfs_region info */
vos_nv_set_dfs_region(request->dfs_region);
@@ -1735,7 +1736,8 @@ VOS_STATUS vos_init_wiphy_from_eeprom(void)
init_completion(&pHddCtx->reg_init);
/* send CTL info to firmware */
- regdmn_set_regval(&pHddCtx->reg);
+ regdmn_set_regval(&pHddCtx->reg,
+ pHddCtx->cfg_ini->tx_chain_mask_cck);
return VOS_STATUS_SUCCESS;
}