Переглянути джерело

qcacld-3.0: Add correct header files in legacy code

After removing legacy policy manager header file had to add
correct header files from host common to allow the compilation
to happen successfully.

Change-Id: I566b8f09776520e8a43eb48cc944ce627dc0c5cf
CRs-Fixed: 2009818
Tushnim Bhattacharyya 8 роки тому
батько
коміт
45ed04f74c

+ 1 - 0
core/mac/src/pe/lim/lim_process_action_frame.c

@@ -58,6 +58,7 @@
 #include "wma_types.h"
 #include "wma.h"
 #include <cdp_txrx_cmn.h>
+#include <cdp_txrx_peer_ops.h>
 
 #define BA_DEFAULT_TX_BUFFER_SIZE 64
 

+ 1 - 0
core/mac/src/pe/lim/lim_send_management_frames.c

@@ -62,6 +62,7 @@
 
 #include "wma_types.h"
 #include <cdp_txrx_cmn.h>
+#include <cdp_txrx_peer_ops.h>
 
 /**
  *

+ 5 - 0
core/sap/src/sap_fsm.c

@@ -54,6 +54,11 @@
 #include <wlan_objmgr_pdev_obj.h>
 #include <wlan_objmgr_vdev_obj.h>
 #include <wlan_utility.h>
+#include <linux/netdevice.h>
+#include <net/cfg80211.h>
+#include <qca_vendor.h>
+#include <wlan_scan_ucfg_api.h>
+
 /*----------------------------------------------------------------------------
  * Preprocessor Definitions and Constants
  * -------------------------------------------------------------------------*/

+ 1 - 0
core/sap/src/sap_module.c

@@ -55,6 +55,7 @@
 #include "cds_ieee80211_common_i.h"
 #include "cds_regdomain.h"
 #include "wlan_policy_mgr_api.h"
+#include <wlan_scan_ucfg_api.h>
 
 /*----------------------------------------------------------------------------
  * Preprocessor Definitions and Constants

+ 2 - 0
core/sme/src/csr/csr_inside_api.h

@@ -39,6 +39,8 @@
 #include "sme_inside.h"
 #include "cds_reg_service.h"
 
+extern void wlan_objmgr_vdev_release_ref(struct wlan_objmgr_vdev *vdev,
+						wlan_objmgr_ref_dbgid id);
 #define CSR_PASSIVE_MAX_CHANNEL_TIME   110
 #define CSR_PASSIVE_MIN_CHANNEL_TIME   60
 

+ 1 - 0
core/wma/inc/wma_api.h

@@ -40,6 +40,7 @@
 #include "cds_utils.h"
 #include "scheduler_api.h"
 #include "wlan_policy_mgr_api.h"
+#include <cdp_txrx_ops.h>
 
 typedef void *WMA_HANDLE;
 

+ 1 - 0
core/wma/src/wma_data.c

@@ -82,6 +82,7 @@
 #include "wlan_objmgr_vdev_obj.h"
 #include "wlan_objmgr_peer_obj.h"
 #include <cdp_txrx_handle.h>
+#include <wlan_pmo_ucfg_api.h>
 
 typedef struct {
 	int32_t rate;

+ 2 - 0
core/wma/src/wma_main.c

@@ -89,6 +89,8 @@
 #include "wlan_pmo_obj_mgmt_api.h"
 
 #include <cdp_txrx_handle.h>
+#include <wlan_pmo_ucfg_api.h>
+
 #define WMA_LOG_COMPLETION_TIMER 10000 /* 10 seconds */
 
 #define WMI_TLV_HEADROOM 128