qcacmn: Add WMI support for AWGN interference detection

Add APIs to extract AWGN information from the DCS WMI
interference event received from FW.

Change-Id: I4b2f9f4ef012553dac2a405dc7ac12aef9452354
CRs-Fixed: 2958675
This commit is contained in:
Yu Wang
2021-05-06 17:15:29 +08:00
committed by Madan Koyyalamudi
parent 888f9d0de8
commit 15c52e32f7
5 changed files with 122 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -57,6 +57,18 @@ QDF_STATUS wmi_extract_dcs_im_tgt_stats(
void *evt_buf,
struct wlan_host_dcs_im_tgt_stats *wlan_stat);
/*
* wmi_extract_dcs_awgn_info() - extract DCS AWGN interference info from event
* @wmi_handle: WMI handle
* @evt_buf: Pointer to event buffer
* @awgn_info: Pointer to hold AWGN interference info
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS
wmi_extract_dcs_awgn_info(wmi_unified_t wmi_hdl, void *evt_buf,
struct wlan_host_dcs_awgn_info *awgn_info);
/**
* wmi_send_dcs_pdev_param() - send dcs pdev param
* @wmi_handle: wmi handle