qcacmn: Add WMI API to Spectral module's interface

Add WMI API "wmi_service_enabled" to Spectral module's
interface.

CRs-Fixed: 2840141
Change-Id: I2cb6363fd37c858f2a84ba1904c89033720d1a0a
This commit is contained in:
Edayilliam Jayadev
2020-12-18 09:59:32 +05:30
committed by snandini
parent 962647ba6c
commit b3e677f722
2 changed files with 56 additions and 0 deletions

View File

@@ -829,6 +829,7 @@ struct vdev_spectral_enable_params;
* bin indices from start scan response event
* @wmi_unified_register_event_handler: Register WMI event handler
* @wmi_unified_unregister_event_handler: Unregister WMI event handler
* @wmi_service_enabled: API to check whether a given WMI service is enabled
*/
struct spectral_wmi_ops {
QDF_STATUS (*wmi_spectral_configure_cmd_send)(
@@ -853,6 +854,8 @@ struct spectral_wmi_ops {
QDF_STATUS (*wmi_unified_unregister_event_handler)(
wmi_unified_t wmi_handle,
wmi_conv_event_id event_id);
bool (*wmi_service_enabled)(wmi_unified_t wmi_handle,
uint32_t service_id);
};
/**