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
This commit is contained in:
Vijay Pamidipati
2017-01-17 12:53:05 +05:30
committed by qcabuildsw
parent e8156d6586
commit da0611616d
7 changed files with 88 additions and 2 deletions

View File

@@ -4947,6 +4947,7 @@ typedef enum {
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;
@@ -7201,6 +7202,17 @@ struct wmi_host_pdev_utf_event {
uint16_t datalen;
};
/**
* 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