qcacld-3.0: Copy link beacon from sync frame event to roam_sync_ind

When firmware attempts roaming to an MLO AP, it tries to find
the complete ML info(all links info) either through ML probe
response or beacons from all the links. It forwards all link
beacons(or ML probe response) to host as part of roam sync
indication through roam sync frame event.
Add support to fetch both link beacons and add them to scan db.
If firmware sends ML probe response, generate link probe response
as well and add it to the scan db.
The link scan result can be used in link connect in case of
hybrid roaming like OWE, 1x,..

Change-Id: Ic8457a5630441d6fd3faeb4791c79422db787f94
CRs-Fixed: 3335225
Этот коммит содержится в:
Srinivas Dasari
2022-11-20 10:06:25 -08:00
коммит произвёл Madan Koyyalamudi
родитель 833afe5c71
Коммит 7324535b01
11 изменённых файлов: 449 добавлений и 125 удалений

Просмотреть файл

@@ -560,11 +560,17 @@ wma_roam_update_vdev(tp_wma_handle wma,
vdev_id = roamed_vdev_id;
wma->interfaces[vdev_id].nss = roam_synch_ind_ptr->nss;
/* update freq and channel width */
wma->interfaces[vdev_id].ch_freq =
roam_synch_ind_ptr->chan_freq;
/* update channel width */
wma->interfaces[vdev_id].chan_width =
roam_synch_ind_ptr->chan_width;
/* Fill link freq from roam_synch_ind */
if (is_multi_link_roam(roam_synch_ind_ptr))
wma->interfaces[vdev_id].ch_freq =
mlo_roam_get_chan_freq(vdev_id, roam_synch_ind_ptr);
else
wma->interfaces[vdev_id].ch_freq =
roam_synch_ind_ptr->chan_freq;
del_sta_params = qdf_mem_malloc(sizeof(*del_sta_params));
if (!del_sta_params) {