qcacmn: Add DP component ID

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

Change-Id: Ia4302f5b22c26cd099821388e09be0358b83ab1b
CRs-Fixed: 3165355
Bu işleme şunda yer alıyor:
Amit Mehta
2022-02-24 22:22:01 -08:00
işlemeyi yapan: Madan Koyyalamudi
ebeveyn 6f4cc59749
işleme e498989902
2 değiştirilmiş dosya ile 6 ekleme ve 1 silme

Dosyayı Görüntüle

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

Dosyayı Görüntüle

@@ -287,6 +287,7 @@ typedef void (*wlan_objmgr_peer_status_handler)(
* @WLAN_MGMT_RX_REO_SIM_ID: Management rx reorder simulation reference id
* @WLAN_LITE_MON_ID: Lite monitor 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
*/
/* New value added to the enum must also be reflected in function
@@ -391,6 +392,7 @@ typedef enum {
WLAN_TWT_ID = 94,
WLAN_LITE_MON_ID = 95,
WLAN_PRE_CAC_ID = 96,
WLAN_DP_ID = 97,
WLAN_REF_ID_MAX,
} 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_TWT_ID",
"WLAN_LITE_MON_ID",
"WLAN_PRE_CAC_ID"
"WLAN_PRE_CAC_ID",
"WLAN_DP_ID"
};
if (id >= WLAN_REF_ID_MAX)