qcacmn: Change FIPS event extract APIs
Add pdev_id in FIPS extract params to be used to get appropriate pdev. Also refactor extart APIs to get all data in one API and implement TLV APIs. Change-Id: Ib58d54ad0dcc25814e58f45e7e4a83d01549a523 CRs-Fixed: 1115213
This commit is contained in:
@@ -131,13 +131,11 @@
|
||||
#define WMI_HOST_PDEV_BEACON_PRIORITY_BIT (1<<4)
|
||||
#define WMI_HOST_PDEV_MGMT_PRIORITY_BIT (1<<5)
|
||||
|
||||
#ifdef CONFIG_WIN
|
||||
#if ATH_SUPPORT_FIPS
|
||||
#define FIPS_ALIGN 4
|
||||
#define FIPS_ALIGNTO(__addr, __to) ((((unsigned long int)(__addr)) + (__to) - 1) & ~((__to) - 1))
|
||||
#define FIPS_IS_ALIGNED(__addr, __to) (!(((unsigned long int)(__addr)) & ((__to)-1)))
|
||||
#endif
|
||||
#endif
|
||||
#define FIPS_ALIGNTO(__addr, __to) \
|
||||
((((unsigned long int)(__addr)) + (__to) - 1) & ~((__to) - 1))
|
||||
#define FIPS_IS_ALIGNED(__addr, __to) \
|
||||
(!(((unsigned long int)(__addr)) & ((__to)-1)))
|
||||
|
||||
#define WMI_HOST_F_MS(_v, _f) \
|
||||
(((_v) & (_f)) >> (_f##_S))
|
||||
@@ -7235,4 +7233,18 @@ struct wmi_host_dcs_interference_param {
|
||||
uint32_t pdev_id;
|
||||
};
|
||||
|
||||
/*
|
||||
* struct wmi_host_fips_event_param: FIPS event param
|
||||
* @pdev_id: pdev id
|
||||
* @error_status: Error status: 0 (no err), 1, or OPER_TIMEOUR
|
||||
* @data_len: FIPS data lenght
|
||||
* @data: pointer to data
|
||||
*/
|
||||
struct wmi_host_fips_event_param {
|
||||
uint32_t pdev_id;
|
||||
uint32_t error_status;
|
||||
uint32_t data_len;
|
||||
uint32_t *data;
|
||||
};
|
||||
|
||||
#endif /* _WMI_UNIFIED_PARAM_H_ */
|
||||
|
Reference in New Issue
Block a user