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:
@@ -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"
|
||||||
|
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -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.
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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)
|
||||||
|
@@ -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
|
||||||
|
@@ -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.
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user