qcacmn: Add support for vdev delete response handler

Add support for vdev delete response handler

Change-Id: I7944064857ee2a1c8c8c1dcb739d692a7f463a13
CRs-Fixed: 2149401
diff --git a/wmi_unified_api.h b/wmi_unified_api.h
index b1bd75a..896821e 100644
--- a/wmi_unified_api.h
+++ b/wmi_unified_api.h
@@ -1288,6 +1288,19 @@
 QDF_STATUS wmi_extract_vdev_start_resp(void *wmi_hdl, void *evt_buf,
 		wmi_host_vdev_start_resp *vdev_rsp);
 
+/**
+ * wmi_extract_vdev_delete_resp - api to extract vdev delete
+ * response event params
+ * @wmi_handle: wma handle
+ * @evt_buf: pointer to event buffer
+ * @delele_rsp: pointer to hold delete response from firmware
+ *
+ * Return: QDF_STATUS_SUCCESS for successful event parse
+ *         else QDF_STATUS_E_INVAL or QDF_STATUS_E_FAILURE
+ */
+QDF_STATUS wmi_extract_vdev_delete_resp(void *wmi_hdl, void *evt_buf,
+		struct wmi_host_vdev_delete_resp *delele_rsp);
+
 QDF_STATUS wmi_extract_tbttoffset_update_params(void *wmi_hdl, void *evt_buf,
 		uint8_t idx, struct tbttoffset_params *tbtt_param);
 
diff --git a/wmi_unified_param.h b/wmi_unified_param.h
index b1b40b6..e400b26 100644
--- a/wmi_unified_param.h
+++ b/wmi_unified_param.h
@@ -6154,6 +6154,14 @@
 } wmi_host_vdev_start_resp;
 
 /**
+ * struct wmi_host_vdev_delete_resp - VDEV delete response
+ * @vdev_id: vdev id
+ */
+struct wmi_host_vdev_delete_resp {
+	uint32_t vdev_id;
+};
+
+/**
  * struct wmi_host_roam_event - host roam event param
  * @vdev_id: vdev id
  * @reason: roam reason
diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h
index 52d739c..0d60297 100644
--- a/wmi_unified_priv.h
+++ b/wmi_unified_priv.h
@@ -1099,6 +1099,9 @@
 QDF_STATUS (*extract_vdev_start_resp)(wmi_unified_t wmi_handle, void *evt_buf,
 	wmi_host_vdev_start_resp *vdev_rsp);
 
+QDF_STATUS (*extract_vdev_delete_resp)(wmi_unified_t wmi_handle, void *evt_buf,
+	struct wmi_host_vdev_delete_resp *delete_rsp);
+
 QDF_STATUS (*extract_tbttoffset_update_params)(void *wmi_hdl, void *evt_buf,
 	uint8_t idx, struct tbttoffset_params *tbtt_param);