Jelajahi Sumber

qcacld-3.0: Fix length of EDCA config strings

Currently the driver uses STR_EDCA_ANI_ACBK_LOCAL as the length
for all the EDCA_LOCAL string cfg items.

Use the corresponding string length for EDCA_LOCAL string.

Change-Id: Ia6fd19b90c3d6c2c6e7a12e9f44389db2bf160f8
CRs-Fixed: 2569514
Pragaspathi Thilagaraj 5 tahun lalu
induk
melakukan
c7229ac591
1 mengubah file dengan 7 tambahan dan 7 penghapusan
  1. 7 7
      components/mlme/dispatcher/inc/cfg_mlme_edca_params.h

+ 7 - 7
components/mlme/dispatcher/inc/cfg_mlme_edca_params.h

@@ -34,7 +34,7 @@
 		"EDCA ANI ACBK LOCAL")
 
 #define STR_EDCA_ANI_ACBE_LOCAL "0x0, 0x2, 0x0, 0xf, 0x3, 0xff, 0x64, 0x0, 0x1f, 0x3, 0xff, 0x64, 0x0, 0xf, 0x3, 0xff, 0x64"
-#define STR_EDCA_ANI_ACBE_LOCAL_LEN (sizeof(STR_EDCA_ANI_ACBK_LOCAL) - 1)
+#define STR_EDCA_ANI_ACBE_LOCAL_LEN (sizeof(STR_EDCA_ANI_ACBE_LOCAL) - 1)
 
 #define CFG_EDCA_ANI_ACBE_LOCAL CFG_STRING( \
 		"edca_ani_acbe_local", \
@@ -44,7 +44,7 @@
 		"EDCA ANI ACBE LOCAL")
 
 #define STR_EDCA_ANI_ACVI_LOCAL "0x0, 0x2, 0x0, 0x7, 0x0, 0xf, 0xc8, 0x0, 0xf, 0x0, 0x1f, 0xbc, 0x0, 0x7, 0x0, 0xf, 0xc8"
-#define STR_EDCA_ANI_ACVI_LOCAL_LEN (sizeof(STR_EDCA_ANI_ACBK_LOCAL) - 1)
+#define STR_EDCA_ANI_ACVI_LOCAL_LEN (sizeof(STR_EDCA_ANI_ACVI_LOCAL) - 1)
 
 #define CFG_EDCA_ANI_ACVI_LOCAL CFG_STRING( \
 		"edca_ani_acvi_local",\
@@ -54,7 +54,7 @@
 		"EDCA ANI ACVI LOCAL")
 
 #define STR_EDCA_ANI_ACVO_LOCAL "0x0, 0x2, 0x0, 0x3, 0x0, 0x7, 0x64, 0x0, 0x7, 0x0, 0xf, 0x66, 0x0, 0x3, 0x0, 0x7, 0x64"
-#define STR_EDCA_ANI_ACVO_LOCAL_LEN (sizeof(STR_EDCA_ANI_ACBK_LOCAL) - 1)
+#define STR_EDCA_ANI_ACVO_LOCAL_LEN (sizeof(STR_EDCA_ANI_ACVO_LOCAL) - 1)
 
 #define CFG_EDCA_ANI_ACVO_LOCAL CFG_STRING( \
 		"edca_ani_acvo_local", \
@@ -64,7 +64,7 @@
 		"EDCA ANI ACVO LOCAL")
 
 #define STR_EDCA_ANI_ACBK "0x0, 0x7, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0x1f, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0"
-#define STR_EDCA_ANI_ACBK_LEN (sizeof(STR_EDCA_ANI_ACBK_LOCAL) - 1)
+#define STR_EDCA_ANI_ACBK_LEN (sizeof(STR_EDCA_ANI_ACBK) - 1)
 
 #define CFG_EDCA_ANI_ACBK CFG_STRING( \
 		"edca_ani_acbk", \
@@ -74,7 +74,7 @@
 		"EDCA ANI ACBK BROADCAST")
 
 #define STR_EDCA_ANI_ACBE "0x0, 0x2, 0x0, 0xf, 0x3, 0xff, 0x64, 0x0, 0x1f, 0x3, 0xff, 0x64, 0x0, 0xf, 0x3, 0xff, 0x64"
-#define STR_EDCA_ANI_ACBE_LEN (sizeof(STR_EDCA_ANI_ACBK_LOCAL) - 1)
+#define STR_EDCA_ANI_ACBE_LEN (sizeof(STR_EDCA_ANI_ACBE) - 1)
 
 #define CFG_EDCA_ANI_ACBE CFG_STRING( \
 		"edca_ani_acbe", \
@@ -84,7 +84,7 @@
 		"EDCA ANI ACBE BROADCAST")
 
 #define STR_EDCA_ANI_ACVI "0x0, 0x2, 0x0, 0x7, 0x0, 0xf, 0xc8, 0x0, 0xf, 0x0, 0x1f, 0xbc, 0x0, 0x7, 0x0, 0xf, 0xc8"
-#define STR_EDCA_ANI_ACVI_LEN (sizeof(STR_EDCA_ANI_ACBK_LOCAL) - 1)
+#define STR_EDCA_ANI_ACVI_LEN (sizeof(STR_EDCA_ANI_ACVI) - 1)
 
 #define CFG_EDCA_ANI_ACVI CFG_STRING( \
 		"edca_ani_acvi", \
@@ -94,7 +94,7 @@
 		"EDCA ANI ACVI BROADCAST")
 
 #define STR_EDCA_ANI_ACVO "0x0, 0x2, 0x0, 0x3, 0x0, 0x7, 0x64, 0x0, 0x7, 0x0, 0xf, 0x66, 0x0, 0x3, 0x0, 0x7, 0x64"
-#define STR_EDCA_ANI_ACVO_LEN (sizeof(STR_EDCA_ANI_ACBK_LOCAL) - 1)
+#define STR_EDCA_ANI_ACVO_LEN (sizeof(STR_EDCA_ANI_ACVO) - 1)
 
 #define CFG_EDCA_ANI_ACVO CFG_STRING( \
 		"edca_ani_acvo", \