Commit d9d644ed authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

staging:vt6655:vntwifi: Whitespace cleanups

Neatening only.
git diff -w shows no differences.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 031d3996
This diff is collapsed.
...@@ -65,28 +65,28 @@ ...@@ -65,28 +65,28 @@
// Pre-configured Authenticaiton Mode (from XP) // Pre-configured Authenticaiton Mode (from XP)
typedef enum tagWMAC_AUTHENTICATION_MODE { typedef enum tagWMAC_AUTHENTICATION_MODE {
WMAC_AUTH_OPEN, WMAC_AUTH_OPEN,
WMAC_AUTH_SHAREKEY, WMAC_AUTH_SHAREKEY,
WMAC_AUTH_AUTO, WMAC_AUTH_AUTO,
WMAC_AUTH_WPA, WMAC_AUTH_WPA,
WMAC_AUTH_WPAPSK, WMAC_AUTH_WPAPSK,
WMAC_AUTH_WPANONE, WMAC_AUTH_WPANONE,
WMAC_AUTH_WPA2, WMAC_AUTH_WPA2,
WMAC_AUTH_WPA2PSK, WMAC_AUTH_WPA2PSK,
WMAC_AUTH_MAX // Not a real mode, defined as upper bound WMAC_AUTH_MAX // Not a real mode, defined as upper bound
} WMAC_AUTHENTICATION_MODE, *PWMAC_AUTHENTICATION_MODE; } WMAC_AUTHENTICATION_MODE, *PWMAC_AUTHENTICATION_MODE;
typedef enum tagWMAC_ENCRYPTION_MODE { typedef enum tagWMAC_ENCRYPTION_MODE {
WMAC_ENCRYPTION_WEPEnabled, WMAC_ENCRYPTION_WEPEnabled,
WMAC_ENCRYPTION_WEPDisabled, WMAC_ENCRYPTION_WEPDisabled,
WMAC_ENCRYPTION_WEPKeyAbsent, WMAC_ENCRYPTION_WEPKeyAbsent,
WMAC_ENCRYPTION_WEPNotSupported, WMAC_ENCRYPTION_WEPNotSupported,
WMAC_ENCRYPTION_TKIPEnabled, WMAC_ENCRYPTION_TKIPEnabled,
WMAC_ENCRYPTION_TKIPKeyAbsent, WMAC_ENCRYPTION_TKIPKeyAbsent,
WMAC_ENCRYPTION_AESEnabled, WMAC_ENCRYPTION_AESEnabled,
WMAC_ENCRYPTION_AESKeyAbsent WMAC_ENCRYPTION_AESKeyAbsent
} WMAC_ENCRYPTION_MODE, *PWMAC_ENCRYPTION_MODE; } WMAC_ENCRYPTION_MODE, *PWMAC_ENCRYPTION_MODE;
...@@ -94,10 +94,10 @@ typedef enum tagWMAC_ENCRYPTION_MODE { ...@@ -94,10 +94,10 @@ typedef enum tagWMAC_ENCRYPTION_MODE {
typedef enum tagWMAC_CONFIG_MODE { typedef enum tagWMAC_CONFIG_MODE {
WMAC_CONFIG_ESS_STA = 0, WMAC_CONFIG_ESS_STA = 0,
WMAC_CONFIG_IBSS_STA, WMAC_CONFIG_IBSS_STA,
WMAC_CONFIG_AUTO, WMAC_CONFIG_AUTO,
WMAC_CONFIG_AP WMAC_CONFIG_AP
} WMAC_CONFIG_MODE, *PWMAC_CONFIG_MODE; } WMAC_CONFIG_MODE, *PWMAC_CONFIG_MODE;
...@@ -105,29 +105,29 @@ typedef enum tagWMAC_CONFIG_MODE { ...@@ -105,29 +105,29 @@ typedef enum tagWMAC_CONFIG_MODE {
typedef enum tagWMAC_POWER_MODE { typedef enum tagWMAC_POWER_MODE {
WMAC_POWER_CAM, WMAC_POWER_CAM,
WMAC_POWER_FAST, WMAC_POWER_FAST,
WMAC_POWER_MAX WMAC_POWER_MAX
} WMAC_POWER_MODE, *PWMAC_POWER_MODE; } WMAC_POWER_MODE, *PWMAC_POWER_MODE;
#define VNTWIFIbIsShortSlotTime(wCapInfo) \ #define VNTWIFIbIsShortSlotTime(wCapInfo) \
WLAN_GET_CAP_INFO_SHORTSLOTTIME(wCapInfo) \ WLAN_GET_CAP_INFO_SHORTSLOTTIME(wCapInfo) \
#define VNTWIFIbIsProtectMode(byERP) \ #define VNTWIFIbIsProtectMode(byERP) \
((byERP & WLAN_EID_ERP_USE_PROTECTION) != 0) \ ((byERP & WLAN_EID_ERP_USE_PROTECTION) != 0) \
#define VNTWIFIbIsBarkerMode(byERP) \ #define VNTWIFIbIsBarkerMode(byERP) \
((byERP & WLAN_EID_ERP_BARKER_MODE) != 0) \ ((byERP & WLAN_EID_ERP_BARKER_MODE) != 0) \
#define VNTWIFIbIsShortPreamble(wCapInfo) \ #define VNTWIFIbIsShortPreamble(wCapInfo) \
WLAN_GET_CAP_INFO_SHORTPREAMBLE(wCapInfo) \ WLAN_GET_CAP_INFO_SHORTPREAMBLE(wCapInfo) \
#define VNTWIFIbIsEncryption(wCapInfo) \ #define VNTWIFIbIsEncryption(wCapInfo) \
WLAN_GET_CAP_INFO_PRIVACY(wCapInfo) \ WLAN_GET_CAP_INFO_PRIVACY(wCapInfo) \
#define VNTWIFIbIsESS(wCapInfo) \ #define VNTWIFIbIsESS(wCapInfo) \
WLAN_GET_CAP_INFO_ESS(wCapInfo) \ WLAN_GET_CAP_INFO_ESS(wCapInfo) \
/*--------------------- Export Classes ----------------------------*/ /*--------------------- Export Classes ----------------------------*/
...@@ -141,167 +141,167 @@ typedef enum tagWMAC_POWER_MODE { ...@@ -141,167 +141,167 @@ typedef enum tagWMAC_POWER_MODE {
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
void void
VNTWIFIvSetIBSSParameter ( VNTWIFIvSetIBSSParameter(
void *pMgmtHandle, void *pMgmtHandle,
unsigned short wBeaconPeriod, unsigned short wBeaconPeriod,
unsigned short wATIMWindow, unsigned short wATIMWindow,
unsigned int uChannel unsigned int uChannel
); );
void void
VNTWIFIvSetOPMode ( VNTWIFIvSetOPMode(
void *pMgmtHandle, void *pMgmtHandle,
WMAC_CONFIG_MODE eOPMode WMAC_CONFIG_MODE eOPMode
); );
PWLAN_IE_SSID PWLAN_IE_SSID
VNTWIFIpGetCurrentSSID( VNTWIFIpGetCurrentSSID(
void *pMgmtHandle void *pMgmtHandle
); );
unsigned int unsigned int
VNTWIFIpGetCurrentChannel( VNTWIFIpGetCurrentChannel(
void *pMgmtHandle void *pMgmtHandle
); );
unsigned short unsigned short
VNTWIFIwGetAssocID ( VNTWIFIwGetAssocID(
void *pMgmtHandle void *pMgmtHandle
); );
unsigned char unsigned char
VNTWIFIbyGetMaxSupportRate ( VNTWIFIbyGetMaxSupportRate(
PWLAN_IE_SUPP_RATES pSupportRateIEs, PWLAN_IE_SUPP_RATES pSupportRateIEs,
PWLAN_IE_SUPP_RATES pExtSupportRateIEs PWLAN_IE_SUPP_RATES pExtSupportRateIEs
); );
unsigned char unsigned char
VNTWIFIbyGetACKTxRate ( VNTWIFIbyGetACKTxRate(
unsigned char byRxDataRate, unsigned char byRxDataRate,
PWLAN_IE_SUPP_RATES pSupportRateIEs, PWLAN_IE_SUPP_RATES pSupportRateIEs,
PWLAN_IE_SUPP_RATES pExtSupportRateIEs PWLAN_IE_SUPP_RATES pExtSupportRateIEs
); );
void void
VNTWIFIvSetAuthenticationMode ( VNTWIFIvSetAuthenticationMode(
void *pMgmtHandle, void *pMgmtHandle,
WMAC_AUTHENTICATION_MODE eAuthMode WMAC_AUTHENTICATION_MODE eAuthMode
); );
void void
VNTWIFIvSetEncryptionMode ( VNTWIFIvSetEncryptionMode(
void *pMgmtHandle, void *pMgmtHandle,
WMAC_ENCRYPTION_MODE eEncryptionMode WMAC_ENCRYPTION_MODE eEncryptionMode
); );
bool bool
VNTWIFIbConfigPhyMode( VNTWIFIbConfigPhyMode(
void *pMgmtHandle, void *pMgmtHandle,
CARD_PHY_TYPE ePhyType CARD_PHY_TYPE ePhyType
); );
void void
VNTWIFIbGetConfigPhyMode( VNTWIFIbGetConfigPhyMode(
void *pMgmtHandle, void *pMgmtHandle,
void *pePhyType void *pePhyType
); );
void void
VNTWIFIvQueryBSSList(void *pMgmtHandle, unsigned int *puBSSCount, VNTWIFIvQueryBSSList(void *pMgmtHandle, unsigned int *puBSSCount,
void **pvFirstBSS); void **pvFirstBSS);
void void
VNTWIFIvGetNextBSS ( VNTWIFIvGetNextBSS(
void *pMgmtHandle, void *pMgmtHandle,
void *pvCurrentBSS, void *pvCurrentBSS,
void **pvNextBSS void **pvNextBSS
); );
void void
VNTWIFIvUpdateNodeTxCounter( VNTWIFIvUpdateNodeTxCounter(
void *pMgmtHandle, void *pMgmtHandle,
unsigned char *pbyDestAddress, unsigned char *pbyDestAddress,
bool bTxOk, bool bTxOk,
unsigned short wRate, unsigned short wRate,
unsigned char *pbyTxFailCount unsigned char *pbyTxFailCount
); );
void void
VNTWIFIvGetTxRate( VNTWIFIvGetTxRate(
void *pMgmtHandle, void *pMgmtHandle,
unsigned char *pbyDestAddress, unsigned char *pbyDestAddress,
unsigned short *pwTxDataRate, unsigned short *pwTxDataRate,
unsigned char *pbyACKRate, unsigned char *pbyACKRate,
unsigned char *pbyCCKBasicRate, unsigned char *pbyCCKBasicRate,
unsigned char *pbyOFDMBasicRate unsigned char *pbyOFDMBasicRate
); );
/* /*
bool bool
VNTWIFIbInit( VNTWIFIbInit(
void *pAdapterHandler, void *pAdapterHandler,
void **pMgmtHandler void **pMgmtHandler
); );
*/ */
unsigned char unsigned char
VNTWIFIbyGetKeyCypher( VNTWIFIbyGetKeyCypher(
void *pMgmtHandle, void *pMgmtHandle,
bool bGroupKey bool bGroupKey
); );
bool bool
VNTWIFIbSetPMKIDCache ( VNTWIFIbSetPMKIDCache(
void *pMgmtObject, void *pMgmtObject,
unsigned long ulCount, unsigned long ulCount,
void *pPMKIDInfo void *pPMKIDInfo
); );
bool bool
VNTWIFIbCommandRunning ( VNTWIFIbCommandRunning(
void *pMgmtObject void *pMgmtObject
); );
unsigned short unsigned short
VNTWIFIwGetMaxSupportRate( VNTWIFIwGetMaxSupportRate(
void *pMgmtObject void *pMgmtObject
); );
// for 802.11h // for 802.11h
void void
VNTWIFIvSet11h ( VNTWIFIvSet11h(
void *pMgmtObject, void *pMgmtObject,
bool b11hEnable bool b11hEnable
); );
bool bool
VNTWIFIbMeasureReport( VNTWIFIbMeasureReport(
void *pMgmtObject, void *pMgmtObject,
bool bEndOfReport, bool bEndOfReport,
void *pvMeasureEID, void *pvMeasureEID,
unsigned char byReportMode, unsigned char byReportMode,
unsigned char byBasicMap, unsigned char byBasicMap,
unsigned char byCCAFraction, unsigned char byCCAFraction,
unsigned char *pbyRPIs unsigned char *pbyRPIs
); );
bool bool
VNTWIFIbChannelSwitch( VNTWIFIbChannelSwitch(
void *pMgmtObject, void *pMgmtObject,
unsigned char byNewChannel unsigned char byNewChannel
); );
/* /*
bool bool
VNTWIFIbRadarPresent( VNTWIFIbRadarPresent(
void *pMgmtObject, void *pMgmtObject,
unsigned char byChannel unsigned char byChannel
); );
*/ */
#endif //__VNTWIFI_H__ #endif //__VNTWIFI_H__
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment