qcacmn: Add extract API to get sw cal version

cal version is included in EXT2 svc ready message to indicate the bdf
and ftm version to host. Add API to extract this from ext2 message.

Change-Id: I83f4d6e83a3f78f993b40527aed7291c6496777c
CRs-Fixed: 3182634
This commit is contained in:
Kiran Venkatappa
2022-04-26 10:18:00 +05:30
committed by Madan Koyyalamudi
parent df1a9d566a
commit a5e928212a
5 changed files with 64 additions and 0 deletions

View File

@@ -8648,4 +8648,16 @@ struct vdev_pn_mgmt_rxfilter_params {
uint8_t vdev_id;
uint32_t pn_rxfilter;
};
/**
* struct wmi_host_sw_cal_ver - BDF and FTM cal version data
* @bdf_cal_ver: SW cal version in BDF
* @ftm_cal_ver: SW cal version in factory data
* @status: status. 0 for success, non-zero if version is incorrect
*/
struct wmi_host_sw_cal_ver {
uint32_t bdf_cal_ver;
uint32_t ftm_cal_ver;
uint32_t status;
};
#endif /* _WMI_UNIFIED_PARAM_H_ */