qcacmn: Fix compilation issues for DFS component disable/enable

Header files are included in appropriate places to avoid compilation
errors. To disable/enable DFS component from non-common code at
compile time, use macro QCA_DFS_COMPONENT_ENABLE in config  file.

Change-Id: I0d4fe27ee0d76412c109aa3f64485ea1ac2a5e3a
CRs-Fixed: 2134355
This commit is contained in:
Abhijit Pradhan 2017-11-01 11:14:15 +05:30 • committed by snandini
commit 7383ef9d7e
2 changed files with 3 additions and 0 deletions

View file

@ -25,6 +25,8 @@
#ifndef _WLAN_DFS_TGT_API_H_
#define _WLAN_DFS_TGT_API_H_
#include <wlan_dfs_public_struct.h>
/* Max number arguments for DFS unit test command */
#define DFS_MAX_NUM_UNIT_TEST_ARGS 3

View file

@ -22,6 +22,7 @@
#include "wlan_lmac_if_api.h"
#include "wlan_mgmt_txrx_tgt_api.h"
#include "wlan_scan_tgt_api.h"
#include <wlan_reg_services_api.h>
#ifdef WLAN_ATF_ENABLE
#include "wlan_atf_tgt_api.h"
#endif