qcacmn: Add INI support to disable spectral feature

Add INI support to disable spectral feature and do not process the spectral
user commands if spectral feature is  disabled.

Change-Id: Id353131675454652d59fd5d5f8fd3d732a07b777
Acked-by: Shashikala Prabhu <pshashik@codeaurora.org>
CRs-Fixed: 2343947
This commit is contained in:
Shashikala Prabhu
2018-12-20 10:11:56 +05:30
committed by nshrivas
parent 779d274148
commit 7eb2d08e3b
10 changed files with 126 additions and 9 deletions

View File

@@ -27,6 +27,14 @@
struct direct_buf_rx_data;
struct wmi_spectral_cmd_ops;
/**
* wlan_spectral_is_feature_disabled() - Check if spectral feature is disabled
* @psoc - the physical device object.
*
* Return : true if spectral is disabled, else false.
*/
bool wlan_spectral_is_feature_disabled(struct wlan_objmgr_psoc *psoc);
/**
* wlan_spectral_init() - API to init spectral component
*