diff options
Diffstat (limited to 'drivers/staging/vt6655/iocmd.h')
-rw-r--r-- | drivers/staging/vt6655/iocmd.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/drivers/staging/vt6655/iocmd.h b/drivers/staging/vt6655/iocmd.h index 3deaafa..53c50c0 100644 --- a/drivers/staging/vt6655/iocmd.h +++ b/drivers/staging/vt6655/iocmd.h @@ -37,7 +37,6 @@ #define DEF #endif -//typedef int BOOL; //typedef uint32_t u32; //typedef uint16_t u16; //typedef uint8_t u8; @@ -136,8 +135,8 @@ typedef struct tagSCmdBSSJoin { u16 wBBPType; u8 ssid[SSID_MAXLEN + 2]; u32 uChannel; - BOOL bPSEnable; - BOOL bShareKeyAuth; + bool bPSEnable; + bool bShareKeyAuth; } SCmdBSSJoin, *PSCmdBSSJoin; @@ -147,7 +146,7 @@ typedef struct tagSCmdBSSJoin { typedef struct tagSCmdZoneTypeSet { - BOOL bWrite; + bool bWrite; WZONETYPE ZoneType; } SCmdZoneTypeSet, *PSCmdZoneTypeSet; @@ -158,7 +157,7 @@ typedef struct tagSWPAResult { u8 proto; u8 key_mgmt; u8 eap_type; - BOOL authenticated; + bool authenticated; } SWPAResult, *PSWPAResult; #endif @@ -169,7 +168,7 @@ typedef struct tagSCmdStartAP { u8 ssid[SSID_MAXLEN + 2]; u32 uChannel; u32 uBeaconInt; - BOOL bShareKeyAuth; + bool bShareKeyAuth; u8 byBasicRate; } SCmdStartAP, *PSCmdStartAP; @@ -177,10 +176,10 @@ typedef struct tagSCmdStartAP { typedef struct tagSCmdSetWEP { - BOOL bEnableWep; + bool bEnableWep; u8 byKeyIndex; u8 abyWepKey[WEP_NKEYS][WEP_KEYMAXLEN]; - BOOL bWepKeyAvailable[WEP_NKEYS]; + bool bWepKeyAvailable[WEP_NKEYS]; u32 auWepKeyLength[WEP_NKEYS]; } SCmdSetWEP, *PSCmdSetWEP; @@ -200,7 +199,7 @@ typedef struct tagSBSSIDItem { u16 wBeaconInterval; u16 wCapInfo; // for address of byNetType at align 4 - BOOL bWEPOn; + bool bWEPOn; u32 uRSSI; } SBSSIDItem; @@ -215,7 +214,7 @@ typedef struct tagSBSSIDList { typedef struct tagSCmdLinkStatus { - BOOL bLink; + bool bLink; u16 wBSSType; u8 byState; u8 abyBSSID[BSSID_LEN]; @@ -359,12 +358,12 @@ typedef struct tagSNodeItem { u16 wInActiveCount; u16 wEnQueueCnt; u16 wFlags; - BOOL bPWBitOn; + bool bPWBitOn; u8 byKeyIndex; u16 wWepKeyLength; u8 abyWepKey[WEP_KEYMAXLEN]; // Auto rate fallback vars - BOOL bIsInFallback; + bool bIsInFallback; u32 uTxFailures; u32 uTxAttempts; u16 wFailureRatio; |