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,7 +23,9 @@
#ifndef _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.

View File

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

View File

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

View File

@@ -22,8 +22,11 @@
#ifndef _WLAN_DISA_TGT_API_H_
#define _WLAN_DISA_TGT_API_H_
#include "wlan_disa_obj_mgmt_public_struct.h"
#include "wlan_disa_public_struct.h"
#include <qdf_types.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) \
(&disa_psoc_get_priv(psoc)->disa_tx_ops)

View File

@@ -23,7 +23,9 @@
#define _WLAN_DISA_UCFG_API_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

View File

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