Explorar o código

qcacmn: Set MLO cap bit for subsequent links

When sending the connect for subsequent links in MLO, make sure to set
the capability bit, otherwise it will be marked as assoc link.

Change-Id: Ic0145b40e84ea440ea389200356d1f916a1ba530
CRs-fixed: 3055892
Lincoln Tran %!s(int64=3) %!d(string=hai) anos
pai
achega
3cbefea6d0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      umac/mlo_mgr/src/wlan_mlo_mgr_sta.c

+ 2 - 0
umac/mlo_mgr/src/wlan_mlo_mgr_sta.c

@@ -413,6 +413,8 @@ mlo_send_link_connect(struct wlan_objmgr_vdev *vdev,
 		if (!mlo_dev_ctx->wlan_vdev_list[i] ||
 		    (mlo_dev_ctx->wlan_vdev_list[i] == vdev))
 			continue;
+		wlan_vdev_mlme_feat_ext2_cap_set(mlo_dev_ctx->wlan_vdev_list[i],
+						 WLAN_VDEV_FEXT2_MLO);
 		wlan_vdev_mlme_feat_ext2_cap_set(mlo_dev_ctx->wlan_vdev_list[i],
 						 WLAN_VDEV_FEXT2_MLO_STA_LINK);
 		mlo_prepare_and_send_connect(