qcacld-3.0: Send the vendor attributes with Roam stats

As part of commit I6d04f0946e6735613a4cf3d4361bf31052314fa0
a vendor command was added to enable roam stats event.
This change registers callback to send the added vendor
command event to userspace.

Change-Id: I3c504797b1b9619d3e4ecc1c37256dea75127e14
CRs-Fixed: 3403536
This commit is contained in:
Sai Pavan Akhil Remella
2023-02-23 18:21:29 +05:30
کامیت شده توسط Madan Koyyalamudi
والد d58a55bb86
کامیت c8a5f9ac8d
8فایلهای تغییر یافته به همراه14 افزوده شده و 84 حذف شده

مشاهده پرونده

@@ -3269,11 +3269,10 @@ void cm_report_roam_rt_stats(struct wlan_objmgr_psoc *psoc,
roam_event->roam_event_param.roam_scan_state =
QCA_WLAN_VENDOR_ROAM_SCAN_STATE_END;
//TO DO: Add a new CB in CM and register the hdd function to it
//And call the new CB from here.
mlme_debug("Invoke HDD roam events callback for roam "
"scan notif");
roam_event->vdev_id = vdev_id;
mlme_cm_osif_roam_rt_stats(roam_event, idx);
qdf_mem_free(roam_event);
break;
case ROAM_RT_STATS_TYPE_INVOKE_FAIL_REASON:
@@ -3283,11 +3282,10 @@ void cm_report_roam_rt_stats(struct wlan_objmgr_psoc *psoc,
roam_event->roam_event_param.roam_invoke_fail_reason = value;
//TO DO: Add a new CB in CM and register the hdd function to it
//And call the new CB from here.
mlme_debug("Invoke HDD roam events callback for roam "
"invoke fail");
roam_event->vdev_id = vdev_id;
mlme_cm_osif_roam_rt_stats(roam_event, idx);
qdf_mem_free(roam_event);
break;
case ROAM_RT_STATS_TYPE_ROAM_SCAN_INFO:
@@ -3298,8 +3296,7 @@ void cm_report_roam_rt_stats(struct wlan_objmgr_psoc *psoc,
mlme_debug("Invoke HDD roam events callback for roam "
"stats event");
roam_info->vdev_id = vdev_id;
//TO DO: Add a new CB in CM and register the hdd function to it
//And call the new CB from here.
mlme_cm_osif_roam_rt_stats(roam_info, idx);
}
break;
default: