wlan: Changes to support new LTE coex event.
Add LTE coex event WLAN_COEX_IND_TYPE_CXM_FEATURES_NOTIFICATION to
dump CXM related information sent by firmware.
Change-Id: If97a4611dce6da77f4d7b76f56f8383804d3fb1f
CRs-Fixed: 727239
diff --git a/CORE/WDA/src/wlan_qct_wda.c b/CORE/WDA/src/wlan_qct_wda.c
index be88746..46c63c1 100644
--- a/CORE/WDA/src/wlan_qct_wda.c
+++ b/CORE/WDA/src/wlan_qct_wda.c
@@ -13510,7 +13510,28 @@
{
tANI_U32 index;
vos_msg_t vosMsg;
- tSirSmeCoexInd *pSmeCoexInd = (tSirSmeCoexInd *)vos_mem_malloc(sizeof(tSirSmeCoexInd));
+ tSirSmeCoexInd *pSmeCoexInd;
+
+ if (SIR_COEX_IND_TYPE_CXM_FEATURES_NOTIFICATION ==
+ wdiLowLevelInd->wdiIndicationData.wdiCoexInfo.coexIndType)
+ {
+ if(wdiLowLevelInd->wdiIndicationData.wdiCoexInfo.coexIndData)
+ {
+ VOS_TRACE(VOS_MODULE_ID_WDA, VOS_TRACE_LEVEL_ERROR,
+ FL("Coex state: 0x%x coex feature: 0x%x"),
+ wdiLowLevelInd->wdiIndicationData.wdiCoexInfo.coexIndData[0],
+ wdiLowLevelInd->wdiIndicationData.wdiCoexInfo.coexIndData[1]);
+
+ if (wdiLowLevelInd->wdiIndicationData.wdiCoexInfo.coexIndData[2] << 16)
+ {
+ VOS_TRACE(VOS_MODULE_ID_WDA, VOS_TRACE_LEVEL_ERROR, FL("power limit: 0x%x"),
+ (tANI_U16)(wdiLowLevelInd->wdiIndicationData.wdiCoexInfo.coexIndData[2]));
+ }
+ }
+ break;
+ }
+
+ pSmeCoexInd = (tSirSmeCoexInd *)vos_mem_malloc(sizeof(tSirSmeCoexInd));
if(NULL == pSmeCoexInd)
{
VOS_TRACE( VOS_MODULE_ID_WDA, VOS_TRACE_LEVEL_ERROR,