qcacld-3.0: Add callback in set link enable/disable req

Add callback in set link enable/disable req to handle firmware
resp.

Change-Id: I8f9906b440a4a7630c979bb7c74519960be02e9d
CRs-Fixed: 3188726
This commit is contained in:
Abhishek Singh
2022-04-22 14:50:04 +05:30
committed by Madan Koyyalamudi
parent 99fd4bad83
commit f9352d58ff
3 changed files with 120 additions and 0 deletions

View File

@@ -3896,6 +3896,8 @@ wlan_mlo_sta_mlo_concurency_set_link(struct wlan_objmgr_vdev *vdev,
req->ctx.vdev = vdev;
req->param.reason = reason;
req->param.force_mode = mode;
req->ctx.set_mlo_link_cb = policy_mgr_handle_link_enable_disable_resp;
req->ctx.cb_arg = req;
/* set MLO vdev bit mask for all case */
wlan_mlo_fill_active_link_vdev_bitmap(req, mlo_vdev_lst, num_mlo_vdev);