qcacmn: Add Objmgr related definitions to support DISA component
Add Objmgr ID and related definitions to support the newly
defined DISA component in CLD.
Change-Id: Ibbe5db39c01dae94cad5af5f4dccd2611c5b06d4
CRs-Fixed: 2159599
diff --git a/umac/cmn_services/inc/wlan_cmn.h b/umac/cmn_services/inc/wlan_cmn.h
index 4471084..99afb7c 100644
--- a/umac/cmn_services/inc/wlan_cmn.h
+++ b/umac/cmn_services/inc/wlan_cmn.h
@@ -121,6 +121,7 @@
* @WLAN_UMAC_COMP_ID_MAX: Maximum components in UMAC
* @WLAN_UMAC_COMP_OFFCHAN_TXRX: Offchan TxRx
* @WLAN_UMAC_COMP_SPLITMAC: SplitMAC
+ * @WLAN_UMAC_COMP_DISA: DISA encryption test
*
* This id is static.
* On Adding new component, new id has to be assigned
@@ -147,6 +148,7 @@
WLAN_UMAC_COMP_SON,
WLAN_UMAC_COMP_SPECTRAL,
WLAN_UMAC_COMP_SPLITMAC,
+ WLAN_UMAC_COMP_DISA,
WLAN_UMAC_COMP_ID_MAX,
};
diff --git a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_cmn.h b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_cmn.h
index 85b63ab..1fb88b5 100644
--- a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_cmn.h
+++ b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_cmn.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -199,8 +199,10 @@
* @WLAN_REGULATORY_NB_ID: NB regulatory operations
* @WLAN_POLICY_MGR_ID: Policy Manager operations
* @WLAN_SPECTRAL_ID: Spectral operations
- * @WLAN_SPLITMAC_ID SplitMac
- * @WLAN_DEBUG_ID Debug operations
+ * @WLAN_SPLITMAC_ID: SplitMac
+ * @WLAN_DEBUG_ID: Debug operations
+ * @WLAN_DIRECT_BUF_RX_ID: Direct Buffer Receive operations
+ * @WLAN_DISA_ID: DISA (encryption test) operations
* @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
@@ -238,6 +240,7 @@
WLAN_SPLITMAC_ID = 28,
WLAN_DEBUG_ID = 29,
WLAN_DIRECT_BUF_RX_ID = 30,
+ WLAN_DISA_ID = 31,
WLAN_REF_ID_MAX,
} wlan_objmgr_ref_dbgid;
@@ -282,6 +285,7 @@
"WLAN_SPLITMAC_ID",
"WLAN_DEBUG_ID",
"WLAN_DIRECT_BUF_RX_ID",
+ "WLAN_DISA_ID",
"WLAN_REF_ID_MAX" };
return (char *)strings[id];