qcacmn: Initial crypto service component addition

Initial crypto service component addition in object
manager and qdf error for crypto

Change-Id: I423b41cfe3cf429c29859867aaa8467b3e35cddc
This commit is contained in:
Ashok Ponnaiah
2017-03-21 14:54:16 +05:30
zatwierdzone przez Sandeep Puligilla
rodzic af42303440
commit d973716683
3 zmienionych plików z 14 dodań i 2 usunięć

Wyświetl plik

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -82,6 +82,10 @@
* @QDF_STATUS_MAXCOMP_FAIL: Component id is more than MAX UMAC components
* @QDF_STATUS_COMP_DISABLED: UMAC Component is disabled
* @QDF_STATUS_COMP_ASYNC: UMAC component runs in asynchronous communication
* @QDF_STATUS_CRYPTO_PN_ERROR: PN ERROR in received frame
* @QDF_STATUS_CRYPTO_MIC_FAILURE: MIC failure in received frame
* @QDF_STATUS_CRYPTO_ENCRYPT_FAILED: encryption failed
* @QDF_STATUS_CRYPTO_DECRYPT_FAILED: decryption failed
* @QDF_STATUS_MAX: not a realy value just a place holder for max
*/
typedef enum {
@@ -131,6 +135,10 @@ typedef enum {
QDF_STATUS_MAXCOMP_FAIL,
QDF_STATUS_COMP_DISABLED,
QDF_STATUS_COMP_ASYNC,
QDF_STATUS_CRYPTO_PN_ERROR,
QDF_STATUS_CRYPTO_MIC_FAILURE,
QDF_STATUS_CRYPTO_ENCRYPT_FAILED,
QDF_STATUS_CRYPTO_DECRYPT_FAILED,
QDF_STATUS_MAX
} QDF_STATUS;

Wyświetl plik

@@ -105,6 +105,7 @@
* @WLAN_UMAC_COMP_WIFI_POS: WIFI Positioning
* @WLAN_UMAC_COMP_TDLS: TDLS
* @WLAN_UMAC_COMP_ATF: Airtime Fairness
* @WLAN_UMAC_COMP_CRYPTO: CRYPTO
* @WLAN_UMAC_COMP_ID_MAX: Maximum components in UMAC
*
* This id is static.
@@ -123,6 +124,7 @@ enum wlan_umac_comp_id {
WLAN_UMAC_COMP_TDLS = 9,
WLAN_UMAC_COMP_ATF = 10,
WLAN_UMAC_COMP_REGULATORY = 11,
WLAN_UMAC_COMP_CRYPTO = 12,
WLAN_UMAC_COMP_ID_MAX,
};

Wyświetl plik

@@ -170,6 +170,7 @@ typedef void (*wlan_objmgr_peer_status_handler)(
* @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_REF_ID_MAX: Max id used to generate ref count tracking array
*/
typedef enum {
@@ -191,7 +192,8 @@ typedef enum {
WLAN_P2P_ID = 15,
WLAN_TDLS_SB_ID = 16,
WLAN_TDLS_NB_ID = 17,
WLAN_ATF_ID = 19,
WLAN_ATF_ID = 18,
WLAN_CRYPTO_ID = 19,
WLAN_REF_ID_MAX,
} wlan_objmgr_ref_dbgid;