qcacmn: Add spectral scan feature flag

Add spectral scan feature flag which can be
used to control the feature through build options.

Change-Id: Ic56416fc99b521174cccb3af27cc841bfb2ad27d
CRs-Fixed: 2244334
This commit is contained in:
Sandeep Puligilla 2018-03-29 18:03:45 -07:00 • committed by nshrivas
commit 0a341a5e92
5 changed files with 40 additions and 6 deletions

View file

@ -905,6 +905,7 @@ struct target_if_samp_msg_params {
struct ath_softc *sc;
};
#ifdef WLAN_CONV_SPECTRAL_ENABLE
/**
* target_if_spectral_dump_fft() - Dump Spectral FFT
* @pfft: Pointer to Spectral Phyerr FFT
@ -1607,4 +1608,5 @@ target_if_consume_spectral_report_gen3(
#undef __ATTRIB_PACK
#endif
#endif /* WLAN_CONV_SPECTRAL_ENABLE */
#endif /* _TARGET_IF_SPECTRAL_H_ */

View file

@ -34,7 +34,7 @@
#include <target_if_direct_buf_rx_api.h>
extern int spectral_debug_level;
#if WLAN_SPECTRAL_ENABLE
#ifdef WLAN_CONV_SPECTRAL_ENABLE
/**
* target_if_print_buf() - Prints given buffer for given length
@ -1625,4 +1625,4 @@ int target_if_spectral_process_report_gen3(
qdf_export_symbol(target_if_spectral_process_report_gen3);
/* END of spectral GEN III HW specific functions */
#endif /* WLAN_SPECTRAL_ENABLE */
#endif /* WLAN_CONV_SPECTRAL_ENABLE */