Эх сурвалжийг харах

qcacld-3.0: Change ssidHidden variable type as tHiddenssId enum

Change ssidHidden variable type as tHiddenssId enum instead of
original boolean type in tagCsrSSIDInfo structure to backup the
value from hdd (eg: eHIDDEN_SSID_NOT_IN_USE, eHIDDEN_SSID_ZERO_LEN,
eHIDDEN_SSID_ZERO_CONTENTS).

Change-Id: Ibc88c80856984b1b61e2fbe489219b391900dad3
CRs-Fixed: 2065342
lifeng 8 жил өмнө
parent
commit
21b7b8bd49

+ 0 - 5
core/mac/inc/ani_global.h

@@ -977,11 +977,6 @@ typedef struct sAniSirGlobal {
 	bool ignore_assoc_disallowed;
 } tAniSirGlobal;
 
-typedef enum {
-	eHIDDEN_SSID_NOT_IN_USE,
-	eHIDDEN_SSID_ZERO_LEN,
-	eHIDDEN_SSID_ZERO_CONTENTS
-} tHiddenssId;
 
 #ifdef FEATURE_WLAN_TDLS
 

+ 7 - 1
core/sme/inc/csr_api.h

@@ -237,10 +237,16 @@ typedef struct tagCsrChannelInfo {
 	uint8_t *ChannelList;   /* it will be an array of channels */
 } tCsrChannelInfo, *tpCsrChannelInfo;
 
+typedef enum {
+	eHIDDEN_SSID_NOT_IN_USE,
+	eHIDDEN_SSID_ZERO_LEN,
+	eHIDDEN_SSID_ZERO_CONTENTS
+} tHiddenssId;
+
 typedef struct tagCsrSSIDInfo {
 	tSirMacSSid SSID;
 	bool handoffPermitted;
-	bool ssidHidden;
+	tHiddenssId ssidHidden;
 } tCsrSSIDInfo;
 
 typedef struct tagCsrSSIDs {