qcacld-3.0: Use correct attribute for BTM response target BSSID

Currently driver QCA_WLAN_VENDOR_ATTR_DIAG_BTM_TARGET_BSSID uses
instead of QCA_WLAN_VENDOR_ATTR_DIAG_BTM_TARGET_BSSID attribute
in the BTM response event. This causes the target bssid field to
be missed in BTM response print.
The WTC BTM response event is not queued when reason code is
non-zero.

Use QCA_WLAN_VENDOR_ATTR_DIAG_BTM_TARGET_BSSID attribute.
And queue the WTC btm response event.

Change-Id: Id713bfeda20c43148e95630f5c6e925b80418ca3
CRs-Fixed: 3071242
Cette révision appartient à :
Pragaspathi Thilagaraj
2021-11-09 13:23:48 +05:30
révisé par Madan Koyyalamudi
Parent f8e9a36a24
révision 4a48e7ab4e
6 fichiers modifiés avec 202 ajouts et 125 suppressions

Voir le fichier

@@ -2842,24 +2842,24 @@ extract_roam_stats_with_single_tlv(wmi_unified_t wmi_handle, uint8_t *evt_buf,
status = wmi_unified_extract_roam_11kv_stats(
wmi_handle, evt_buf, &stats_info->data_11kv[0], 0, 0);
if (QDF_IS_STATUS_ERROR(status))
wmi_err("Roam 11kv stats extract failed vdev %d", vdev_id);
wmi_debug("Roam 11kv stats extract failed vdev %d", vdev_id);
status = wmi_unified_extract_roam_trigger_stats(
wmi_handle, evt_buf, &stats_info->trigger[0], 0, 0);
if (QDF_IS_STATUS_ERROR(status))
wmi_debug_rl("Extract roamtrigger stats failed vdev %d",
vdev_id);
wmi_debug("Extract roamtrigger stats failed vdev %d",
vdev_id);
status = wmi_unified_extract_roam_scan_stats(
wmi_handle, evt_buf, &stats_info->scan[0], 0, 0, 0);
if (QDF_IS_STATUS_ERROR(status))
wmi_debug_rl("Roam scan stats extract failed vdev %d", vdev_id);
wmi_debug("Roam scan stats extract failed vdev %d", vdev_id);
status = wmi_unified_extract_roam_btm_response(
wmi_handle, evt_buf, &stats_info->btm_rsp[0], 0);
if (QDF_IS_STATUS_ERROR(status))
wmi_debug_rl("Roam btm rsp stats extract fail vdev %d",
vdev_id);
wmi_debug("Roam btm rsp stats extract fail vdev %d",
vdev_id);
return QDF_STATUS_SUCCESS;
}