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
Цей коміт міститься в:
Kiran Venkatappa
2022-04-26 10:18:00 +05:30
зафіксовано Madan Koyyalamudi
джерело df1a9d566a
коміт a5e928212a
5 змінених файлів з 64 додано та 0 видалено

Переглянути файл

@@ -3667,6 +3667,19 @@ QDF_STATUS wmi_extract_scan_radio_cap_service_ready_ext2(
uint8_t *evt_buf, uint8_t idx,
struct wlan_psoc_host_scan_radio_caps *param);
/**
* wmi_extract_sw_cal_ver_ext2: Extract sw cal version received through
* extended service ready2 event
* @wmi_handle: WMI handle
* @event: Event buffer
* @cal: Pointer to sw cal ver struct
*
* Return: QDF status of operation
*/
QDF_STATUS wmi_extract_sw_cal_ver_ext2(wmi_unified_t wmi_handle,
uint8_t *event,
struct wmi_host_sw_cal_ver *cal);
/**
* wmi_extract_spectral_scaling_params_service_ready_ext: Extract Spectral
* scaling params received through