Commit 3cdec554 authored by Charles Clément's avatar Charles Clément Committed by Greg Kroah-Hartman

Staging: vt6655: remove OUT definition

Remove empty OUT definition used to specify output parameters.
Signed-off-by: default avatarCharles Clément <caratorn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3a215e0f
......@@ -1849,9 +1849,9 @@ BBvCaculateParameter (
UINT cbFrameLength,
WORD wRate,
BYTE byPacketType,
OUT PWORD pwPhyLen,
OUT PBYTE pbyPhySrv,
OUT PBYTE pbyPhySgn
PWORD pwPhyLen,
PBYTE pbyPhySrv,
PBYTE pbyPhySgn
)
{
UINT cbBitCount;
......
......@@ -132,9 +132,9 @@ BBvCaculateParameter (
UINT cbFrameLength,
WORD wRate,
BYTE byPacketType,
OUT PWORD pwPhyLen,
OUT PBYTE pbyPhySrv,
OUT PBYTE pbyPhySgn
PWORD pwPhyLen,
PBYTE pbyPhySrv,
PBYTE pbyPhySgn
);
BOOL BBbReadEmbeded(DWORD_PTR dwIoBase, BYTE byBBAddr, PBYTE pbyData);
......
......@@ -766,7 +766,7 @@ BOOL
BSSDBbIsSTAInNodeDB(
void *pMgmtObject,
PBYTE abyDstAddr,
OUT PUINT puNodeIndex
PUINT puNodeIndex
)
{
PSMgmtObject pMgmt = (PSMgmtObject) pMgmtObject;
......@@ -800,7 +800,7 @@ BSSDBbIsSTAInNodeDB(
void
BSSvCreateOneNode(
void *hDeviceContext,
OUT PUINT puNodeIndex
PUINT puNodeIndex
)
{
......
......@@ -312,13 +312,13 @@ BOOL
BSSDBbIsSTAInNodeDB(
void *hDeviceContext,
PBYTE abyDstAddr,
OUT PUINT puNodeIndex
PUINT puNodeIndex
);
void
BSSvCreateOneNode(
void *hDeviceContext,
OUT PUINT puNodeIndex
PUINT puNodeIndex
);
void
......
......@@ -427,8 +427,8 @@ void
s_vCaculateOFDMRParameter(
BYTE byRate,
CARD_PHY_TYPE ePHYType,
OUT PBYTE pbyTxRate,
OUT PBYTE pbyRsvTime
PBYTE pbyTxRate,
PBYTE pbyRsvTime
);
......@@ -500,8 +500,8 @@ void
s_vCaculateOFDMRParameter (
BYTE byRate,
CARD_PHY_TYPE ePHYType,
OUT PBYTE pbyTxRate,
OUT PBYTE pbyRsvTime
PBYTE pbyTxRate,
PBYTE pbyRsvTime
)
{
switch (byRate) {
......@@ -2130,8 +2130,8 @@ CARDvSetPowerConstraint (
void
CARDvGetPowerCapability (
void *pDeviceHandler,
OUT PBYTE pbyMinPower,
OUT PBYTE pbyMaxPower
PBYTE pbyMinPower,
PBYTE pbyMaxPower
)
{
PSDevice pDevice = (PSDevice) pDeviceHandler;
......@@ -2166,7 +2166,7 @@ CARDvGetPowerCapability (
BYTE
CARDbySetSupportChannels (
void *pDeviceHandler,
OUT PBYTE pbyIEs
PBYTE pbyIEs
)
{
PSDevice pDevice = (PSDevice) pDeviceHandler;
......@@ -2268,7 +2268,7 @@ CARDbyGetTransmitPower (
BOOL
CARDbChannelGetList (
UINT uCountryCodeIdx,
OUT PBYTE pbyChannelTable
PBYTE pbyChannelTable
)
{
if (uCountryCodeIdx >= CCODE_MAX) {
......@@ -2309,8 +2309,8 @@ BOOL
CARDbGetChannelMapInfo(
void *pDeviceHandler,
UINT uChannelIndex,
OUT PBYTE pbyChannelNumber,
OUT PBYTE pbyMap
PBYTE pbyChannelNumber,
PBYTE pbyMap
)
{
// PSDevice pDevice = (PSDevice) pDeviceHandler;
......
......@@ -195,14 +195,14 @@ CARDvSetPowerConstraint (
void
CARDvGetPowerCapability (
void *pDeviceHandler,
OUT PBYTE pbyMinPower,
OUT PBYTE pbyMaxPower
PBYTE pbyMinPower,
PBYTE pbyMaxPower
);
BYTE
CARDbySetSupportChannels (
void *pDeviceHandler,
OUT PBYTE pbyIEs
PBYTE pbyIEs
);
I8
......@@ -213,7 +213,7 @@ CARDbyGetTransmitPower (
BOOL
CARDbChannelGetList (
UINT uCountryCodeIdx,
OUT PBYTE pbyChannelTable
PBYTE pbyChannelTable
);
void
......@@ -226,8 +226,8 @@ BOOL
CARDbGetChannelMapInfo(
void *pDeviceHandler,
UINT uChannelIndex,
OUT PBYTE pbyChannelNumber,
OUT PBYTE pbyMap
PBYTE pbyChannelNumber,
PBYTE pbyMap
);
void
......
......@@ -200,11 +200,11 @@ RATEvParseMaxRate (
PWLAN_IE_SUPP_RATES pItemRates,
PWLAN_IE_SUPP_RATES pItemExtRates,
BOOL bUpdateBasicRate,
OUT PWORD pwMaxBasicRate,
OUT PWORD pwMaxSuppRate,
OUT PWORD pwSuppRate,
OUT PBYTE pbyTopCCKRate,
OUT PBYTE pbyTopOFDMRate
PWORD pwMaxBasicRate,
PWORD pwMaxSuppRate,
PWORD pwSuppRate,
PBYTE pbyTopCCKRate,
PBYTE pbyTopOFDMRate
)
{
PSDevice pDevice = (PSDevice) pDeviceHandler;
......
......@@ -60,11 +60,11 @@ RATEvParseMaxRate(
PWLAN_IE_SUPP_RATES pItemRates,
PWLAN_IE_SUPP_RATES pItemExtRates,
BOOL bUpdateBasicRate,
OUT PWORD pwMaxBasicRate,
OUT PWORD pwMaxSuppRate,
OUT PWORD pwSuppRate,
OUT PBYTE pbyTopCCKRate,
OUT PBYTE pbyTopOFDMRate
PWORD pwMaxBasicRate,
PWORD pwMaxSuppRate,
PWORD pwSuppRate,
PBYTE pbyTopCCKRate,
PBYTE pbyTopOFDMRate
);
void
......
......@@ -83,8 +83,8 @@ static
void
s_vGetDASA(
PBYTE pbyRxBufferAddr,
OUT PUINT pcbHeaderSize,
OUT PSEthernetHeader psEthHeader
PUINT pcbHeaderSize,
PSEthernetHeader psEthHeader
);
static
......@@ -95,7 +95,7 @@ s_vProcessRxMACHeader (
UINT cbPacketSize,
BOOL bIsWEP,
BOOL bExtIV,
OUT PUINT pcbHeadSize
PUINT pcbHeadSize
);
static BOOL s_bAPModeRxCtl(
......@@ -121,11 +121,11 @@ static BOOL s_bHandleRxEncryption(
PBYTE pbyFrame,
UINT FrameSize,
PBYTE pbyRsr,
OUT PBYTE pbyNewRsr,
OUT PSKeyItem *pKeyOut,
PBYTE pbyNewRsr,
PSKeyItem *pKeyOut,
int * pbExtIV,
OUT PWORD pwRxTSC15_0,
OUT PDWORD pdwRxTSC47_16
PWORD pwRxTSC15_0,
PDWORD pdwRxTSC47_16
);
static BOOL s_bHostWepRxEncryption(
......@@ -136,10 +136,10 @@ static BOOL s_bHostWepRxEncryption(
PBYTE pbyRsr,
BOOL bOnFly,
PSKeyItem pKey,
OUT PBYTE pbyNewRsr,
PBYTE pbyNewRsr,
int * pbExtIV,
OUT PWORD pwRxTSC15_0,
OUT PDWORD pdwRxTSC47_16
PWORD pwRxTSC15_0,
PDWORD pdwRxTSC47_16
);
......@@ -170,7 +170,7 @@ s_vProcessRxMACHeader (
UINT cbPacketSize,
BOOL bIsWEP,
BOOL bExtIV,
OUT PUINT pcbHeadSize
PUINT pcbHeadSize
)
{
PBYTE pbyRxBuffer;
......@@ -265,8 +265,8 @@ static
void
s_vGetDASA (
PBYTE pbyRxBufferAddr,
OUT PUINT pcbHeaderSize,
OUT PSEthernetHeader psEthHeader
PUINT pcbHeaderSize,
PSEthernetHeader psEthHeader
)
{
UINT cbHeaderSize = 0;
......@@ -1167,11 +1167,11 @@ static BOOL s_bHandleRxEncryption (
PBYTE pbyFrame,
UINT FrameSize,
PBYTE pbyRsr,
OUT PBYTE pbyNewRsr,
OUT PSKeyItem *pKeyOut,
PBYTE pbyNewRsr,
PSKeyItem *pKeyOut,
int * pbExtIV,
OUT PWORD pwRxTSC15_0,
OUT PDWORD pdwRxTSC47_16
PWORD pwRxTSC15_0,
PDWORD pdwRxTSC47_16
)
{
UINT PayloadLen = FrameSize;
......@@ -1315,10 +1315,10 @@ static BOOL s_bHostWepRxEncryption (
PBYTE pbyRsr,
BOOL bOnFly,
PSKeyItem pKey,
OUT PBYTE pbyNewRsr,
PBYTE pbyNewRsr,
int * pbExtIV,
OUT PWORD pwRxTSC15_0,
OUT PDWORD pdwRxTSC47_16
PWORD pwRxTSC15_0,
PDWORD pdwRxTSC47_16
)
{
UINT PayloadLen = FrameSize;
......
......@@ -135,7 +135,7 @@ BOOL KeybGetKey (
PSKeyManagement pTable,
PBYTE pbyBSSID,
DWORD dwKeyIndex,
OUT PSKeyItem *pKey
PSKeyItem *pKey
)
{
int i;
......@@ -521,7 +521,7 @@ BOOL KeybGetTransmitKey (
PSKeyManagement pTable,
PBYTE pbyBSSID,
DWORD dwKeyType,
OUT PSKeyItem *pKey
PSKeyItem *pKey
)
{
int i, ii;
......@@ -599,7 +599,7 @@ BOOL KeybGetTransmitKey (
*/
BOOL KeybCheckPairewiseKey (
PSKeyManagement pTable,
OUT PSKeyItem *pKey
PSKeyItem *pKey
)
{
int i;
......
......@@ -107,7 +107,7 @@ BOOL KeybGetKey(
PSKeyManagement pTable,
PBYTE pbyBSSID,
DWORD dwKeyIndex,
OUT PSKeyItem *pKey
PSKeyItem *pKey
);
BOOL KeybSetKey(
......@@ -144,12 +144,12 @@ BOOL KeybGetTransmitKey(
PSKeyManagement pTable,
PBYTE pbyBSSID,
DWORD dwKeyType,
OUT PSKeyItem *pKey
PSKeyItem *pKey
);
BOOL KeybCheckPairewiseKey(
PSKeyManagement pTable,
OUT PSKeyItem *pKey
PSKeyItem *pKey
);
BOOL KeybRemoveAllKey(
......
......@@ -123,7 +123,7 @@ s_vFillTxKey(
PSKeyItem pTransmitKey,
PBYTE pbyHdrBuf,
WORD wPayloadLen,
OUT PBYTE pMICHDR
PBYTE pMICHDR
);
......@@ -184,7 +184,7 @@ s_cbFillTxBufHead (
BOOL bNeedEncrypt,
PSKeyItem pTransmitKey,
UINT uNodeIndex,
OUT PUINT puMACfragNum
PUINT puMACfragNum
);
......@@ -218,7 +218,7 @@ s_vFillTxKey (
PSKeyItem pTransmitKey,
PBYTE pbyHdrBuf,
WORD wPayloadLen,
OUT PBYTE pMICHDR
PBYTE pMICHDR
)
{
PDWORD pdwIV = (PDWORD) pbyIVHead;
......@@ -1329,7 +1329,7 @@ s_cbFillTxBufHead (
BOOL bNeedEncrypt,
PSKeyItem pTransmitKey,
UINT uNodeIndex,
OUT PUINT puMACfragNum
PUINT puMACfragNum
)
{
UINT cbMACHdLen;
......@@ -2106,8 +2106,8 @@ vGenerateFIFOHeader (
PBYTE pPacket,
PSKeyItem pTransmitKey,
UINT uNodeIndex,
OUT PUINT puMACfragNum,
OUT PUINT pcbHeaderSize
PUINT puMACfragNum,
PUINT pcbHeaderSize
)
{
UINT wTxBufSize; // FFinfo size
......
......@@ -46,8 +46,8 @@ void vGenerateMACHeader(
PBYTE pbySkbData,
UINT cbPacketSize,
BOOL bDMA0Used,
OUT PUINT pcbHeadSize,
OUT PUINT pcbAppendPayload
PUINT pcbHeadSize,
PUINT pcbAppendPayload
);
void vProcessRxMACHeader (
......@@ -55,7 +55,7 @@ void vProcessRxMACHeader (
DWORD dwRxBufferAddr,
UINT cbPacketSize,
BOOL bIsWEP,
OUT PUINT pcbHeadSize
PUINT pcbHeadSize
);
*/
......@@ -95,8 +95,8 @@ vGenerateFIFOHeader (
PBYTE pPacket,
PSKeyItem pTransmitKey,
UINT uNodeIndex,
OUT PUINT puMACfragNum,
OUT PUINT pcbHeaderSize
PUINT puMACfragNum,
PUINT pcbHeaderSize
);
......
......@@ -382,7 +382,7 @@ VNTWIFIbConfigPhyMode (
void
VNTWIFIbGetConfigPhyMode (
void *pMgmtHandle,
OUT void *pePhyType
void *pePhyType
)
{
PSMgmtObject pMgmt = (PSMgmtObject)pMgmtHandle;
......@@ -427,8 +427,8 @@ VNTWIFIbGetConfigPhyMode (
void
VNTWIFIvQueryBSSList (
void *pMgmtHandle,
OUT PUINT puBSSCount,
OUT void **pvFirstBSS
PUINT puBSSCount,
void **pvFirstBSS
)
{
UINT ii = 0;
......@@ -458,7 +458,7 @@ void
VNTWIFIvGetNextBSS (
void *pMgmtHandle,
void *pvCurrentBSS,
OUT void **pvNextBSS
void **pvNextBSS
)
{
PKnownBSS pBSS = (PKnownBSS) pvCurrentBSS;
......@@ -533,10 +533,10 @@ void
VNTWIFIvGetTxRate(
void *pMgmtHandle,
PBYTE pbyDestAddress,
OUT PWORD pwTxDataRate,
OUT PBYTE pbyACKRate,
OUT PBYTE pbyCCKBasicRate,
OUT PBYTE pbyOFDMBasicRate
PWORD pwTxDataRate,
PBYTE pbyACKRate,
PBYTE pbyCCKBasicRate,
PBYTE pbyOFDMBasicRate
)
{
PSMgmtObject pMgmt = (PSMgmtObject)pMgmtHandle;
......@@ -621,7 +621,7 @@ VNTWIFIbyGetKeyCypher(
BOOL
VNTWIFIbInit(
void *pAdapterHandler,
OUT void **pMgmtHandler
void **pMgmtHandler
)
{
......
......@@ -204,14 +204,14 @@ VNTWIFIbConfigPhyMode(
void
VNTWIFIbGetConfigPhyMode(
void *pMgmtHandle,
OUT void *pePhyType
void *pePhyType
);
void
VNTWIFIvQueryBSSList(
void *pMgmtHandle,
OUT PUINT puBSSCount,
OUT void **pvFirstBSS
PUINT puBSSCount,
void **pvFirstBSS
);
......@@ -221,7 +221,7 @@ void
VNTWIFIvGetNextBSS (
void *pMgmtHandle,
void *pvCurrentBSS,
OUT void **pvNextBSS
void **pvNextBSS
);
......@@ -240,16 +240,16 @@ void
VNTWIFIvGetTxRate(
void *pMgmtHandle,
PBYTE pbyDestAddress,
OUT PWORD pwTxDataRate,
OUT PBYTE pbyACKRate,
OUT PBYTE pbyCCKBasicRate,
OUT PBYTE pbyOFDMBasicRate
PWORD pwTxDataRate,
PBYTE pbyACKRate,
PBYTE pbyCCKBasicRate,
PBYTE pbyOFDMBasicRate
);
/*
BOOL
VNTWIFIbInit(
void *pAdapterHandler,
OUT void **pMgmtHandler
void **pMgmtHandler
);
*/
......
......@@ -312,7 +312,7 @@ s_vMgrSynchBSS (
PSDevice pDevice,
UINT uBSSMode,
PKnownBSS pCurr,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
);
......@@ -320,8 +320,8 @@ static BOOL
s_bCipherMatch (
PKnownBSS pBSSNode,
NDIS_802_11_ENCRYPTION_STATUS EncStatus,
OUT PBYTE pbyCCSPK,
OUT PBYTE pbyCCSGK
PBYTE pbyCCSPK,
PBYTE pbyCCSGK
);
static void Encyption_Rebuild(
......@@ -464,7 +464,7 @@ void
vMgrAssocBeginSta(
void *hDeviceContext,
PSMgmtObject pMgmt,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
......@@ -540,7 +540,7 @@ void
vMgrReAssocBeginSta(
void *hDeviceContext,
PSMgmtObject pMgmt,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
......@@ -621,7 +621,7 @@ vMgrDisassocBeginSta(
PSMgmtObject pMgmt,
PBYTE abyDestAddress,
WORD wReason,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
......@@ -1154,7 +1154,7 @@ void
vMgrAuthenBeginSta(
void *hDeviceContext,
PSMgmtObject pMgmt,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
......@@ -1214,7 +1214,7 @@ vMgrDeAuthenBeginSta(
PSMgmtObject pMgmt,
PBYTE abyDestAddress,
WORD wReason,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
......@@ -2387,7 +2387,7 @@ if(ChannelExceedZoneType(pDevice,byCurrChannel)==TRUE)
void
vMgrCreateOwnIBSS(
void *hDeviceContext,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
......@@ -2654,7 +2654,7 @@ vMgrCreateOwnIBSS(
void
vMgrJoinBSSBegin(
void *hDeviceContext,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
)
{
......@@ -2925,7 +2925,7 @@ s_vMgrSynchBSS (
PSDevice pDevice,
UINT uBSSMode,
PKnownBSS pCurr,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
)
{
CARD_PHY_TYPE ePhyType = PHY_TYPE_11B;
......@@ -4885,8 +4885,8 @@ static BOOL
s_bCipherMatch (
PKnownBSS pBSSNode,
NDIS_802_11_ENCRYPTION_STATUS EncStatus,
OUT PBYTE pbyCCSPK,
OUT PBYTE pbyCCSGK
PBYTE pbyCCSPK,
PBYTE pbyCCSGK
)
{
BYTE byMulticastCipher = KEY_CTL_INVALID;
......
......@@ -418,14 +418,14 @@ void
vMgrAssocBeginSta(
void *hDeviceContext,
PSMgmtObject pMgmt,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
);
void
vMgrReAssocBeginSta(
void *hDeviceContext,
PSMgmtObject pMgmt,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
);
void
......@@ -434,26 +434,26 @@ vMgrDisassocBeginSta(
PSMgmtObject pMgmt,
PBYTE abyDestAddress,
WORD wReason,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
);
void
vMgrAuthenBeginSta(
void *hDeviceContext,
PSMgmtObject pMgmt,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
);
void
vMgrCreateOwnIBSS(
void *hDeviceContext,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
);
void
vMgrJoinBSSBegin(
void *hDeviceContext,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
);
void
......@@ -467,7 +467,7 @@ vMgrRxManagePacket(
void
vMgrScanBegin(
void *hDeviceContext,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
);
*/
......@@ -477,7 +477,7 @@ vMgrDeAuthenBeginSta(
PSMgmtObject pMgmt,
PBYTE abyDestAddress,
WORD wReason,
OUT PCMD_STATUS pStatus
PCMD_STATUS pStatus
);
BOOL
......
......@@ -264,7 +264,7 @@ WPA2vParseRSN (
UINT
WPA2uSetIEs(
void *pMgmtHandle,
OUT PWLAN_IE_RSN pRSNIEs
PWLAN_IE_RSN pRSNIEs
)
{
PSMgmtObject pMgmt = (PSMgmtObject) pMgmtHandle;
......
......@@ -72,7 +72,7 @@ WPA2vParseRSN (
UINT
WPA2uSetIEs(
void *pMgmtHandle,
OUT PWLAN_IE_RSN pRSNIEs
PWLAN_IE_RSN pRSNIEs
);
#endif // __WPA2_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