|
@@ -258,6 +258,19 @@ QDF_STATUS mlo_connect(struct wlan_objmgr_vdev *vdev,
|
|
return wlan_cm_start_connect(vdev, req);
|
|
return wlan_cm_start_connect(vdev, req);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
|
|
|
|
+static inline void
|
|
|
|
+mlo_update_connect_req_chan_info(struct wlan_cm_connect_req *req)
|
|
|
|
+{ }
|
|
|
|
+#else
|
|
|
|
+static inline void
|
|
|
|
+mlo_update_connect_req_chan_info(struct wlan_cm_connect_req *req)
|
|
|
|
+{
|
|
|
|
+ req->chan_freq = 0;
|
|
|
|
+ req->chan_freq_hint = 0;
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* mlo_prepare_and_send_connect- Prepare and send the connect req
|
|
* mlo_prepare_and_send_connect- Prepare and send the connect req
|
|
*
|
|
*
|
|
@@ -286,6 +299,8 @@ mlo_prepare_and_send_connect(struct wlan_objmgr_vdev *vdev,
|
|
qdf_mem_copy(&req, sta_ctx->orig_conn_req,
|
|
qdf_mem_copy(&req, sta_ctx->orig_conn_req,
|
|
sizeof(struct wlan_cm_connect_req));
|
|
sizeof(struct wlan_cm_connect_req));
|
|
|
|
|
|
|
|
+ mlo_update_connect_req_chan_info(&req);
|
|
|
|
+
|
|
qdf_mem_copy(req.bssid.bytes,
|
|
qdf_mem_copy(req.bssid.bytes,
|
|
link_info.link_addr.bytes,
|
|
link_info.link_addr.bytes,
|
|
QDF_MAC_ADDR_SIZE);
|
|
QDF_MAC_ADDR_SIZE);
|