Browse Source

qcacmn: Public api wlan_mlo_parse_t2lm_info

Public api wlan_mlo_parse_t2lm_info for others to use.

Change-Id: Id66f33abb7cb2c33503efa7b12ff52080ea30e6c
CRs-Fixed: 3365976
Paul Zhang 2 năm trước cách đây
mục cha
commit
c62c548597
2 tập tin đã thay đổi với 19 bổ sung9 xóa
  1. 17 0
      umac/mlo_mgr/inc/wlan_mlo_t2lm.h
  2. 2 9
      umac/mlo_mgr/src/wlan_mlo_t2lm.c

+ 17 - 0
umac/mlo_mgr/inc/wlan_mlo_t2lm.h

@@ -486,6 +486,16 @@ uint8_t *wlan_mlo_add_t2lm_action_frame(
 QDF_STATUS wlan_mlo_parse_bcn_prbresp_t2lm_ie(
 		struct wlan_t2lm_context *t2lm_ctx, uint8_t *ie);
 
+/**
+ * wlan_mlo_parse_t2lm_info() - Parse T2LM IE fields
+ * @ie: Pointer to T2LM IE
+ * @t2lm: Pointer to T2LM structure
+ *
+ * Return: QDF_STATUS
+ */
+QDF_STATUS wlan_mlo_parse_t2lm_info(uint8_t *ie,
+				    struct wlan_t2lm_info *t2lm);
+
 /**
  * wlan_mlo_add_t2lm_info_ie() - Add T2LM IE for UL/DL/Bidirection
  * @frm: Pointer to buffer
@@ -604,6 +614,13 @@ QDF_STATUS wlan_mlo_parse_bcn_prbresp_t2lm_ie(
 	return QDF_STATUS_E_FAILURE;
 }
 
+static inline
+QDF_STATUS wlan_mlo_parse_t2lm_info(uint8_t *ie,
+				    struct wlan_t2lm_info *t2lm)
+{
+	return QDF_STATUS_E_FAILURE;
+}
+
 static inline
 uint8_t *wlan_mlo_add_t2lm_info_ie(uint8_t *frm, struct wlan_t2lm_info *t2lm)
 {

+ 2 - 9
umac/mlo_mgr/src/wlan_mlo_t2lm.c

@@ -27,15 +27,8 @@
 #include <qdf_util.h>
 #include <wlan_cm_api.h>
 
-/**
- * wlan_mlo_parse_t2lm_info() - Parse T2LM IE fields
- * @ie: Pointer to T2LM IE
- * @t2lm: Pointer to T2LM structure
- *
- * Return: QDF_STATUS
- */
-static QDF_STATUS wlan_mlo_parse_t2lm_info(uint8_t *ie,
-					   struct wlan_t2lm_info *t2lm)
+QDF_STATUS wlan_mlo_parse_t2lm_info(uint8_t *ie,
+				    struct wlan_t2lm_info *t2lm)
 {
 	struct wlan_ie_tid_to_link_mapping *t2lm_ie;
 	enum wlan_t2lm_direction dir;