|
@@ -243,6 +243,17 @@ void mlo_mgr_update_ap_channel_info(struct wlan_objmgr_vdev *vdev,
|
|
|
uint8_t *ap_link_addr,
|
|
|
struct wlan_channel channel);
|
|
|
|
|
|
+/**
|
|
|
+ * mlo_mgr_get_ap_link() - Assoc mlo link info from link id
|
|
|
+ * @vdev: Object Manager vdev
|
|
|
+ *
|
|
|
+ * Get Assoc link info.
|
|
|
+ *
|
|
|
+ * Return: Pointer of link info
|
|
|
+ */
|
|
|
+struct mlo_link_info *mlo_mgr_get_ap_link(struct wlan_objmgr_vdev *vdev);
|
|
|
+
|
|
|
+#ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
|
|
|
/**
|
|
|
* mlo_mgr_get_ap_link_by_link_id() - Get mlo link info from link id
|
|
|
* @mlo_dev_ctx: mlo context
|
|
@@ -258,17 +269,6 @@ struct mlo_link_info*
|
|
|
mlo_mgr_get_ap_link_by_link_id(struct wlan_mlo_dev_context *mlo_dev_ctx,
|
|
|
int link_id);
|
|
|
|
|
|
-/**
|
|
|
- * mlo_mgr_get_ap_link() - Assoc mlo link info from link id
|
|
|
- * @vdev: Object Manager vdev
|
|
|
- *
|
|
|
- * Get Assoc link info.
|
|
|
- *
|
|
|
- * Return: Pointer of link info
|
|
|
- */
|
|
|
-struct mlo_link_info *mlo_mgr_get_ap_link(struct wlan_objmgr_vdev *vdev);
|
|
|
-
|
|
|
-#ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
|
|
|
/**
|
|
|
* mlo_mgr_update_csa_link_info - update mlo sta csa params
|
|
|
* @mlo_dev_ctx: mlo dev ctx
|
|
@@ -621,6 +621,13 @@ mlo_mgr_is_link_switch_supported(struct wlan_objmgr_vdev *vdev)
|
|
|
}
|
|
|
|
|
|
#else
|
|
|
+static inline struct mlo_link_info
|
|
|
+*mlo_mgr_get_ap_link_by_link_id(struct wlan_mlo_dev_context *mlo_dev_ctx,
|
|
|
+ int link_id)
|
|
|
+{
|
|
|
+ return NULL;
|
|
|
+}
|
|
|
+
|
|
|
static inline bool
|
|
|
mlo_mgr_is_link_switch_supported(struct wlan_objmgr_vdev *vdev)
|
|
|
{
|