From 61df09450eaa1b97ef5324a614c3420cc3fa1431 Mon Sep 17 00:00:00 2001 From: Surabhi Vishnoi Date: Tue, 21 Jan 2020 22:34:46 +0530 Subject: [PATCH] qcacmn: Add wmi interface changes for wlan time sync eventid Add wmi event id's for ftm based wlan time sync feature. CRs-Fixed: 2610092 Change-Id: Ifd7b10bbbe2b4c3f954233da55f318bef99fa13a --- wmi/inc/wmi_unified_param.h | 4 ++++ wmi/src/wmi_unified_tlv.c | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 5eb0597d8a..29f560ddd0 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -4546,6 +4546,10 @@ typedef enum { wmi_mgmt_offload_data_event_id, wmi_pdev_multi_vdev_restart_response_event_id, wmi_roam_pmkid_request_event_id, +#ifdef FEATURE_WLAN_TIME_SYNC_FTM + wmi_wlan_time_sync_ftm_start_stop_event_id, + wmi_wlan_time_sync_q_master_slave_offset_eventid, +#endif wmi_events_max, } wmi_conv_event_id; diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 21dbdef06f..a801a82de9 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -13745,6 +13745,12 @@ static void populate_tlv_events_id(uint32_t *event_ids) WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID; event_ids[wmi_roam_pmkid_request_event_id] = WMI_ROAM_PMKID_REQUEST_EVENTID; +#ifdef FEATURE_WLAN_TIME_SYNC_FTM + event_ids[wmi_wlan_time_sync_ftm_start_stop_event_id] = + WMI_VDEV_AUDIO_SYNC_START_STOP_EVENTID; + event_ids[wmi_wlan_time_sync_q_master_slave_offset_eventid] = + WMI_VDEV_AUDIO_SYNC_Q_MASTER_SLAVE_OFFSET_EVENTID; +#endif } /**