Browse Source

qcacmn: Move frame control values to header file

Move the frame control values used for link specific rsp
generation to a header file to access in other source files.

Change-Id: Ib531b9ae88604e98b9119efa610757dc5f399596
CRs-Fixed: 3586052
Vinod Kumar Pirla 1 year ago
parent
commit
15b56b62e4
2 changed files with 7 additions and 7 deletions
  1. 7 0
      umac/mlo_mgr/inc/utils_mlo.h
  2. 0 7
      umac/mlo_mgr/src/utils_mlo.c

+ 7 - 0
umac/mlo_mgr/inc/utils_mlo.h

@@ -29,6 +29,13 @@
 
 #ifdef WLAN_FEATURE_11BE_MLO
 
+#define MLO_LINKSPECIFIC_ASSOC_REQ_FC0  0x00
+#define MLO_LINKSPECIFIC_ASSOC_REQ_FC1  0x00
+#define MLO_LINKSPECIFIC_ASSOC_RESP_FC0 0x10
+#define MLO_LINKSPECIFIC_ASSOC_RESP_FC1 0x00
+#define MLO_LINKSPECIFIC_PROBE_RESP_FC0 0x50
+#define MLO_LINKSPECIFIC_PROBE_RESP_FC1 0x00
+
 /**
  * util_gen_link_assoc_req() - Generate link specific assoc request
  * @frame: Pointer to original association request. This should not contain the

+ 0 - 7
umac/mlo_mgr/src/utils_mlo.c

@@ -1819,13 +1819,6 @@ util_find_bvmlie_persta_prof_for_linkid(uint8_t req_link_id,
 	return QDF_STATUS_E_PROTO;
 }
 
-#define MLO_LINKSPECIFIC_ASSOC_REQ_FC0  0x00
-#define MLO_LINKSPECIFIC_ASSOC_REQ_FC1  0x00
-#define MLO_LINKSPECIFIC_ASSOC_RESP_FC0 0x10
-#define MLO_LINKSPECIFIC_ASSOC_RESP_FC1 0x00
-#define MLO_LINKSPECIFIC_PROBE_RESP_FC0 0x50
-#define MLO_LINKSPECIFIC_PROBE_RESP_FC1 0x00
-
 static
 QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len,
 				    uint8_t subtype,