Эх сурвалжийг харах

fw-api: CL 5253203 - update fw common interface files

ML Log - FW common
<Describe here the change summary in detail>

Change-Id: I6257ddba66c2a183a6cd1c36917b2e256211fe20
CRs-Fixed: 2262693
spuligil 6 жил өмнө
parent
commit
2064874f0a
2 өөрчлөгдсөн 336 нэмэгдсэн , 1 устгасан
  1. 2 1
      fw/dbglog.h
  2. 334 0
      fw/dbglog_id.h

+ 2 - 1
fw/dbglog.h

@@ -81,7 +81,8 @@ extern "C" {
 /* Debug Log levels*/
 
 typedef enum {
-    DBGLOG_VERBOSE = 0,
+	DBGLOG_ML = -1,
+    DBGLOG_VERBOSE,
     DBGLOG_INFO,
     DBGLOG_INFO_LVL_1,
     DBGLOG_INFO_LVL_2,

+ 334 - 0
fw/dbglog_id.h

@@ -50,6 +50,340 @@ extern "C" {
 */
 #define DBGLOG_DBGID_SM_FRAMEWORK_PROXY_DBGLOG_MSG 1000
 
+#if defined(WLAN_ML_LOG)
+
+
+
+/* RESMGR messageIDs for ML logging*/
+typedef enum {
+	RESMGR_MSGID_DEFINITION_START = 0x0000,
+	RESMGR_CHMMGR_CHAINMASK_CHANGE_REQ_MSGID,
+	RESMGR_CHMMGR_PROCESS_CHM_CHANGE_REQ_MSGID,
+	RESMGR_CHMMGR_DB_UPDATE_MSGID,
+	RESMGR_CHMMGR_SEND_HW_MODE_PRE_NOTIF_MSGID,
+	RESMGR_OCM_SUSPEND_MSGID,
+	RESMGR_OCM_MIGRATE_MSGID,
+	RESGMR_OCM_RESUME_MSGID,
+	RESMGR_OCS_CHREQ_GRANT_MSGID,
+	RESMGR_OCS_CURR_CAT_WINDOW_MSGID,
+	RESMGR_OCS_CHREQ_RESTART_MSGID,		
+	RESMGR_OCS_CHREQ_COMPLETE_MSGID,	
+	RESMGR_OCS_WIN_CAT_DUR_MSGID,		
+	RESMGR_OCS_PURGE_CHREQS_MSGID,
+	RESMGR_OCS_INVOKED_MSGID,
+	RESMGR_OCS_CHREQ_CREATE_MSGID,
+	RESMGR_OCS_CHREQ_DELETE_MSGID,
+	RESMGR_OCS_RECAL_QUOTAS_MSGID,
+	RESMGR_OCS_CHREQ_START_MSGID,
+	RESMGR_OCS_CHREQ_STOP_MSGID,
+	RESMGR_OCS_CHREQ_UPDATE_MSGID,
+	RESMGR_DBSMGR_SET_HW_MODE_MSGID,
+	RESMGR_DBSMGR_SET_CONNECTION_IN_PROGRESS_MSGID,
+	RESMGR_VCM_LINK_CREATE_MSGID,
+	RESMGR_VCM_LINK_DELETE_MSGID,
+	RESMGR_VC_INIT_VIR_CHAN_MSGID,
+	RESMGR_VC_ADD_LINK_MSGID,
+	RESMGR_VC_RMV_LINK_MSGID,
+	RESMGR_VC_REGISTER_LINK_MSGID,
+	RESMGR_VC_UNREGISTER_LINK_MSGID,
+	RESMGR_VC_ARBITRATE_ATTRIBUTES_MSGID,
+	RESMGR_DBSMGR_CHANGE_SCAN_STATE_MSGID,
+	RESMGR_DBSMGR_RECOMPUTE_SCAN_POLICY_MSGID,
+	RESMGR_DBSMGR_UPDATE_SCAN_POLICY_MSGID,
+	RESMGR_CHMMGR_INITIATE_VC_OPS_MSGID,
+	RESMGR_CHMMGR_INITIATE_WAL_OPS_MSGID,
+	RESMGR_EVENT_HANDLER_VDEV_MGR_MSGID,
+	RESMGR_EVENT_HANDLER_SCAN_POLICY_MSGID,
+	RESMGR_MSGID_DEFINITION_END = 0x7fff,
+} RESMGR_MSGID;
+
+
+/* VDEVMGR messageIDs for ML logging*/
+typedef enum {
+	VDEV_MGR_MSGID_DEFINITION_START = 0x0000,
+	VDEV_MGR_RESMGR_CHMMGR_NOTIF_VDEV_UP_MSGID,
+	VDEV_MGR_FIRST_BMISS_DETECTED_MSGID,
+	VDEV_MGR_FINAL_BMISS_DETECTED_MSGID,
+	VDEV_MGR_MY_BEACON_RECEIVED_MSGID,
+	VDEV_MGR_VDEV_PAUSE_MSGID,
+	VDEV_MGR_VDEV_UNPAUSE_MSGID,
+	VDEV_MGR_VDEV_MIGRATE_MSGID,
+	VDEV_MGR_REGISTER_RESMGR_EVENT_MSGID,
+	VDEV_MGR_EVENT_HANDLER_VDEV_MSGID,
+	VDEV_MGR_EVENT_HANDLER_BEACON_MSGID,
+	VDEV_MGR_EVENT_HANDLER_MGMT_TXRX,
+	VDEV_MGR_EVENT_HANDLER_11D_SCAN_OFFLOAD_MSG_ID,
+	VDEV_MGR_EVENT_HANDLER_WOW_KEEPALIVE_MSGID,
+	VDEV_MGR_EVENT_HANDLER_EXTSCAN_MSGID,
+	VDEV_MGR_EVENT_HANDLER_SWBMISS_MSGID,
+	VDEV_MGR_EVENT_HANDLER_BEACON_DTIMSYNC_MSGID,
+	VDEV_MGR_EVENT_HANDLER_BEACON_TSFOOR_MSGID,
+	VDEV_MGR_THREAD_COMM_BE_FLOW_CTRL_MSGID,
+	VDEV_MGR_THREAD_COMM_SYNC_RT_DATA_OFFLOAD_MSGID,
+	VDEV_MGR_THREAD_COMM_BE_VDEV_STATE_CHANGE_MSGID,
+	VDEV_MGR_THREAD_COMM_VDEV_STATE_CHANGE_CONF_MSGID,
+	VDEV_MGR_MSGID_DEFINITION_END = 0x7fff,
+} VDEV_MGR_MSGID;
+
+
+/* SCAN messageIDs for ML logging */
+typedef enum {
+	SCAN_MSGID_DEFINITION_START = 0x0000,
+	SCAN_SCH_START_MSGID,
+	SCAN_EVENT_STARTED_MSGID,
+	SCAN_EVENT_FOREIGN_CHANNEL_MSGID,
+	SCAN_EVENT_FOREIGN_CHANNEL_EXIT_MSGID,
+	SCAN_EVENT_BSS_CHANNEL_MSGID,
+	SCAN_EVENT_PREEMPTED_MSGID,
+	SCAN_EVENT_RESTARTED_MSGID,
+	SCAN_EVENT_COMPLETED_MSGID,
+	SCAN_EVENT_DEQUEUED_MSGID,
+	SCAN_EVENT_SUSPENDED_MSGID,
+	SCAN_SCH_CANCEL_MSGID,
+	SCAN_SCH_SUSPEND_MSGID,
+	SCAN_MGR_EVENT_ASYNC_COMPLETE_MSGID,
+	SCAN_MGR_EVENT_COMPLETED_MSGID,
+	SCAN_MGR_EVENT_PREEMPTED_MSGID,
+	SCAN_MGR_EVENT_SUSPENDED_MSGID,
+	SCAN_POLICY_EVENT_MSGID,
+	SCAN_MGR_RESUME_EVENT_MSGID,
+	SCAN_MGR_SCAN_START_MSGID,
+	SCAN_MGR_CANCEL_MSGID,
+	SCAN_MGR_BCN_RECV_MSGID,
+	SCAN_MGR_CHECK_BAND_CHANNELS_MSGID,
+	SCAN_MGR_SCAN_POLICY_RECOMPUTE_MSGID,
+	SCAN_MGR_CLIENT_SCAN_POLICY_MSGID,
+	SCAN_ENG_START_MSGID,
+	SCAN_ENG_CANCEL_MSGID,
+	SCAN_SET_CHAN_LIST_MSGID,
+	SCAN_SEND_PROBE_REQ_RET_VDEV_MSGID,
+	SCAN_SEND_PROBE_REQ_RET_PASSIVE_MSGID,
+	SCAN_SEND_PROBE_REQ_2G_RET_MSGID,
+	SCAN_SEND_PROBE_REQ_5G_RET_MSGID,
+	SCAN_ADPATIVE_DWELL_ENABLED_MSGID,
+	SCAN_ADAPTIVE_DWELL_CH_ACTIVITY_START_MSGID,
+	SCAN_ADAPTIVE_DWELL_CH_ACTIVITY_END_MSGID,
+	SCAN_ADAPTIVE_DWELL_CH_CONGESTION_CHECK_MSGID,
+	SCAN_ADAPTIVE_DWELL_ACTIVE_STARTED_MSGID,
+	SCAN_ADAPTIVE_DWELL_ALL_PROBE_SENT_MSGID,
+	SCAN_ADAPTIVE_DWELL_PASSIVE_STARTED_MSGID,
+	SCAN_ADAPTIVE_DWELL_SWITCH_ACTIVE_MSGID,
+	SCAN_REGISTER_OFFLDMGR_CH_PREDICTION_MSGID,
+	SCAN_DEREGISTER_OFFLDMGR_CH_PREDICTION_MSGID,
+	SCAN_REGISTER_OFFLDMGR_ADAPTIVE_BCNPRB_MSGID,
+	SCAN_DEREGISTER_OFFLDMGR_ADAPTIVE_BCNPRB_MSGID,
+	SCAN_EVENT_HANDLER_MGMT_TXRX_MSGID,
+	SCAN_EVENT_HANDLER_NLO_MSGID,
+	SCAN_EVENT_HANDLER_SCAN_AUTOCHAN_MSGID,
+	SCAN_EVENT_HANDLER_VDEVMGR_MSGID,
+	SCAN_EVENT_HANDLER_OFFLOAD_BEACON_MSGID,
+	SCAN_EVENT_HANDLER_STA_TWT_MSGID,
+	SCAN_EVENT_HANDLER_BATCH_SCAN_MSGID,
+	SCAN_MSGID_DEFINITION_END = 0x7fff,
+} SCAN_MSGID;
+
+
+/* MGMT_TXRX messageIDs for ML logging */
+typedef enum {
+	MGMT_TXRX_MSGID_DEFINITION_START = 0x0000,
+	MGMT_TXRX_WAL_LOCAL_FRAME_SEND_MSGID,
+	MGMT_TXRX_WAL_FRAME_SEND_MSGID,
+	MGMT_TXRX_FORWARD_TO_HOST_MSGID,
+	DATA_TXRX_WAL_LOCAL_FRAME_SEND_MSGID,
+	MGMT_TXRX_MSGID_DEFINITION_END = 0x7fff,
+} MGMT_TXRX_MSGID;
+
+
+/* OFFLOAD messageIDs for ML logging */
+typedef enum {
+	OFFLOAD_MSGID_DEFINITION_START = 0x0000,
+	OFFLOAD_MGMT_RX_FRAME_ALLOW_MSGID,
+	OFFLOAD_MGMT_RX_FRAME_DROP_MSGID,
+	OFFLOAD_PROTO_DATA_RX_FRAME_STATUS_MSGID,
+	OFFLOAD_PROTO_DATA_RX_FRAME_TYPE_MSGID,
+	OFFLOAD_SCAN_CH_PREDICTION_MSGID,
+	OFFLOAD_SCAN_ADAPTIVE_BCNPRB_MSGID,
+	OFFLOAD_VDEV_OWN_BEACON_MSGID,
+	OFFLOAD_VDEV_BEACON_FILTER_MSGID,
+	OFFLOAD_VDEV_CONNECTING_MSGID,
+	OFFLOAD_11D_SCAN_MSGID,
+	OFFLOAD_BATCH_SCAN_MSGID,
+	OFFLOAD_OBSS_SCAN_MSGID,
+	OFFLOAD_ARP_RECV_MSGID,
+	OFFLOAD_ARP_DROP_MSGID,
+	OFFLOAD_ARP_REPLY_SUCCESS_MSGID,
+	OFFLOAD_ARP_REPLY_FAIL_MSGID,
+	OFFLOAD_NS_RECV_MSGID,
+	OFFLOAD_NS_DROP_MSGID,
+	OFFLOAD_NS_REPLY_SUCCESS_MSGID,
+	OFFLOAD_NS_REPLY_FAIL_MSGID,
+	OFFLOAD_GTK_PROESS_REKEY_MSGID,
+	OFFLOAD_GTK_REPLY_REKEY_MSGID,
+	OFFLOAD_GTK_PROESS_REKEY_FAIL_MSGID,
+	OFFLOAD_SUPPL_EAP_RECV_MSGID,
+	OFFLOAD_SUPPL_EAP_1X_MSGID,
+	OFFLOAD_MSGID_DEFINITION_END = 0x7fff,
+} OFFLOAD_MSGID;
+
+
+/* STA_PWRSAVE messageIDs for ML logging*/
+typedef enum {
+	STA_PWRSAVE_MSGID_DEFINITION_START = 0x0000,
+	STA_PWRSAVE_ARBITER_REQUEST_MSGID,
+	STA_PWRSAVE_MSGID_DEFINITION_END = 0x7fff,
+}STA_PWRSAVE_MSGID;
+
+
+/* COEX messageIDs for ML logging*/
+typedef enum {
+	COEX_MSGID_DEFINITION_START = 0x0000,
+	COEX_ASM_ANTENNA_REQUEST_MSGID,
+	COEX_ASM_ANTENNA_RELEASE_MSGID,
+	COEX_EVENT_HANDLER_RESMGR_MSGID,
+	COEX_EVENT_HANDLER_SCAN_ANT_MSGID,
+	COEX_EVENT_HANDLER_VDEV_ANT_OP_MSGID,
+	COEX_MSGID_DEFINITION_END = 0x7fff,
+}COEX_MSGID;
+
+
+/* STA_SMPS messageIDs for ML logging*/
+typedef enum {
+	STA_SMPS_MSGID_DEFINITION_START = 0x0000,
+	STA_SMPS_VC_CFG_NOTIFY_MSGID,
+	STA_SMPS_MSGID_EDFINITION_END = 0x7fff,
+}STA_SMPS_MSGID;
+
+
+/* WAL messageIDs for ML logging*/
+typedef enum {
+	WAL_MSGID_DEFINITION_START = 0x0000,
+	WAL_PDEV_CHANNEL_CHANGE_MSGID,
+	WAL_PDEV_HALPHY_RUN_DPD_CAL_MSGID,
+	WAL_TX_MGMT_COMP_MSGID, 
+	WAL_TX_MGMT_ENQUEUE_MSGID,
+	WAL_RX_SUSPEND_START_MSGID,
+	WAL_RX_SUSPEND_SUCCESS_MSGID,
+	WAL_RX_RESUME_START_MSGID,
+	WAL_SOC_SWITCH_MODE_MSGID,
+	WAL_CONNECTION_PAUSE_BLOCK_ENABLE_MSGID,
+	WAL_CONNECTION_PAUSE_BLOCK_DISABLE_MSGID,
+	WAL_VDEV_PAUSE_ENABLE_MSGID,
+	WAL_VDEV_PAUSE_DISABLE_MSGID,
+	WAL_VDEV_PAUSE_RESET_MSGID,
+	WAL_PDEV_PAUSE_ENABLE_MSGID,
+	WAL_PDEV_PAUSE_DISABLE_MSGID,
+	WAL_PEER_SEND_N_REQ_MSGID,
+	WAL_PEER_PS_PRE_REQ_MSGID,
+	WAL_CONNECTION_PAUSE_ATTACH_TID_MSGID,
+	WAL_PDEV_PAUSE_NOTIFY_VDEV_CREATE_MSGID,
+	WAL_CONNECTION_PAUSE_PEER_CREATE_MSGID,
+	WAL_CONNECTION_PAUSE_TIDQ_HWQ_EMPTY_MSGID,
+	WAL_TX_SEND_ABORT_TX_MSGID,
+	WAL_TX_SEND_RESUME_TX_MSGID,
+	WAL_TX_FLUSH_TID_MSGID,
+	WAL_TX_FLUSH_PEER_MSGID,
+	WAL_TX_FLUSH_VDEV_MSGID,
+	WAL_VDEV_UP_MSGID,
+	WAL_VDEV_START_MSGID,
+	WAL_VDEV_DOWN_MSGID,
+	WAL_VDEV_STOP_MSGID,
+	WAL_VDEV_MIGRATE_MSGID,
+	WAL_PEER_CONSECUTIVE_FAILURE_MSGID,
+	WAL_PEER_CONSECUTIVE_FAILURE_RESET_MSGID,
+	WAL_PEER_STA_KICKOUT_MSGID,
+	SM_DISPATCH_EVENT_MSGID,
+	SM_STATE_TRANSITION_MSGID,
+	WAL_THREAD_COMM_TX_PAUSE_HWQ_EMPTY_MSGID,
+	WAL_THREAD_COMM_PEER_TX_PAUSE_REQ_MSGID,
+	WAL_THREAD_COMM_PEER_TX_UNPAUSE_REQ_MSGID,
+	WAL_THREAD_COMM_VDEV_TX_PAUSE_REQ_MSGID,
+	WAL_THREAD_COMM_PDEV_TX_PAUSE_REQ_MSGID,
+	WAL_THREAD_COMM_VDEV_TX_UNPAUSE_REQ_MSGID,
+	WAL_THREAD_COMM_PDEV_TX_UNPAUSE_REQ_MSGID,
+	WAL_THREAD_COMM_VDEV_TX_PAUSE_RESET_IND_MSGID,
+	WAL_THREAD_COMM_PEER_TX_BLOCK_REQ_MSGID,
+	WAL_THREAD_COMM_PEER_TX_UNBLOCK_REQ_MSGID,
+	WAL_THREAD_COMM_PEER_SEND_N_REQ_MSGID,
+	WAL_THREAD_COMM_PEER_PS_PRE_REQ_MSGID,
+	WAL_THREAD_COMM_TX_PAUSE_TID_CREATE_MSGID,
+	WAL_THREAD_COMM_TX_PAUSE_VDEV_CREATE_MSGID,
+	WAL_THREAD_COMM_TX_PAUSE_POST_RESPONSE_MSGID,
+	WAL_THREAD_COMM_PDEV_EVENT_HANDLER_MSGID,
+	WAL_THREAD_COMM_VDEV_EVENT_HANDLER_MSGID,
+	WAL_THREAD_COMM_PEER_EVENT_HANDLER_MSGID,
+	WAL_THREAD_COMM_POWER_MSGID,
+	WAL_THREAD_COMM_RT_POWER_BEACON_TIMEOUT_MSGID,
+	WAL_THREAD_COMM_RT_POWER_SUSPEND_FAIL_RESET_MSGID,
+	WAL_THREAD_COMM_RT_DATA_NULL_DEAUTH_MSGID,
+	WAL_THREAD_COMM_LOCAL_SEND_WITH_RATE_MSGID,
+	WAL_THREAD_COMM_LOCAL_SEND_COMPLETION_MSGID,
+	WAL_THREAD_COMM_TX_FLUSH_ENTITY_TID_MSGID,
+	WAL_THREAD_COMM_TX_FLUSH_ENTITY_PEER_MSGID,
+	WAL_THREAD_COMM_TX_FLUSH_ENTITY_VDEV_MSGID,
+	WAL_THREAD_COMM_TX_FLUSH_COMPLETE_MSGID,
+	WAL_THREAD_COMM_TAC_TID_LIST_OP_MSGID,
+	WAL_THREAD_COMM_TAC_TX_SCHED_MSGID,
+	WAL_THREAD_COMM_BE_RX_ATTACH_MSGID,
+	WAL_THREAD_COMM_TT_CONTROL_MSGID,
+	WAL_THREAD_COMM_RT_EXEC_DEV_RESET_MSGID,
+	WAL_THREAD_COMM_VDEV_MIGRATION_SYNC_MSGID,
+	WAL_THREAD_COMM_BE_SOC_SUSPEND_NOTIFY_MSGID,
+	WAL_THREAD_COMM_RT_SOC_SUSPEND_CONF_MSGID,
+	WAL_THREAD_COMM_TX_ABORT_MSGID,
+	WAL_THREAD_COMM_TX_RESUME_MSGID,
+	WAL_THREAD_COMM_RT_WPM_EXIT_HW_DTIM_AWAKE_MSGID,
+	WAL_THREAD_COMM_BE_RX_PROC_MSGID,
+	WAL_THREAD_COMM_BE_PEER_SET_PARAM_MSGID,
+	WAL_THREAD_COMM_PEER_SEND_MSG_MSGID,
+	WAL_THREAD_COMM_TID_DEL_MSGID,
+	WAL_TX_PAUSE_REQ_HANDLER_MSGID,
+	WAL_TX_PAUSE_RSP_HANDLER_MSGID,
+	WAL_SW_DTIM_POWER_MSG_HANDLER_MSGID,
+	WAL_PEER_KEY_SET_MSGID,
+	WAL_PEER_WAPI_EAPOL_TX_SEND_COMPLETE_MSGID,
+	WAL_PEER_PTK_M4_SENT_MSGID,
+	WAL_PEER_ALLOW_DATA_MSGID,
+	WAL_EVENT_HANDLER_VDEV_PAUSE_MSGID,
+	WAL_EVENT_HANDLER_STA_SWTIM_MSGID,
+	WAL_EVENT_HANDLER_VDEV_RECONFIG_MSGID,
+	WAL_MSGID_DEFINITION_END = 0x7fff,
+} WAL_MSGID;
+
+
+/* WPM messageIDs for ML logging */
+typedef enum {
+	WPM_MSGID_DEFINITION_START = 0x0000,
+	WPM_ARBITER_REQUEST_MSGID,
+	WPM_MSGID_DEFINITION_END = 0x7fff,
+} WPM_MSGID;
+
+/* MLME messageIDs for ML logging */
+typedef enum {
+	MLME_MSGID_DEFINITION_START = 0x0000,
+	MLME_THREAD_COMM_BE_HTT_SVC_VDEV_CHANGE_MSGID,
+	MLME_THREAD_COMM_INSTALL_KEY_MSGID,
+	MLME_THREAD_COMM_STORE_KEY_MSGID,
+	MLME_THREAD_COMM_UPDATE_STATUS_MSGID,
+	MLME_THREAD_COMM_CMD_PROXY_MSGID,
+	MLME_MSGID_DEFINITION_END = 0x7fff,
+
+} MLME_MSGID;
+
+typedef enum {
+	SUPPL_MSGID_DEFINITION_START = 0x0000,
+	SUPPL_THREAD_COMM_INIT_AUTH_MSGID,
+	SUPPL_THREAD_COMM_STATUS_CHANGE_EVT_MSGID,
+	SUPPL_MSGID_DEFINITION_END = 0x7fff,
+} SUPPL_MSGID;
+
+typedef enum {
+	AP_PWRSAVE_MSGID_DEFINITION_START = 0x0000,
+	AP_PWRSAVE_EVENT_HANDLER_SLEEP_STA_UPDATE_MSGID,
+	AP_PWRSAVE_MSGID_DEFINITION_END = 0x7fff,
+} AP_PWRSAVE_MSGID;
+
+#endif
+
 
 /* INF debug identifier definitions */
 #define INF_DBGID_DEFINITION_START                    0