qcacld-3.0: Resolve unknown code issues in MTRACE logs
qcacld-2.0 to qcacld-3.0 propagation
Some MTRACE logs returns 'unknown code' instead of code and data passed
to MTRACE. To resolve this unknown code issues in MTRACE logs,
add any missing MTRACE code enums in corresponding trace functions.
Both mac_trace_msg_tx() and mac_trace_msg_rx() were not handling
eWniMsgTypes enums, we don't have module Id for SME to handle
in those functions itself. So, modified mac_trace_msg_tx() to mac_trace().
Change-Id: Ia994c971178e24843f652b67336afeaec5e949ab
CRs-Fixed: 871983
(cherry picked from commit 5e12a6f7a67de546c8567341f35707da61cf00b8)
diff --git a/core/mac/inc/wni_api.h b/core/mac/inc/wni_api.h
index c338a64..320ecab 100644
--- a/core/mac/inc/wni_api.h
+++ b/core/mac/inc/wni_api.h
@@ -41,6 +41,8 @@
#ifndef __WNI_API_H
#define __WNI_API_H
+#define SIR_SME_MODULE_ID 0x16
+
/* / Start of Sirius/Host message types */
#define WNI_HOST_MSG_START 0x1500
diff --git a/core/mac/src/pe/lim/lim_process_message_queue.c b/core/mac/src/pe/lim/lim_process_message_queue.c
index db28515..11c08b3 100644
--- a/core/mac/src/pe/lim/lim_process_message_queue.c
+++ b/core/mac/src/pe/lim/lim_process_message_queue.c
@@ -1239,13 +1239,26 @@
mac_ctx->lim.numTot++;
#endif
/*
- * Omitting below message types as these are too frequent and when crash
- * happens we loose critical trace logs if these are also logged
+ * MTRACE logs not captured for events received from SME
+ * SME enums (eWNI_SME_START_REQ) starts with 0x16xx.
+ * Compare received SME events with SIR_SME_MODULE_ID
*/
- if (msg->type != SIR_CFG_PARAM_UPDATE_IND &&
- msg->type != SIR_BB_XPORT_MGMT_MSG)
- MTRACE(mac_trace_msg_rx(mac_ctx, NO_SESSION,
- LIM_TRACE_MAKE_RXMSG(msg->type, LIM_MSG_PROCESSED));)
+ if (SIR_SME_MODULE_ID ==
+ (uint8_t)MAC_TRACE_GET_MODULE_ID(msg->type)) {
+ MTRACE(mac_trace(mac_ctx, TRACE_CODE_RX_SME_MSG,
+ NO_SESSION, msg->type));
+ } else {
+ /*
+ * Omitting below message types as these are too frequent
+ * and when crash happens we loose critical trace logs
+ * if these are also logged
+ */
+ if (msg->type != SIR_CFG_PARAM_UPDATE_IND &&
+ msg->type != SIR_BB_XPORT_MGMT_MSG)
+ MTRACE(mac_trace_msg_rx(mac_ctx, NO_SESSION,
+ LIM_TRACE_MAKE_RXMSG(msg->type,
+ LIM_MSG_PROCESSED));)
+ }
switch (msg->type) {
diff --git a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c
index 8383f5d..eed53e7 100644
--- a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c
@@ -873,7 +873,8 @@
pSirSmeAssocInd->staId = pStaDs->staIndex;
pSirSmeAssocInd->reassocReq = pStaDs->mlmStaContext.subType;
pSirSmeAssocInd->timingMeasCap = pStaDs->timingMeasCap;
- MTRACE(mac_trace_msg_tx(pMac, psessionEntry->peSessionId, msgQ.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ psessionEntry->peSessionId, msgQ.type));
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM /* FEATURE_WLAN_DIAG_SUPPORT */
lim_diag_event_report(pMac, WLAN_PE_DIAG_ASSOC_IND_EVENT, psessionEntry, 0,
0);
diff --git a/core/mac/src/pe/lim/lim_process_probe_req_frame.c b/core/mac/src/pe/lim/lim_process_probe_req_frame.c
index 5b53e5e..37460e4 100644
--- a/core/mac/src/pe/lim/lim_process_probe_req_frame.c
+++ b/core/mac/src/pe/lim/lim_process_probe_req_frame.c
@@ -667,7 +667,8 @@
qdf_mem_copy(pSirSmeProbeReqInd->WPSPBCProbeReq.peer_macaddr.bytes,
peerMacAddr, QDF_MAC_ADDR_SIZE);
- MTRACE(mac_trace_msg_tx(pMac, psessionEntry->peSessionId, msgQ.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ psessionEntry->peSessionId, msgQ.type));
pSirSmeProbeReqInd->WPSPBCProbeReq.probeReqIELen =
(uint16_t) ProbeReqIELen;
qdf_mem_copy(pSirSmeProbeReqInd->WPSPBCProbeReq.probeReqIE, pProbeReqIE,
diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
index 7ba3738..653ff56 100644
--- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
@@ -107,7 +107,8 @@
msg.type = msg_type;
msg.bodyptr = sme_rsp;
msg.bodyval = 0;
- MTRACE(mac_trace_msg_tx(mac_ctx, sme_session_id, msg.type));
+ MTRACE(mac_trace(mac_ctx, TRACE_CODE_TX_SME_MSG,
+ sme_session_id, msg.type));
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM /* FEATURE_WLAN_DIAG_SUPPORT */
switch (msg_type) {
@@ -240,7 +241,7 @@
msg.type = sme_join_rsp->messageType;
msg.bodyptr = sme_join_rsp;
msg.bodyval = 0;
- MTRACE(mac_trace_msg_tx(mac_ctx, NO_SESSION, msg.type));
+ MTRACE(mac_trace(mac_ctx, TRACE_CODE_TX_SME_MSG, NO_SESSION, msg.type));
lim_sys_process_mmh_msg_api(mac_ctx, &msg, ePROT);
}
@@ -689,10 +690,11 @@
mmhMsg.bodyptr = pSirSmeRsp;
mmhMsg.bodyval = 0;
if (psessionEntry == NULL) {
- MTRACE(mac_trace_msg_tx(pMac, NO_SESSION, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ NO_SESSION, mmhMsg.type));
} else {
- MTRACE(mac_trace_msg_tx
- (pMac, psessionEntry->peSessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ psessionEntry->peSessionId, mmhMsg.type));
}
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM /* FEATURE_WLAN_DIAG_SUPPORT */
lim_diag_event_report(pMac, WLAN_PE_DIAG_START_BSS_RSP_EVENT,
@@ -774,7 +776,7 @@
mmhMsg.bodyptr = pSirSmeScanRsp;
mmhMsg.bodyval = 0;
- MTRACE(mac_trace_msg_tx(pMac, NO_SESSION, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG, NO_SESSION, mmhMsg.type));
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM /* FEATURE_WLAN_DIAG_SUPPORT */
lim_diag_event_report(pMac, WLAN_PE_DIAG_SCAN_RSP_EVENT, NULL,
(uint16_t) resultCode, 0);
@@ -795,7 +797,7 @@
mmhMsg.bodyptr = pMsg;
mmhMsg.bodyval = 0;
- MTRACE(mac_trace_msg_tx(pMac, NO_SESSION, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG, NO_SESSION, mmhMsg.type));
lim_sys_process_mmh_msg_api(pMac, &mmhMsg, ePROT);
}
@@ -998,7 +1000,8 @@
mmhMsg.bodyptr = pSirSmeDisassocInd;
mmhMsg.bodyval = 0;
- MTRACE(mac_trace_msg_tx(pMac, psessionEntry->peSessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ psessionEntry->peSessionId, mmhMsg.type));
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM /* FEATURE_WLAN_DIAG_SUPPORT */
lim_diag_event_report(pMac, WLAN_PE_DIAG_DISASSOC_IND_EVENT, psessionEntry,
0, (uint16_t) pStaDs->mlmStaContext.disassocReason);
@@ -1454,7 +1457,7 @@
break;
}
- MTRACE(mac_trace_msg_tx(mac_ctx, session_id, msg.type));
+ MTRACE(mac_trace(mac_ctx, TRACE_CODE_TX_SME_MSG, session_id, msg.type));
if (eSIR_SUCCESS != lim_sys_process_mmh_msg_api(mac_ctx, &msg, ePROT)) {
qdf_mem_free(wm_status_change_ntf);
lim_log(mac_ctx, LOGP,
@@ -1523,10 +1526,11 @@
mmhMsg.bodyptr = pSirSmeSetContextRsp;
mmhMsg.bodyval = 0;
if (NULL == psessionEntry) {
- MTRACE(mac_trace_msg_tx(pMac, NO_SESSION, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ NO_SESSION, mmhMsg.type));
} else {
- MTRACE(mac_trace_msg_tx
- (pMac, psessionEntry->peSessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ psessionEntry->peSessionId, mmhMsg.type));
}
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM /* FEATURE_WLAN_DIAG_SUPPORT */
@@ -1617,7 +1621,7 @@
msgQ.type = eWNI_SME_NEIGHBOR_BSS_IND;
msgQ.bodyptr = pNewBssInd;
msgQ.bodyval = 0;
- MTRACE(mac_trace_msg_tx(pMac, NO_SESSION, msgQ.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG, NO_SESSION, msgQ.type));
lim_sys_process_mmh_msg_api(pMac, &msgQ, ePROT);
} /*** end lim_send_sme_neighbor_bss_ind() ***/
@@ -1661,10 +1665,11 @@
mmhMsg.bodyptr = rsp;
mmhMsg.bodyval = 0;
if (NULL == psessionEntry) {
- MTRACE(mac_trace_msg_tx(pMac, NO_SESSION, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ NO_SESSION, mmhMsg.type));
} else {
- MTRACE(mac_trace_msg_tx
- (pMac, psessionEntry->peSessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ psessionEntry->peSessionId, mmhMsg.type));
}
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM /* FEATURE_WLAN_DIAG_SUPPORT */
lim_diag_event_report(pMac, WLAN_PE_DIAG_ADDTS_RSP_EVENT, psessionEntry, 0,
@@ -1717,10 +1722,11 @@
mmhMsg.bodyptr = rsp;
mmhMsg.bodyval = 0;
if (NULL == psessionEntry) {
- MTRACE(mac_trace_msg_tx(pMac, NO_SESSION, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ NO_SESSION, mmhMsg.type));
} else {
- MTRACE(mac_trace_msg_tx
- (pMac, psessionEntry->peSessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ psessionEntry->peSessionId, mmhMsg.type));
}
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM /* FEATURE_WLAN_DIAG_SUPPORT */
lim_diag_event_report(pMac, WLAN_PE_DIAG_DELTS_RSP_EVENT, psessionEntry,
@@ -1821,7 +1827,7 @@
mmhMsg.bodyptr = stats;
mmhMsg.bodyval = 0;
- MTRACE(mac_trace_msg_tx(pMac, NO_SESSION, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG, NO_SESSION, mmhMsg.type));
lim_sys_process_mmh_msg_api(pMac, &mmhMsg, ePROT);
return;
@@ -1872,7 +1878,7 @@
mmhMsg.type = eWNI_SME_GET_TSM_STATS_RSP;
mmhMsg.bodyptr = pStats;
mmhMsg.bodyval = 0;
- MTRACE(mac_trace_msg_tx(pMac, sessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG, sessionId, mmhMsg.type));
lim_sys_process_mmh_msg_api(pMac, &mmhMsg, ePROT);
return;
@@ -1918,7 +1924,7 @@
mmhMsg.type = msgType;
mmhMsg.bodyptr = pNewPeerInd;
- MTRACE(mac_trace_msg_tx(pMac, sessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG, sessionId, mmhMsg.type));
lim_sys_process_mmh_msg_api(pMac, &mmhMsg, ePROT);
}
@@ -2206,7 +2212,8 @@
mmhMsg.type = eWNI_SME_FT_AGGR_QOS_RSP;
mmhMsg.bodyptr = aggrQosRsp;
mmhMsg.bodyval = 0;
- MTRACE(mac_trace_msg_tx(pMac, smesessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ smesessionId, mmhMsg.type));
lim_sys_process_mmh_msg_api(pMac, &mmhMsg, ePROT);
return;
@@ -2236,7 +2243,8 @@
"eWNI_SME_MAX_ASSOC_EXCEEDED",
MAC_ADDR_ARRAY(peerMacAddr));
)
- MTRACE(mac_trace_msg_tx(pMac, smesessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ smesessionId, mmhMsg.type));
lim_sys_process_mmh_msg_api(pMac, &mmhMsg, ePROT);
return;
diff --git a/core/mac/src/pe/lim/lim_trace.c b/core/mac/src/pe/lim/lim_trace.c
index 89d9d02..1598724 100644
--- a/core/mac/src/pe/lim/lim_trace.c
+++ b/core/mac/src/pe/lim/lim_trace.c
@@ -438,6 +438,9 @@
CASE_RETURN_STRING(eLIM_MLM_WT_SET_STA_KEY_STATE);
CASE_RETURN_STRING(eLIM_MLM_WT_SET_STA_BCASTKEY_STATE);
CASE_RETURN_STRING(eLIM_MLM_WT_SET_MIMOPS_STATE);
+ CASE_RETURN_STRING(eLIM_MLM_WT_ADD_BSS_RSP_FT_REASSOC_STATE);
+ CASE_RETURN_STRING(eLIM_MLM_WT_FT_REASSOC_RSP_STATE);
+ CASE_RETURN_STRING(eLIM_MLM_P2P_LISTEN_STATE);
default:
return "UNKNOWN";
break;
diff --git a/core/mac/src/pe/lim/lim_utils.c b/core/mac/src/pe/lim/lim_utils.c
index 57e7c24..84dae0d 100644
--- a/core/mac/src/pe/lim/lim_utils.c
+++ b/core/mac/src/pe/lim/lim_utils.c
@@ -2664,7 +2664,8 @@
mmhMsg.bodyptr = pSirSmeSwitchChInd;
mmhMsg.bodyval = 0;
- MTRACE(mac_trace_msg_tx(pMac, psessionEntry->peSessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ psessionEntry->peSessionId, mmhMsg.type));
sys_process_mmh_msg(pMac, &mmhMsg);
}
diff --git a/core/mac/src/pe/rrm/rrm_api.c b/core/mac/src/pe/rrm/rrm_api.c
index 3f39f5f..86fb965 100644
--- a/core/mac/src/pe/rrm/rrm_api.c
+++ b/core/mac/src/pe/rrm/rrm_api.c
@@ -441,7 +441,8 @@
/* Send request to SME. */
mmhMsg.type = pSmeNeighborRpt->messageType;
mmhMsg.bodyptr = pSmeNeighborRpt;
- MTRACE(mac_trace_msg_tx(pMac, pSessionEntry->peSessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ pSessionEntry->peSessionId, mmhMsg.type));
status = lim_sys_process_mmh_msg_api(pMac, &mmhMsg, ePROT);
return status;
@@ -696,7 +697,8 @@
/* Send request to SME. */
mmhMsg.type = eWNI_SME_BEACON_REPORT_REQ_IND;
mmhMsg.bodyptr = pSmeBcnReportReq;
- MTRACE(mac_trace_msg_tx(pMac, pSessionEntry->peSessionId, mmhMsg.type));
+ MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
+ pSessionEntry->peSessionId, mmhMsg.type));
return lim_sys_process_mmh_msg_api(pMac, &mmhMsg, ePROT);
}
diff --git a/core/mac/src/sys/legacy/src/utils/src/mac_trace.c b/core/mac/src/sys/legacy/src/utils/src/mac_trace.c
index e4b866b..70820f6 100644
--- a/core/mac/src/sys/legacy/src/utils/src/mac_trace.c
+++ b/core/mac/src/sys/legacy/src/utils/src/mac_trace.c
@@ -44,6 +44,7 @@
#include "csr_neighbor_roam.h"
#include "csr_internal.h"
#include "lim_global.h"
+#include "lim_types.h"
#include "qdf_mem.h"
#include "qdf_trace.h"
#include "wma_if.h"
@@ -275,6 +276,7 @@
CASE_RETURN_STRING(eWNI_SME_SET_APWPARSNIEs_REQ);
CASE_RETURN_STRING(eWNI_SME_UPPER_LAYER_ASSOC_CNF);
CASE_RETURN_STRING(eWNI_SME_HIDE_SSID_REQ);
+ CASE_RETURN_STRING(eWNI_SME_CHNG_MCC_BEACON_INTERVAL);
CASE_RETURN_STRING(eWNI_SME_REMAIN_ON_CHANNEL_REQ);
CASE_RETURN_STRING(eWNI_SME_REMAIN_ON_CHN_RSP);
CASE_RETURN_STRING(eWNI_SME_REMAIN_ON_CHN_RDY_IND);
@@ -321,9 +323,30 @@
#ifdef FEATURE_WLAN_CH_AVOID
CASE_RETURN_STRING(eWNI_SME_CH_AVOID_IND);
#endif /* FEATURE_WLAN_CH_AVOID */
- CASE_RETURN_STRING(eWNI_SME_MSG_TYPES_END);
+#ifdef FEATURE_WLAN_TDLS
+ CASE_RETURN_STRING(eWNI_SME_TDLS_SEND_MGMT_REQ);
+ CASE_RETURN_STRING(eWNI_SME_TDLS_SEND_MGMT_RSP);
+ CASE_RETURN_STRING(eWNI_SME_TDLS_ADD_STA_REQ);
+ CASE_RETURN_STRING(eWNI_SME_TDLS_ADD_STA_RSP);
+ CASE_RETURN_STRING(eWNI_SME_TDLS_DEL_STA_REQ);
+ CASE_RETURN_STRING(eWNI_SME_TDLS_DEL_STA_RSP);
+ CASE_RETURN_STRING(eWNI_SME_TDLS_DEL_STA_IND);
+ CASE_RETURN_STRING(eWNI_SME_TDLS_DEL_ALL_PEER_IND);
+ CASE_RETURN_STRING(eWNI_SME_MGMT_FRM_TX_COMPLETION_IND);
+ CASE_RETURN_STRING(eWNI_SME_TDLS_LINK_ESTABLISH_REQ);
+ CASE_RETURN_STRING(eWNI_SME_TDLS_LINK_ESTABLISH_RSP);
+#endif
+ CASE_RETURN_STRING(eWNI_SME_SET_BCN_FILTER_REQ);
+ CASE_RETURN_STRING(eWNI_SME_RESET_AP_CAPS_CHANGED);
+#ifdef WLAN_FEATURE_11W
+ CASE_RETURN_STRING(eWNI_SME_UNPROT_MGMT_FRM_IND);
+#endif
+ CASE_RETURN_STRING(eWNI_SME_CANDIDATE_FOUND_IND);
+ CASE_RETURN_STRING(eWNI_SME_HANDOFF_REQ);
CASE_RETURN_STRING(eWNI_SME_GET_TSM_STATS_REQ);
CASE_RETURN_STRING(eWNI_SME_GET_TSM_STATS_RSP);
+ CASE_RETURN_STRING(eWNI_SME_TSM_IE_IND);
+ CASE_RETURN_STRING(eWNI_SME_READY_TO_SUSPEND_IND);
CASE_RETURN_STRING(eWNI_SME_SET_HW_MODE_REQ);
CASE_RETURN_STRING(eWNI_SME_SET_HW_MODE_RESP);
CASE_RETURN_STRING(eWNI_SME_HW_MODE_TRANS_IND);
@@ -331,6 +354,25 @@
#ifdef WLAN_FEATURE_NAN
CASE_RETURN_STRING(eWNI_SME_NAN_EVENT);
#endif
+#ifdef WLAN_FEATURE_EXTWOW_SUPPORT
+ CASE_RETURN_STRING(eWNI_SME_READY_TO_EXTWOW_IND);
+#endif
+ CASE_RETURN_STRING(eWNI_SME_MSG_GET_TEMPERATURE_IND);
+ CASE_RETURN_STRING(eWNI_SME_SNR_IND);
+#ifdef FEATURE_WLAN_EXTSCAN
+ CASE_RETURN_STRING(eWNI_SME_EXTSCAN_FULL_SCAN_RESULT_IND);
+ CASE_RETURN_STRING(eWNI_SME_EPNO_NETWORK_FOUND_IND);
+#endif
+ CASE_RETURN_STRING(eWNI_SME_SET_THERMAL_LEVEL_IND);
+ CASE_RETURN_STRING(eWNI_SME_OCB_SET_CONFIG_RSP);
+ CASE_RETURN_STRING(eWNI_SME_OCB_GET_TSF_TIMER_RSP);
+ CASE_RETURN_STRING(eWNI_SME_DCC_GET_STATS_RSP);
+ CASE_RETURN_STRING(eWNI_SME_DCC_UPDATE_NDL_RSP);
+ CASE_RETURN_STRING(eWNI_SME_DCC_STATS_EVENT);
+ CASE_RETURN_STRING(eWNI_SME_FW_DUMP_IND);
+ CASE_RETURN_STRING(eWNI_SME_EXT_CHANGE_CHANNEL);
+ CASE_RETURN_STRING(eWNI_SME_EXT_CHANGE_CHANNEL_IND);
+ CASE_RETURN_STRING(eWNI_SME_MSG_TYPES_END);
default:
return (uint8_t *) "UNKNOWN";
break;
@@ -659,7 +701,32 @@
CASE_RETURN_STRING(SIR_LIM_PERIODIC_JOIN_PROBE_REQ_TIMEOUT);
CASE_RETURN_STRING(SIR_LIM_AUTH_RETRY_TIMEOUT);
CASE_RETURN_STRING(SIR_LIM_MSG_TYPES_END);
-
+ CASE_RETURN_STRING(LIM_MLM_SCAN_REQ);
+ CASE_RETURN_STRING(LIM_MLM_SCAN_CNF);
+ CASE_RETURN_STRING(LIM_MLM_START_REQ);
+ CASE_RETURN_STRING(LIM_MLM_START_CNF);
+ CASE_RETURN_STRING(LIM_MLM_JOIN_REQ);
+ CASE_RETURN_STRING(LIM_MLM_JOIN_CNF);
+ CASE_RETURN_STRING(LIM_MLM_AUTH_REQ);
+ CASE_RETURN_STRING(LIM_MLM_AUTH_CNF);
+ CASE_RETURN_STRING(LIM_MLM_AUTH_IND);
+ CASE_RETURN_STRING(LIM_MLM_ASSOC_REQ);
+ CASE_RETURN_STRING(LIM_MLM_ASSOC_CNF);
+ CASE_RETURN_STRING(LIM_MLM_ASSOC_IND);
+ CASE_RETURN_STRING(LIM_MLM_DISASSOC_REQ);
+ CASE_RETURN_STRING(LIM_MLM_DISASSOC_CNF);
+ CASE_RETURN_STRING(LIM_MLM_DISASSOC_IND);
+ CASE_RETURN_STRING(LIM_MLM_REASSOC_REQ);
+ CASE_RETURN_STRING(LIM_MLM_REASSOC_CNF);
+ CASE_RETURN_STRING(LIM_MLM_REASSOC_IND);
+ CASE_RETURN_STRING(LIM_MLM_DEAUTH_REQ);
+ CASE_RETURN_STRING(LIM_MLM_DEAUTH_CNF);
+ CASE_RETURN_STRING(LIM_MLM_DEAUTH_IND);
+ CASE_RETURN_STRING(LIM_MLM_TSPEC_REQ);
+ CASE_RETURN_STRING(LIM_MLM_TSPEC_CNF);
+ CASE_RETURN_STRING(LIM_MLM_SETKEYS_REQ);
+ CASE_RETURN_STRING(LIM_MLM_SETKEYS_CNF);
+ CASE_RETURN_STRING(LIM_MLM_PURGE_STA_IND);
default:
return (uint8_t *) "UNKNOWN";
break;
@@ -684,7 +751,9 @@
CASE_RETURN_STRING(WNI_CFG_SET_CNF);
CASE_RETURN_STRING(SIR_CFG_PARAM_UPDATE_IND);
CASE_RETURN_STRING(SIR_CFG_DOWNLOAD_COMPLETE_IND);
-
+ CASE_RETURN_STRING(WNI_CFG_DNLD_RSP);
+ CASE_RETURN_STRING(WNI_CFG_GET_REQ);
+ CASE_RETURN_STRING(WNI_CFG_SET_REQ);
CASE_RETURN_STRING(WNI_CFG_SET_REQ_NO_RSP);
default:
return (uint8_t *) "UNKNOWN";
diff --git a/core/sme/src/common/sme_trace.c b/core/sme/src/common/sme_trace.c
index 273a461..7837ac1 100644
--- a/core/sme/src/common/sme_trace.c
+++ b/core/sme/src/common/sme_trace.c
@@ -183,6 +183,12 @@
CASE_RETURN_STRING(eSmeCommandSetKey);
CASE_RETURN_STRING(eSmeCommandAddStaSession);
CASE_RETURN_STRING(eSmeCommandDelStaSession);
+#ifdef FEATURE_WLAN_TDLS
+ CASE_RETURN_STRING(eSmeCommandTdlsSendMgmt);
+ CASE_RETURN_STRING(eSmeCommandTdlsAddPeer);
+ CASE_RETURN_STRING(eSmeCommandTdlsDelPeer);
+ CASE_RETURN_STRING(eSmeCommandTdlsLinkEstablish);
+#endif
CASE_RETURN_STRING(eSmePmcCommandMask);
CASE_RETURN_STRING(eSmeCommandEnterBmps);
CASE_RETURN_STRING(eSmeCommandExitBmps);