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
This commit is contained in:
Vinay Adella 2020-08-17 12:37:45 +05:30 • committed by snandini
commit 87858900ba

View file

@ -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;
/**