|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
+ * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -351,6 +351,22 @@ void mlo_mgr_roam_update_ap_link_info(struct wlan_objmgr_vdev *vdev,
|
|
|
struct ml_setup_link_param *src_link_info,
|
|
|
struct wlan_channel *channel);
|
|
|
|
|
|
+#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
|
|
+/**
|
|
|
+ * mlo_mgr_num_roam_links() - Get number of roaming links
|
|
|
+ * @vdev: VDEV object manager pointer
|
|
|
+ *
|
|
|
+ * Returns the num of links device roamed via FW roam sync event,
|
|
|
+ * for non-MLO VDEV the number of links is one.
|
|
|
+ */
|
|
|
+uint8_t mlo_mgr_num_roam_links(struct wlan_objmgr_vdev *vdev);
|
|
|
+#else
|
|
|
+static inline uint8_t mlo_mgr_num_roam_links(struct wlan_objmgr_vdev *vdev)
|
|
|
+{
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
/**
|
|
|
* mlo_cm_roam_sync_cb - Callback function from CM to MLO mgr
|
|
|
*
|
|
@@ -648,6 +664,11 @@ void mlo_mgr_roam_update_ap_link_info(struct wlan_objmgr_vdev *vdev,
|
|
|
struct wlan_channel *channel)
|
|
|
{}
|
|
|
|
|
|
+static inline uint8_t mlo_mgr_num_roam_links(struct wlan_objmgr_vdev *vdev)
|
|
|
+{
|
|
|
+ return 1;
|
|
|
+}
|
|
|
+
|
|
|
static inline uint32_t
|
|
|
mlo_roam_get_link_freq_from_mac_addr(struct roam_offload_synch_ind *sync_ind,
|
|
|
uint8_t *link_mac_addr)
|