qcacmn: Add DP component ID

Add DP component entry in debug id and umac component id.

Change-Id: Ia4302f5b22c26cd099821388e09be0358b83ab1b
CRs-Fixed: 3165355
This commit is contained in:
Amit Mehta
2022-02-24 22:22:01 -08:00
committed by Madan Koyyalamudi
parent 6f4cc59749
commit e498989902
2 changed files with 6 additions and 1 deletions

View File

@@ -294,6 +294,7 @@
* @WLAN_UMAC_COMP_WIFI_RADAR: WIFI RADAR component * @WLAN_UMAC_COMP_WIFI_RADAR: WIFI RADAR component
* @WLAN_UMAC_COMP_TWT: Target Wake Time (TWT) Component * @WLAN_UMAC_COMP_TWT: Target Wake Time (TWT) Component
* @WLAN_UMAC_COMP_PRE_CAC: PRE CAC component * @WLAN_UMAC_COMP_PRE_CAC: PRE CAC component
* @WLAN_COMP_DP: DP component
* @WLAN_UMAC_COMP_ID_MAX: Maximum components in UMAC * @WLAN_UMAC_COMP_ID_MAX: Maximum components in UMAC
* *
* This id is static. * This id is static.
@@ -346,6 +347,7 @@ enum wlan_umac_comp_id {
WLAN_UMAC_COMP_WIFI_RADAR = 43, WLAN_UMAC_COMP_WIFI_RADAR = 43,
WLAN_UMAC_COMP_TWT = 44, WLAN_UMAC_COMP_TWT = 44,
WLAN_UMAC_COMP_PRE_CAC = 45, WLAN_UMAC_COMP_PRE_CAC = 45,
WLAN_COMP_DP = 46,
WLAN_UMAC_COMP_ID_MAX, WLAN_UMAC_COMP_ID_MAX,
}; };

View File

@@ -287,6 +287,7 @@ typedef void (*wlan_objmgr_peer_status_handler)(
* @WLAN_MGMT_RX_REO_SIM_ID: Management rx reorder simulation reference id * @WLAN_MGMT_RX_REO_SIM_ID: Management rx reorder simulation reference id
* @WLAN_LITE_MON_ID: Lite monitor operations * @WLAN_LITE_MON_ID: Lite monitor operations
* @WLAN_PRE_CAC_ID: Pre-CAC operations * @WLAN_PRE_CAC_ID: Pre-CAC operations
* @WLAN_DP_ID: DP component
* @WLAN_REF_ID_MAX: Max id used to generate ref count tracking array * @WLAN_REF_ID_MAX: Max id used to generate ref count tracking array
*/ */
/* New value added to the enum must also be reflected in function /* New value added to the enum must also be reflected in function
@@ -391,6 +392,7 @@ typedef enum {
WLAN_TWT_ID = 94, WLAN_TWT_ID = 94,
WLAN_LITE_MON_ID = 95, WLAN_LITE_MON_ID = 95,
WLAN_PRE_CAC_ID = 96, WLAN_PRE_CAC_ID = 96,
WLAN_DP_ID = 97,
WLAN_REF_ID_MAX, WLAN_REF_ID_MAX,
} wlan_objmgr_ref_dbgid; } wlan_objmgr_ref_dbgid;
@@ -500,7 +502,8 @@ static inline const char *string_from_dbgid(wlan_objmgr_ref_dbgid id)
"WLAN_MGMT_RX_REO_SIM_ID", "WLAN_MGMT_RX_REO_SIM_ID",
"WLAN_TWT_ID", "WLAN_TWT_ID",
"WLAN_LITE_MON_ID", "WLAN_LITE_MON_ID",
"WLAN_PRE_CAC_ID" "WLAN_PRE_CAC_ID",
"WLAN_DP_ID"
}; };
if (id >= WLAN_REF_ID_MAX) if (id >= WLAN_REF_ID_MAX)