qcacld-3.0: Refine disa head files

DISA head files include lots of not used public head files, and cause
compilation issue when disable PMO feature flag.

Change-Id: I287f845a3e9f923d042463c34abaedadb905d3b2
CRs-Fixed: 2243947
This commit is contained in:
Wu Gao
2018-05-17 20:47:11 +08:00
committed by nshrivas
parent 8f500ec24f
commit 61eeb9ff35
10 changed files with 20 additions and 16 deletions

View File

@@ -23,10 +23,7 @@
#ifndef _WLAN_DISA_OBJMGR_H #ifndef _WLAN_DISA_OBJMGR_H
#define _WLAN_DISA_OBJMGR_H #define _WLAN_DISA_OBJMGR_H
#include "wlan_cmn.h"
#include "wlan_objmgr_cmn.h"
#include "wlan_objmgr_vdev_obj.h" #include "wlan_objmgr_vdev_obj.h"
#include "wlan_objmgr_pdev_obj.h"
#include "wlan_objmgr_psoc_obj.h" #include "wlan_objmgr_psoc_obj.h"
#include "wlan_disa_obj_mgmt_public_struct.h" #include "wlan_disa_obj_mgmt_public_struct.h"

View File

@@ -26,6 +26,7 @@
#ifndef _WLAN_DISA_PRIV_STRUCT_H_ #ifndef _WLAN_DISA_PRIV_STRUCT_H_
#define _WLAN_DISA_PRIV_STRUCT_H_ #define _WLAN_DISA_PRIV_STRUCT_H_
#include <qdf_lock.h>
#include "wlan_disa_public_struct.h" #include "wlan_disa_public_struct.h"
/** /**

View File

@@ -23,7 +23,9 @@
#ifndef _WLAN_DISA_OBJ_MGMT_API_H_ #ifndef _WLAN_DISA_OBJ_MGMT_API_H_
#define _WLAN_DISA_OBJ_MGMT_API_H_ #define _WLAN_DISA_OBJ_MGMT_API_H_
#include "wlan_disa_obj_mgmt_public_struct.h" #include <qdf_types.h>
struct wlan_objmgr_psoc;
/** /**
* disa_init() - register disa notification handlers. * disa_init() - register disa notification handlers.

View File

@@ -25,9 +25,9 @@
#ifndef _WLAN_DISA_OBJ_MGMT_PUBLIC_STRUCT_H_ #ifndef _WLAN_DISA_OBJ_MGMT_PUBLIC_STRUCT_H_
#define _WLAN_DISA_OBJ_MGMT_PUBLIC_STRUCT_H_ #define _WLAN_DISA_OBJ_MGMT_PUBLIC_STRUCT_H_
#include "wlan_disa_public_struct.h" struct wlan_objmgr_psoc;
#include "wlan_objmgr_cmn.h" struct disa_encrypt_decrypt_req_params;
#include "wlan_objmgr_psoc_obj.h" struct disa_encrypt_decrypt_resp_params;
/** /**
* struct wlan_disa_tx_ops - structure of tx operation function * struct wlan_disa_tx_ops - structure of tx operation function

View File

@@ -26,8 +26,7 @@
#ifndef _WLAN_DISA_PUBLIC_STRUCT_H_ #ifndef _WLAN_DISA_PUBLIC_STRUCT_H_
#define _WLAN_DISA_PUBLIC_STRUCT_H_ #define _WLAN_DISA_PUBLIC_STRUCT_H_
#include <wlan_cmn.h> #include <qdf_types.h>
#include <qdf_status.h>
#define MAC_MAX_KEY_LENGTH 32 #define MAC_MAX_KEY_LENGTH 32
#define MAC_PN_LENGTH 8 #define MAC_PN_LENGTH 8

View File

@@ -22,8 +22,11 @@
#ifndef _WLAN_DISA_TGT_API_H_ #ifndef _WLAN_DISA_TGT_API_H_
#define _WLAN_DISA_TGT_API_H_ #define _WLAN_DISA_TGT_API_H_
#include "wlan_disa_obj_mgmt_public_struct.h" #include <qdf_types.h>
#include "wlan_disa_public_struct.h"
struct wlan_objmgr_psoc;
struct disa_encrypt_decrypt_req_params;
struct disa_encrypt_decrypt_resp_params;
#define GET_DISA_TX_OPS_FROM_VDEV(vedv) \ #define GET_DISA_TX_OPS_FROM_VDEV(vedv) \
(&disa_psoc_get_priv(psoc)->disa_tx_ops) (&disa_psoc_get_priv(psoc)->disa_tx_ops)

View File

@@ -23,7 +23,9 @@
#define _WLAN_DISA_UCFG_API_H_ #define _WLAN_DISA_UCFG_API_H_
#include "wlan_disa_public_struct.h" #include "wlan_disa_public_struct.h"
#include "wlan_disa_obj_mgmt_api.h" struct wlan_objmgr_psoc;
struct disa_encrypt_decrypt_req_params;
/** /**
* ucfg_disa_encrypt_decrypt_req() - Send encrypt/decrypt request to the DISA * ucfg_disa_encrypt_decrypt_req() - Send encrypt/decrypt request to the DISA

View File

@@ -24,6 +24,7 @@
#include "wlan_disa_main.h" #include "wlan_disa_main.h"
#include "target_if_disa.h" #include "target_if_disa.h"
#include "wlan_disa_tgt_api.h" #include "wlan_disa_tgt_api.h"
#include "wlan_objmgr_global_obj.h"
/** /**
* disa_init() - register disa notification handlers. * disa_init() - register disa notification handlers.

View File

@@ -24,11 +24,8 @@
#ifndef _TARGET_IF_DISA_H_ #ifndef _TARGET_IF_DISA_H_
#define _TARGET_IF_DISA_H_ #define _TARGET_IF_DISA_H_
#include "target_if.h" #include <wlan_objmgr_psoc_obj.h>
#include <wmi_unified_api.h>
#include <wmi_unified_priv.h>
#include <wmi_unified_param.h> #include <wmi_unified_param.h>
#include "wlan_disa_tgt_api.h"
#include "wlan_disa_obj_mgmt_public_struct.h" #include "wlan_disa_obj_mgmt_public_struct.h"
/** /**

View File

@@ -21,9 +21,11 @@
* in target if internally. * in target if internally.
*/ */
#include "target_if.h"
#include "target_if_disa.h" #include "target_if_disa.h"
#include "wlan_disa_tgt_api.h" #include "wlan_disa_tgt_api.h"
#include "wlan_disa_public_struct.h" #include "wlan_disa_public_struct.h"
#include <wmi_unified_api.h>
int int
target_if_encrypt_decrypt_event_handler(ol_scn_t scn_handle, uint8_t *data, target_if_encrypt_decrypt_event_handler(ol_scn_t scn_handle, uint8_t *data,