qcacmn: Synchronize VDEV_DELETE and VDEV_DOWN with peer delete response
Hold additional reference to BSS node during node allocation, and free
it in delete response. This ensures BSS Node Freed event is sent to MLME
only after receving peer delete response for BSS node.
Change-Id: I384eac54f437000a1c09eb53751ad8b8e26617ad
CRs-Fixed: 1112381
diff --git a/wmi_unified_param.h b/wmi_unified_param.h
index b271950..59e0b5d 100644
--- a/wmi_unified_param.h
+++ b/wmi_unified_param.h
@@ -4947,6 +4947,7 @@
wmi_peer_gid_userpos_list_event_id,
wmi_pdev_check_cal_version_event_id,
wmi_atf_peer_stats_event_id,
+ wmi_peer_delete_response_event_id,
wmi_events_max,
} wmi_conv_event_id;
@@ -7202,6 +7203,17 @@
};
/**
+ * struct wmi_host_peer_delete_response_event - Peer Delete response event param
+ * @vdev_id: vdev id
+ * @mac_address: Peer Mac Address
+ *
+ */
+struct wmi_host_peer_delete_response_event {
+ uint32_t vdev_id;
+ struct qdf_mac_addr mac_address;
+};
+
+/**
* @struct wmi_host_dcs_interference_param
* @interference_type: Type of DCS Interference
* @uint32_t pdev_id: pdev id