qcacmn: Include NAN component ID in common files

Include NAN component ID in umac common files. These IDs
will be used by NAN component for trace, object ref counting
purpose etc.

Change-Id: Ia831b38627cc02ee8f61e19f389abba0158a1d40
CRs-Fixed: 2014795
This commit is contained in:
Naveen Rawat
2017-03-21 15:09:34 -07:00
committed by Sandeep Puligilla
orang tua 709a3b3b4d
melakukan 5154273ac3
4 mengubah file dengan 8 tambahan dan 0 penghapusan

Melihat File

@@ -290,6 +290,7 @@ typedef void (*qdf_timer_func_t)(void *);
* @QDF_MODULE_ID_POLICY_MGR: Policy Manager module ID
* @QDF_MODULE_ID_CONFIG: CONFIG module ID
* @QDF_MODULE_ID_REGULATORY : REGULATORY module ID
* @QDF_MODULE_ID_NAN: NAN module ID
* @QDF_MODULE_ID_ANY: anything
* @QDF_MODULE_ID_MAX: Max place holder module ID
*/
@@ -375,6 +376,7 @@ typedef enum {
QDF_MODULE_ID_POLICY_MGR,
QDF_MODULE_ID_CONFIG,
QDF_MODULE_ID_REGULATORY,
QDF_MODULE_ID_NAN,
QDF_MODULE_ID_ANY,
QDF_MODULE_ID_MAX,
} QDF_MODULE_ID;

Melihat File

@@ -1788,6 +1788,7 @@ struct category_name_info g_qdf_category_name[MAX_SUPPORTED_CATEGORY] = {
[QDF_MODULE_ID_MGMT_TXRX] = {"MGMT_TXRX"},
[QDF_MODULE_ID_PMO] = {"PMO"},
[QDF_MODULE_ID_POLICY_MGR] = {"POLICY_MGR"},
[QDF_MODULE_ID_NAN] = {"NAN"},
[QDF_MODULE_ID_ANY] = {"ANY"},
};

Melihat File

@@ -108,6 +108,7 @@
* @WLAN_UMAC_COMP_TDLS: TDLS
* @WLAN_UMAC_COMP_ATF: Airtime Fairness
* @WLAN_UMAC_COMP_CRYPTO: CRYPTO
* @WLAN_UMAC_COMP_NAN: Neighbor Aware Networking
* @WLAN_UMAC_COMP_ID_MAX: Maximum components in UMAC
*
* This id is static.
@@ -127,6 +128,7 @@ enum wlan_umac_comp_id {
WLAN_UMAC_COMP_ATF = 10,
WLAN_UMAC_COMP_REGULATORY = 11,
WLAN_UMAC_COMP_CRYPTO = 12,
WLAN_UMAC_COMP_NAN = 13,
WLAN_UMAC_COMP_ID_MAX,
};

Melihat File

@@ -165,12 +165,14 @@ typedef void (*wlan_objmgr_peer_status_handler)(
* @WLAN_PMO_ID: power manager offload (PMO) ID
* @WLAN_LEGACY_SME_ID: Legacy SME operations
* @WLAN_SCAN_ID: scan operations
* @WLAN_WIFI_POS_ID: wifi positioning
* @WLAN_DFS_ID: DFS operations
* @WLAN_P2P_ID: P2P operations
* @WLAN_TDLS_SB_ID: TDLS Southbound operations
* @WLAN_TDLS_NB_ID: TDLS Northbound operations
* @WLAN_ATF_ID: Airtime Fairness operations
* @WLAN_CRYPTO_ID: Crypto service operation
* @WLAN_NAN_ID: nan operations
* @WLAN_REF_ID_MAX: Max id used to generate ref count tracking array
*/
typedef enum {
@@ -194,6 +196,7 @@ typedef enum {
WLAN_TDLS_NB_ID = 17,
WLAN_ATF_ID = 18,
WLAN_CRYPTO_ID = 19,
WLAN_NAN_ID = 20,
WLAN_REF_ID_MAX,
} wlan_objmgr_ref_dbgid;