From 87858900bae4d29273ccaddc9099aa48ecc6cdcb Mon Sep 17 00:00:00 2001 From: Vinay Adella Date: Mon, 17 Aug 2020 12:37:45 +0530 Subject: [PATCH] qcacmn: Add num freq, num nfdbr/dbm fields to WMI struct wmi_host_pdev_nfcal_power_all_channels_event is updated to have number of freq, nfdbr/nfdbm. It is assumed that number of nfdbr & nfdbm are the same. Change-Id: I23279bde55ee42744c50b23e199b04fbc070a87f --- wmi/inc/wmi_unified_param.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 86069f166326..9955ddb521f9 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -5641,12 +5641,17 @@ typedef struct { * @freqnum: * chan[0 ~ 7]: frequency number * @pdev_id: pdev_id + * @num_freq: number of valid frequency in freqnum + * @num_nfdbr_dbm: number of valid entries in dbr/dbm array + * */ typedef struct { int8_t nfdbr[WMI_HOST_RXG_CAL_CHAN_MAX * WMI_HOST_MAX_NUM_CHAINS]; int8_t nfdbm[WMI_HOST_RXG_CAL_CHAN_MAX * WMI_HOST_MAX_NUM_CHAINS]; uint32_t freqnum[WMI_HOST_RXG_CAL_CHAN_MAX]; uint32_t pdev_id; + uint16_t num_freq; + uint16_t num_nfdbr_dbm; } wmi_host_pdev_nfcal_power_all_channels_event; /**