From 896d2a4a9d04f38c36e236a2470eccba03ffeba7 Mon Sep 17 00:00:00 2001 From: Pragaspathi Thilagaraj Date: Wed, 5 Aug 2020 02:25:30 +0530 Subject: [PATCH] qcacmn: Add support for peer create confirm handler Firmware sends peer create confirmation event with success or failure status. Add changes to handle the peer create confirmation event. Change-Id: I8d80cfe3945410e4f49d27df7c1903eabb7d6827 CRs-Fixed: 2747877 --- wmi/inc/wmi_unified_param.h | 1 + wmi/src/wmi_unified_tlv.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 50b7355ca168..3d207beb2435 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -4682,6 +4682,7 @@ typedef enum { wmi_roam_cap_report_event_id, wmi_vdev_bcn_latency_event_id, wmi_vdev_disconnect_event_id, + wmi_peer_create_conf_event_id, wmi_events_max, } wmi_conv_event_id; diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 6bed9a41126f..d29d8681d095 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -15041,6 +15041,8 @@ event_ids[wmi_roam_scan_chan_list_id] = WMI_VDEV_BCN_LATENCY_EVENTID; event_ids[wmi_vdev_disconnect_event_id] = WMI_VDEV_DISCONNECT_EVENTID; + event_ids[wmi_peer_create_conf_event_id] = + WMI_PEER_CREATE_CONF_EVENTID; } /**