Commit 6b35b7b3 authored by Charles Clément's avatar Charles Clément Committed by Greg Kroah-Hartman

Staging: vt6655: remove VOID definition and use

Signed-off-by: default avatarCharles Clément <caratorn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 512abd00
...@@ -89,7 +89,7 @@ static int msglevel =MSG_LEVEL_INFO; ...@@ -89,7 +89,7 @@ static int msglevel =MSG_LEVEL_INFO;
* *
-*/ -*/
VOID void
vMgrEncodeBeacon( vMgrEncodeBeacon(
IN PWLAN_FR_BEACON pFrame IN PWLAN_FR_BEACON pFrame
) )
...@@ -121,7 +121,7 @@ vMgrEncodeBeacon( ...@@ -121,7 +121,7 @@ vMgrEncodeBeacon(
-*/ -*/
VOID void
vMgrDecodeBeacon( vMgrDecodeBeacon(
IN PWLAN_FR_BEACON pFrame IN PWLAN_FR_BEACON pFrame
) )
...@@ -242,7 +242,7 @@ vMgrDecodeBeacon( ...@@ -242,7 +242,7 @@ vMgrDecodeBeacon(
-*/ -*/
VOID void
vMgrEncodeIBSSATIM( vMgrEncodeIBSSATIM(
IN PWLAN_FR_IBSSATIM pFrame IN PWLAN_FR_IBSSATIM pFrame
) )
...@@ -265,7 +265,7 @@ vMgrEncodeIBSSATIM( ...@@ -265,7 +265,7 @@ vMgrEncodeIBSSATIM(
* *
-*/ -*/
VOID void
vMgrDecodeIBSSATIM( vMgrDecodeIBSSATIM(
IN PWLAN_FR_IBSSATIM pFrame IN PWLAN_FR_IBSSATIM pFrame
) )
...@@ -287,7 +287,7 @@ vMgrDecodeIBSSATIM( ...@@ -287,7 +287,7 @@ vMgrDecodeIBSSATIM(
* *
-*/ -*/
VOID void
vMgrEncodeDisassociation( vMgrEncodeDisassociation(
IN PWLAN_FR_DISASSOC pFrame IN PWLAN_FR_DISASSOC pFrame
) )
...@@ -315,7 +315,7 @@ vMgrEncodeDisassociation( ...@@ -315,7 +315,7 @@ vMgrEncodeDisassociation(
* *
-*/ -*/
VOID void
vMgrDecodeDisassociation( vMgrDecodeDisassociation(
IN PWLAN_FR_DISASSOC pFrame IN PWLAN_FR_DISASSOC pFrame
) )
...@@ -341,7 +341,7 @@ vMgrDecodeDisassociation( ...@@ -341,7 +341,7 @@ vMgrDecodeDisassociation(
-*/ -*/
VOID void
vMgrEncodeAssocRequest( vMgrEncodeAssocRequest(
IN PWLAN_FR_ASSOCREQ pFrame IN PWLAN_FR_ASSOCREQ pFrame
) )
...@@ -368,7 +368,7 @@ vMgrEncodeAssocRequest( ...@@ -368,7 +368,7 @@ vMgrEncodeAssocRequest(
* *
-*/ -*/
VOID void
vMgrDecodeAssocRequest( vMgrDecodeAssocRequest(
IN PWLAN_FR_ASSOCREQ pFrame IN PWLAN_FR_ASSOCREQ pFrame
) )
...@@ -434,7 +434,7 @@ vMgrDecodeAssocRequest( ...@@ -434,7 +434,7 @@ vMgrDecodeAssocRequest(
* *
-*/ -*/
VOID void
vMgrEncodeAssocResponse( vMgrEncodeAssocResponse(
IN PWLAN_FR_ASSOCRESP pFrame IN PWLAN_FR_ASSOCRESP pFrame
) )
...@@ -466,7 +466,7 @@ vMgrEncodeAssocResponse( ...@@ -466,7 +466,7 @@ vMgrEncodeAssocResponse(
* *
-*/ -*/
VOID void
vMgrDecodeAssocResponse( vMgrDecodeAssocResponse(
IN PWLAN_FR_ASSOCRESP pFrame IN PWLAN_FR_ASSOCRESP pFrame
) )
...@@ -512,7 +512,7 @@ vMgrDecodeAssocResponse( ...@@ -512,7 +512,7 @@ vMgrDecodeAssocResponse(
* *
-*/ -*/
VOID void
vMgrEncodeReassocRequest( vMgrEncodeReassocRequest(
IN PWLAN_FR_REASSOCREQ pFrame IN PWLAN_FR_REASSOCREQ pFrame
) )
...@@ -544,7 +544,7 @@ vMgrEncodeReassocRequest( ...@@ -544,7 +544,7 @@ vMgrEncodeReassocRequest(
-*/ -*/
VOID void
vMgrDecodeReassocRequest( vMgrDecodeReassocRequest(
IN PWLAN_FR_REASSOCREQ pFrame IN PWLAN_FR_REASSOCREQ pFrame
) )
...@@ -616,7 +616,7 @@ vMgrDecodeReassocRequest( ...@@ -616,7 +616,7 @@ vMgrDecodeReassocRequest(
-*/ -*/
VOID void
vMgrEncodeProbeRequest( vMgrEncodeProbeRequest(
IN PWLAN_FR_PROBEREQ pFrame IN PWLAN_FR_PROBEREQ pFrame
) )
...@@ -637,7 +637,7 @@ vMgrEncodeProbeRequest( ...@@ -637,7 +637,7 @@ vMgrEncodeProbeRequest(
* *
-*/ -*/
VOID void
vMgrDecodeProbeRequest( vMgrDecodeProbeRequest(
IN PWLAN_FR_PROBEREQ pFrame IN PWLAN_FR_PROBEREQ pFrame
) )
...@@ -690,7 +690,7 @@ vMgrDecodeProbeRequest( ...@@ -690,7 +690,7 @@ vMgrDecodeProbeRequest(
-*/ -*/
VOID void
vMgrEncodeProbeResponse( vMgrEncodeProbeResponse(
IN PWLAN_FR_PROBERESP pFrame IN PWLAN_FR_PROBERESP pFrame
) )
...@@ -724,7 +724,7 @@ vMgrEncodeProbeResponse( ...@@ -724,7 +724,7 @@ vMgrEncodeProbeResponse(
* *
-*/ -*/
VOID void
vMgrDecodeProbeResponse( vMgrDecodeProbeResponse(
IN PWLAN_FR_PROBERESP pFrame IN PWLAN_FR_PROBERESP pFrame
) )
...@@ -838,7 +838,7 @@ vMgrDecodeProbeResponse( ...@@ -838,7 +838,7 @@ vMgrDecodeProbeResponse(
* *
-*/ -*/
VOID void
vMgrEncodeAuthen( vMgrEncodeAuthen(
IN PWLAN_FR_AUTHEN pFrame IN PWLAN_FR_AUTHEN pFrame
) )
...@@ -869,7 +869,7 @@ vMgrEncodeAuthen( ...@@ -869,7 +869,7 @@ vMgrEncodeAuthen(
* *
-*/ -*/
VOID void
vMgrDecodeAuthen( vMgrDecodeAuthen(
IN PWLAN_FR_AUTHEN pFrame IN PWLAN_FR_AUTHEN pFrame
) )
...@@ -909,7 +909,7 @@ vMgrDecodeAuthen( ...@@ -909,7 +909,7 @@ vMgrDecodeAuthen(
* *
-*/ -*/
VOID void
vMgrEncodeDeauthen( vMgrEncodeDeauthen(
IN PWLAN_FR_DEAUTHEN pFrame IN PWLAN_FR_DEAUTHEN pFrame
) )
...@@ -936,7 +936,7 @@ vMgrEncodeDeauthen( ...@@ -936,7 +936,7 @@ vMgrEncodeDeauthen(
* *
-*/ -*/
VOID void
vMgrDecodeDeauthen( vMgrDecodeDeauthen(
IN PWLAN_FR_DEAUTHEN pFrame IN PWLAN_FR_DEAUTHEN pFrame
) )
...@@ -962,7 +962,7 @@ vMgrDecodeDeauthen( ...@@ -962,7 +962,7 @@ vMgrDecodeDeauthen(
* *
-*/ -*/
VOID void
vMgrEncodeReassocResponse( vMgrEncodeReassocResponse(
IN PWLAN_FR_REASSOCRESP pFrame IN PWLAN_FR_REASSOCRESP pFrame
) )
...@@ -995,7 +995,7 @@ vMgrEncodeReassocResponse( ...@@ -995,7 +995,7 @@ vMgrEncodeReassocResponse(
-*/ -*/
VOID void
vMgrDecodeReassocResponse( vMgrDecodeReassocResponse(
IN PWLAN_FR_REASSOCRESP pFrame IN PWLAN_FR_REASSOCRESP pFrame
) )
......
...@@ -714,112 +714,112 @@ typedef struct tagWLAN_FR_DEAUTHEN { ...@@ -714,112 +714,112 @@ typedef struct tagWLAN_FR_DEAUTHEN {
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
VOID void
vMgrEncodeBeacon( vMgrEncodeBeacon(
IN PWLAN_FR_BEACON pFrame IN PWLAN_FR_BEACON pFrame
); );
VOID void
vMgrDecodeBeacon( vMgrDecodeBeacon(
IN PWLAN_FR_BEACON pFrame IN PWLAN_FR_BEACON pFrame
); );
VOID void
vMgrEncodeIBSSATIM( vMgrEncodeIBSSATIM(
IN PWLAN_FR_IBSSATIM pFrame IN PWLAN_FR_IBSSATIM pFrame
); );
VOID void
vMgrDecodeIBSSATIM( vMgrDecodeIBSSATIM(
IN PWLAN_FR_IBSSATIM pFrame IN PWLAN_FR_IBSSATIM pFrame
); );
VOID void
vMgrEncodeDisassociation( vMgrEncodeDisassociation(
IN PWLAN_FR_DISASSOC pFrame IN PWLAN_FR_DISASSOC pFrame
); );
VOID void
vMgrDecodeDisassociation( vMgrDecodeDisassociation(
IN PWLAN_FR_DISASSOC pFrame IN PWLAN_FR_DISASSOC pFrame
); );
VOID void
vMgrEncodeAssocRequest( vMgrEncodeAssocRequest(
IN PWLAN_FR_ASSOCREQ pFrame IN PWLAN_FR_ASSOCREQ pFrame
); );
VOID void
vMgrDecodeAssocRequest( vMgrDecodeAssocRequest(
IN PWLAN_FR_ASSOCREQ pFrame IN PWLAN_FR_ASSOCREQ pFrame
); );
VOID void
vMgrEncodeAssocResponse( vMgrEncodeAssocResponse(
IN PWLAN_FR_ASSOCRESP pFrame IN PWLAN_FR_ASSOCRESP pFrame
); );
VOID void
vMgrDecodeAssocResponse( vMgrDecodeAssocResponse(
IN PWLAN_FR_ASSOCRESP pFrame IN PWLAN_FR_ASSOCRESP pFrame
); );
VOID void
vMgrEncodeReassocRequest( vMgrEncodeReassocRequest(
IN PWLAN_FR_REASSOCREQ pFrame IN PWLAN_FR_REASSOCREQ pFrame
); );
VOID void
vMgrDecodeReassocRequest( vMgrDecodeReassocRequest(
IN PWLAN_FR_REASSOCREQ pFrame IN PWLAN_FR_REASSOCREQ pFrame
); );
VOID void
vMgrEncodeProbeRequest( vMgrEncodeProbeRequest(
IN PWLAN_FR_PROBEREQ pFrame IN PWLAN_FR_PROBEREQ pFrame
); );
VOID void
vMgrDecodeProbeRequest( vMgrDecodeProbeRequest(
IN PWLAN_FR_PROBEREQ pFrame IN PWLAN_FR_PROBEREQ pFrame
); );
VOID void
vMgrEncodeProbeResponse( vMgrEncodeProbeResponse(
IN PWLAN_FR_PROBERESP pFrame IN PWLAN_FR_PROBERESP pFrame
); );
VOID void
vMgrDecodeProbeResponse( vMgrDecodeProbeResponse(
IN PWLAN_FR_PROBERESP pFrame IN PWLAN_FR_PROBERESP pFrame
); );
VOID void
vMgrEncodeAuthen( vMgrEncodeAuthen(
IN PWLAN_FR_AUTHEN pFrame IN PWLAN_FR_AUTHEN pFrame
); );
VOID void
vMgrDecodeAuthen( vMgrDecodeAuthen(
IN PWLAN_FR_AUTHEN pFrame IN PWLAN_FR_AUTHEN pFrame
); );
VOID void
vMgrEncodeDeauthen( vMgrEncodeDeauthen(
IN PWLAN_FR_DEAUTHEN pFrame IN PWLAN_FR_DEAUTHEN pFrame
); );
VOID void
vMgrDecodeDeauthen( vMgrDecodeDeauthen(
IN PWLAN_FR_DEAUTHEN pFrame IN PWLAN_FR_DEAUTHEN pFrame
); );
VOID void
vMgrEncodeReassocResponse( vMgrEncodeReassocResponse(
IN PWLAN_FR_REASSOCRESP pFrame IN PWLAN_FR_REASSOCRESP pFrame
); );
VOID void
vMgrDecodeReassocResponse( vMgrDecodeReassocResponse(
IN PWLAN_FR_REASSOCRESP pFrame IN PWLAN_FR_REASSOCRESP pFrame
); );
......
...@@ -1723,13 +1723,13 @@ ULONG ...@@ -1723,13 +1723,13 @@ ULONG
s_ulGetRatio(PSDevice pDevice); s_ulGetRatio(PSDevice pDevice);
static static
VOID void
s_vChangeAntenna( s_vChangeAntenna(
IN PSDevice pDevice IN PSDevice pDevice
); );
static static
VOID void
s_vChangeAntenna ( s_vChangeAntenna (
IN PSDevice pDevice IN PSDevice pDevice
) )
...@@ -1843,7 +1843,7 @@ BBuGetFrameTime ( ...@@ -1843,7 +1843,7 @@ BBuGetFrameTime (
* Return Value: none * Return Value: none
* *
*/ */
VOID void
BBvCaculateParameter ( BBvCaculateParameter (
IN PSDevice pDevice, IN PSDevice pDevice,
IN UINT cbFrameLength, IN UINT cbFrameLength,
...@@ -2321,7 +2321,7 @@ BOOL BBbVT3253Init (PSDevice pDevice) ...@@ -2321,7 +2321,7 @@ BOOL BBbVT3253Init (PSDevice pDevice)
* Return Value: none * Return Value: none
* *
*/ */
VOID BBvReadAllRegs (DWORD_PTR dwIoBase, PBYTE pbyBBRegs) void BBvReadAllRegs (DWORD_PTR dwIoBase, PBYTE pbyBBRegs)
{ {
int ii; int ii;
BYTE byBase = 1; BYTE byBase = 1;
...@@ -2438,7 +2438,7 @@ void BBvLoopbackOff (PSDevice pDevice) ...@@ -2438,7 +2438,7 @@ void BBvLoopbackOff (PSDevice pDevice)
* Return Value: none * Return Value: none
* *
*/ */
VOID void
BBvSetShortSlotTime (PSDevice pDevice) BBvSetShortSlotTime (PSDevice pDevice)
{ {
BYTE byBBRxConf=0; BYTE byBBRxConf=0;
...@@ -2462,7 +2462,7 @@ BBvSetShortSlotTime (PSDevice pDevice) ...@@ -2462,7 +2462,7 @@ BBvSetShortSlotTime (PSDevice pDevice)
} }
VOID BBvSetVGAGainOffset(PSDevice pDevice, BYTE byData) void BBvSetVGAGainOffset(PSDevice pDevice, BYTE byData)
{ {
BYTE byBBRxConf=0; BYTE byBBRxConf=0;
...@@ -2494,7 +2494,7 @@ VOID BBvSetVGAGainOffset(PSDevice pDevice, BYTE byData) ...@@ -2494,7 +2494,7 @@ VOID BBvSetVGAGainOffset(PSDevice pDevice, BYTE byData)
* Return Value: none * Return Value: none
* *
*/ */
VOID void
BBvSoftwareReset (DWORD_PTR dwIoBase) BBvSoftwareReset (DWORD_PTR dwIoBase)
{ {
BBbWriteEmbeded(dwIoBase, 0x50, 0x40); BBbWriteEmbeded(dwIoBase, 0x50, 0x40);
...@@ -2515,7 +2515,7 @@ BBvSoftwareReset (DWORD_PTR dwIoBase) ...@@ -2515,7 +2515,7 @@ BBvSoftwareReset (DWORD_PTR dwIoBase)
* Return Value: none * Return Value: none
* *
*/ */
VOID void
BBvPowerSaveModeON (DWORD_PTR dwIoBase) BBvPowerSaveModeON (DWORD_PTR dwIoBase)
{ {
BYTE byOrgData; BYTE byOrgData;
...@@ -2537,7 +2537,7 @@ BBvPowerSaveModeON (DWORD_PTR dwIoBase) ...@@ -2537,7 +2537,7 @@ BBvPowerSaveModeON (DWORD_PTR dwIoBase)
* Return Value: none * Return Value: none
* *
*/ */
VOID void
BBvPowerSaveModeOFF (DWORD_PTR dwIoBase) BBvPowerSaveModeOFF (DWORD_PTR dwIoBase)
{ {
BYTE byOrgData; BYTE byOrgData;
...@@ -2561,7 +2561,7 @@ BBvPowerSaveModeOFF (DWORD_PTR dwIoBase) ...@@ -2561,7 +2561,7 @@ BBvPowerSaveModeOFF (DWORD_PTR dwIoBase)
* *
*/ */
VOID void
BBvSetTxAntennaMode (DWORD_PTR dwIoBase, BYTE byAntennaMode) BBvSetTxAntennaMode (DWORD_PTR dwIoBase, BYTE byAntennaMode)
{ {
BYTE byBBTxConf; BYTE byBBTxConf;
...@@ -2603,7 +2603,7 @@ BBvSetTxAntennaMode (DWORD_PTR dwIoBase, BYTE byAntennaMode) ...@@ -2603,7 +2603,7 @@ BBvSetTxAntennaMode (DWORD_PTR dwIoBase, BYTE byAntennaMode)
* *
*/ */
VOID void
BBvSetRxAntennaMode (DWORD_PTR dwIoBase, BYTE byAntennaMode) BBvSetRxAntennaMode (DWORD_PTR dwIoBase, BYTE byAntennaMode)
{ {
BYTE byBBRxConf; BYTE byBBRxConf;
...@@ -2634,14 +2634,14 @@ BBvSetRxAntennaMode (DWORD_PTR dwIoBase, BYTE byAntennaMode) ...@@ -2634,14 +2634,14 @@ BBvSetRxAntennaMode (DWORD_PTR dwIoBase, BYTE byAntennaMode)
* Return Value: none * Return Value: none
* *
*/ */
VOID void
BBvSetDeepSleep (DWORD_PTR dwIoBase, BYTE byLocalID) BBvSetDeepSleep (DWORD_PTR dwIoBase, BYTE byLocalID)
{ {
BBbWriteEmbeded(dwIoBase, 0x0C, 0x17);//CR12 BBbWriteEmbeded(dwIoBase, 0x0C, 0x17);//CR12
BBbWriteEmbeded(dwIoBase, 0x0D, 0xB9);//CR13 BBbWriteEmbeded(dwIoBase, 0x0D, 0xB9);//CR13
} }
VOID void
BBvExitDeepSleep (DWORD_PTR dwIoBase, BYTE byLocalID) BBvExitDeepSleep (DWORD_PTR dwIoBase, BYTE byLocalID)
{ {
BBbWriteEmbeded(dwIoBase, 0x0C, 0x00);//CR12 BBbWriteEmbeded(dwIoBase, 0x0C, 0x00);//CR12
...@@ -2759,7 +2759,7 @@ ULONG ulPacketNum; ...@@ -2759,7 +2759,7 @@ ULONG ulPacketNum;
} }
VOID void
BBvClearAntDivSQ3Value (PSDevice pDevice) BBvClearAntDivSQ3Value (PSDevice pDevice)
{ {
UINT ii; UINT ii;
...@@ -2786,7 +2786,7 @@ BBvClearAntDivSQ3Value (PSDevice pDevice) ...@@ -2786,7 +2786,7 @@ BBvClearAntDivSQ3Value (PSDevice pDevice)
* *
*/ */
VOID void
BBvAntennaDiversity (PSDevice pDevice, BYTE byRxRate, BYTE bySQ3) BBvAntennaDiversity (PSDevice pDevice, BYTE byRxRate, BYTE bySQ3)
{ {
...@@ -2876,7 +2876,7 @@ BBvAntennaDiversity (PSDevice pDevice, BYTE byRxRate, BYTE bySQ3) ...@@ -2876,7 +2876,7 @@ BBvAntennaDiversity (PSDevice pDevice, BYTE byRxRate, BYTE bySQ3)
* *
-*/ -*/
VOID void
TimerSQ3CallBack ( TimerSQ3CallBack (
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
...@@ -2924,7 +2924,7 @@ TimerSQ3CallBack ( ...@@ -2924,7 +2924,7 @@ TimerSQ3CallBack (
* *
-*/ -*/
VOID void
TimerState1CallBack ( TimerState1CallBack (
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
......
...@@ -126,7 +126,7 @@ BBuGetFrameTime( ...@@ -126,7 +126,7 @@ BBuGetFrameTime(
IN WORD wRate IN WORD wRate
); );
VOID void
BBvCaculateParameter ( BBvCaculateParameter (
IN PSDevice pDevice, IN PSDevice pDevice,
IN UINT cbFrameLength, IN UINT cbFrameLength,
...@@ -140,38 +140,38 @@ BBvCaculateParameter ( ...@@ -140,38 +140,38 @@ BBvCaculateParameter (
BOOL BBbReadEmbeded(DWORD_PTR dwIoBase, BYTE byBBAddr, PBYTE pbyData); BOOL BBbReadEmbeded(DWORD_PTR dwIoBase, BYTE byBBAddr, PBYTE pbyData);
BOOL BBbWriteEmbeded(DWORD_PTR dwIoBase, BYTE byBBAddr, BYTE byData); BOOL BBbWriteEmbeded(DWORD_PTR dwIoBase, BYTE byBBAddr, BYTE byData);
VOID BBvReadAllRegs(DWORD_PTR dwIoBase, PBYTE pbyBBRegs); void BBvReadAllRegs(DWORD_PTR dwIoBase, PBYTE pbyBBRegs);
void BBvLoopbackOn(PSDevice pDevice); void BBvLoopbackOn(PSDevice pDevice);
void BBvLoopbackOff(PSDevice pDevice); void BBvLoopbackOff(PSDevice pDevice);
void BBvSetShortSlotTime(PSDevice pDevice); void BBvSetShortSlotTime(PSDevice pDevice);
BOOL BBbIsRegBitsOn(DWORD_PTR dwIoBase, BYTE byBBAddr, BYTE byTestBits); BOOL BBbIsRegBitsOn(DWORD_PTR dwIoBase, BYTE byBBAddr, BYTE byTestBits);
BOOL BBbIsRegBitsOff(DWORD_PTR dwIoBase, BYTE byBBAddr, BYTE byTestBits); BOOL BBbIsRegBitsOff(DWORD_PTR dwIoBase, BYTE byBBAddr, BYTE byTestBits);
VOID BBvSetVGAGainOffset(PSDevice pDevice, BYTE byData); void BBvSetVGAGainOffset(PSDevice pDevice, BYTE byData);
// VT3253 Baseband // VT3253 Baseband
BOOL BBbVT3253Init(PSDevice pDevice); BOOL BBbVT3253Init(PSDevice pDevice);
VOID BBvSoftwareReset(DWORD_PTR dwIoBase); void BBvSoftwareReset(DWORD_PTR dwIoBase);
VOID BBvPowerSaveModeON(DWORD_PTR dwIoBase); void BBvPowerSaveModeON(DWORD_PTR dwIoBase);
VOID BBvPowerSaveModeOFF(DWORD_PTR dwIoBase); void BBvPowerSaveModeOFF(DWORD_PTR dwIoBase);
VOID BBvSetTxAntennaMode(DWORD_PTR dwIoBase, BYTE byAntennaMode); void BBvSetTxAntennaMode(DWORD_PTR dwIoBase, BYTE byAntennaMode);
VOID BBvSetRxAntennaMode(DWORD_PTR dwIoBase, BYTE byAntennaMode); void BBvSetRxAntennaMode(DWORD_PTR dwIoBase, BYTE byAntennaMode);
VOID BBvSetDeepSleep(DWORD_PTR dwIoBase, BYTE byLocalID); void BBvSetDeepSleep(DWORD_PTR dwIoBase, BYTE byLocalID);
VOID BBvExitDeepSleep(DWORD_PTR dwIoBase, BYTE byLocalID); void BBvExitDeepSleep(DWORD_PTR dwIoBase, BYTE byLocalID);
// timer for antenna diversity // timer for antenna diversity
VOID void
TimerSQ3CallBack ( TimerSQ3CallBack (
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
VOID void
TimerState1CallBack( TimerState1CallBack(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
void BBvAntennaDiversity(PSDevice pDevice, BYTE byRxRate, BYTE bySQ3); void BBvAntennaDiversity(PSDevice pDevice, BYTE byRxRate, BYTE bySQ3);
VOID void
BBvClearAntDivSQ3Value (PSDevice pDevice); BBvClearAntDivSQ3Value (PSDevice pDevice);
#endif // __BASEBAND_H__ #endif // __BASEBAND_H__
...@@ -90,18 +90,18 @@ const WORD awHWRetry1[5][5] = { ...@@ -90,18 +90,18 @@ const WORD awHWRetry1[5][5] = {
/*--------------------- Static Functions --------------------------*/ /*--------------------- Static Functions --------------------------*/
VOID s_vCheckSensitivity( void s_vCheckSensitivity(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
#ifdef Calcu_LinkQual #ifdef Calcu_LinkQual
VOID s_uCalculateLinkQual( void s_uCalculateLinkQual(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
#endif #endif
VOID s_vCheckPreEDThreshold( void s_vCheckPreEDThreshold(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
/*--------------------- Export Variables --------------------------*/ /*--------------------- Export Variables --------------------------*/
...@@ -280,7 +280,7 @@ if(pDevice->bLinkPass==FALSE) pCurrBSS->bSelected = FALSE; ...@@ -280,7 +280,7 @@ if(pDevice->bLinkPass==FALSE) pCurrBSS->bSelected = FALSE;
-*/ -*/
VOID void
BSSvClearBSSList( BSSvClearBSSList(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN BOOL bKeepCurrBSSID IN BOOL bKeepCurrBSSID
...@@ -797,7 +797,7 @@ BSSDBbIsSTAInNodeDB( ...@@ -797,7 +797,7 @@ BSSDBbIsSTAInNodeDB(
* None * None
* *
-*/ -*/
VOID void
BSSvCreateOneNode( BSSvCreateOneNode(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
OUT PUINT puNodeIndex OUT PUINT puNodeIndex
...@@ -862,7 +862,7 @@ BSSvCreateOneNode( ...@@ -862,7 +862,7 @@ BSSvCreateOneNode(
* None * None
* *
-*/ -*/
VOID void
BSSvRemoveOneNode( BSSvRemoveOneNode(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN UINT uNodeIndex IN UINT uNodeIndex
...@@ -895,7 +895,7 @@ BSSvRemoveOneNode( ...@@ -895,7 +895,7 @@ BSSvRemoveOneNode(
* *
-*/ -*/
VOID void
BSSvUpdateAPNode( BSSvUpdateAPNode(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PWORD pwCapInfo, IN PWORD pwCapInfo,
...@@ -958,7 +958,7 @@ BSSvUpdateAPNode( ...@@ -958,7 +958,7 @@ BSSvUpdateAPNode(
-*/ -*/
VOID void
BSSvAddMulticastNode( BSSvAddMulticastNode(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
...@@ -1011,7 +1011,7 @@ BSSvAddMulticastNode( ...@@ -1011,7 +1011,7 @@ BSSvAddMulticastNode(
BOOL cc=FALSE; BOOL cc=FALSE;
UINT status; UINT status;
#endif #endif
VOID void
BSSvSecondCallBack( BSSvSecondCallBack(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
...@@ -1388,7 +1388,7 @@ CARDbRadioPowerOn(pDevice); ...@@ -1388,7 +1388,7 @@ CARDbRadioPowerOn(pDevice);
VOID void
BSSvUpdateNodeTxCounter( BSSvUpdateNodeTxCounter(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN BYTE byTsr0, IN BYTE byTsr0,
...@@ -1581,7 +1581,7 @@ BSSvUpdateNodeTxCounter( ...@@ -1581,7 +1581,7 @@ BSSvUpdateNodeTxCounter(
-*/ -*/
VOID void
BSSvClearNodeDBTable( BSSvClearNodeDBTable(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN UINT uStartIndex IN UINT uStartIndex
...@@ -1610,7 +1610,7 @@ BSSvClearNodeDBTable( ...@@ -1610,7 +1610,7 @@ BSSvClearNodeDBTable(
}; };
VOID s_vCheckSensitivity( void s_vCheckSensitivity(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
{ {
...@@ -1659,7 +1659,7 @@ VOID s_vCheckSensitivity( ...@@ -1659,7 +1659,7 @@ VOID s_vCheckSensitivity(
} }
VOID void
BSSvClearAnyBSSJoinRecord ( BSSvClearAnyBSSJoinRecord (
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
...@@ -1675,7 +1675,7 @@ BSSvClearAnyBSSJoinRecord ( ...@@ -1675,7 +1675,7 @@ BSSvClearAnyBSSJoinRecord (
} }
#ifdef Calcu_LinkQual #ifdef Calcu_LinkQual
VOID s_uCalculateLinkQual( void s_uCalculateLinkQual(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
{ {
...@@ -1723,7 +1723,7 @@ else ...@@ -1723,7 +1723,7 @@ else
} }
#endif #endif
VOID s_vCheckPreEDThreshold( void s_vCheckPreEDThreshold(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
{ {
......
...@@ -257,7 +257,7 @@ BSSpAddrIsInBSSList( ...@@ -257,7 +257,7 @@ BSSpAddrIsInBSSList(
IN PWLAN_IE_SSID pSSID IN PWLAN_IE_SSID pSSID
); );
VOID void
BSSvClearBSSList( BSSvClearBSSList(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN BOOL bKeepCurrBSSID IN BOOL bKeepCurrBSSID
...@@ -315,13 +315,13 @@ BSSDBbIsSTAInNodeDB( ...@@ -315,13 +315,13 @@ BSSDBbIsSTAInNodeDB(
OUT PUINT puNodeIndex OUT PUINT puNodeIndex
); );
VOID void
BSSvCreateOneNode( BSSvCreateOneNode(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
OUT PUINT puNodeIndex OUT PUINT puNodeIndex
); );
VOID void
BSSvUpdateAPNode( BSSvUpdateAPNode(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PWORD pwCapInfo, IN PWORD pwCapInfo,
...@@ -330,13 +330,13 @@ BSSvUpdateAPNode( ...@@ -330,13 +330,13 @@ BSSvUpdateAPNode(
); );
VOID void
BSSvSecondCallBack( BSSvSecondCallBack(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
VOID void
BSSvUpdateNodeTxCounter( BSSvUpdateNodeTxCounter(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN BYTE byTsr0, IN BYTE byTsr0,
...@@ -345,25 +345,25 @@ BSSvUpdateNodeTxCounter( ...@@ -345,25 +345,25 @@ BSSvUpdateNodeTxCounter(
IN UINT uFIFOHeaderSize IN UINT uFIFOHeaderSize
); );
VOID void
BSSvRemoveOneNode( BSSvRemoveOneNode(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN UINT uNodeIndex IN UINT uNodeIndex
); );
VOID void
BSSvAddMulticastNode( BSSvAddMulticastNode(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
VOID void
BSSvClearNodeDBTable( BSSvClearNodeDBTable(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN UINT uStartIndex IN UINT uStartIndex
); );
VOID void
BSSvClearAnyBSSJoinRecord( BSSvClearAnyBSSJoinRecord(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
......
...@@ -423,7 +423,7 @@ SCountryTable ChannelRuleTab[CCODE_MAX+1] = ...@@ -423,7 +423,7 @@ SCountryTable ChannelRuleTab[CCODE_MAX+1] =
/*--------------------- Static Functions --------------------------*/ /*--------------------- Static Functions --------------------------*/
static static
VOID void
s_vCaculateOFDMRParameter( s_vCaculateOFDMRParameter(
IN BYTE byRate, IN BYTE byRate,
IN CARD_PHY_TYPE ePHYType, IN CARD_PHY_TYPE ePHYType,
...@@ -496,7 +496,7 @@ ChannelValid(UINT CountryCode, UINT ChannelIndex) ...@@ -496,7 +496,7 @@ ChannelValid(UINT CountryCode, UINT ChannelIndex)
* *
*/ */
static static
VOID void
s_vCaculateOFDMRParameter ( s_vCaculateOFDMRParameter (
IN BYTE byRate, IN BYTE byRate,
IN CARD_PHY_TYPE ePHYType, IN CARD_PHY_TYPE ePHYType,
...@@ -611,7 +611,7 @@ s_vCaculateOFDMRParameter ( ...@@ -611,7 +611,7 @@ s_vCaculateOFDMRParameter (
* *
*/ */
static static
VOID void
s_vSetRSPINF (PSDevice pDevice, CARD_PHY_TYPE ePHYType, PVOID pvSupportRateIEs, PVOID pvExtSupportRateIEs) s_vSetRSPINF (PSDevice pDevice, CARD_PHY_TYPE ePHYType, PVOID pvSupportRateIEs, PVOID pvExtSupportRateIEs)
{ {
BYTE byServ = 0, bySignal = 0; // For CCK BYTE byServ = 0, bySignal = 0; // For CCK
...@@ -1611,7 +1611,7 @@ CARDpGetCurrentAddress ( ...@@ -1611,7 +1611,7 @@ CARDpGetCurrentAddress (
VOID CARDvInitChannelTable (PVOID pDeviceHandler) void CARDvInitChannelTable (PVOID pDeviceHandler)
{ {
PSDevice pDevice = (PSDevice) pDeviceHandler; PSDevice pDevice = (PSDevice) pDeviceHandler;
BOOL bMultiBand = FALSE; BOOL bMultiBand = FALSE;
...@@ -2033,7 +2033,7 @@ CARDbStartQuiet ( ...@@ -2033,7 +2033,7 @@ CARDbStartQuiet (
* Return Value: none. * Return Value: none.
* *
-*/ -*/
VOID void
CARDvSetCountryInfo ( CARDvSetCountryInfo (
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN CARD_PHY_TYPE ePHYType, IN CARD_PHY_TYPE ePHYType,
...@@ -2092,7 +2092,7 @@ CARDvSetCountryInfo ( ...@@ -2092,7 +2092,7 @@ CARDvSetCountryInfo (
* Return Value: none. * Return Value: none.
* *
-*/ -*/
VOID void
CARDvSetPowerConstraint ( CARDvSetPowerConstraint (
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN BYTE byChannel, IN BYTE byChannel,
...@@ -2127,7 +2127,7 @@ CARDvSetPowerConstraint ( ...@@ -2127,7 +2127,7 @@ CARDvSetPowerConstraint (
* Return Value: none. * Return Value: none.
* *
-*/ -*/
VOID void
CARDvGetPowerCapability ( CARDvGetPowerCapability (
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
OUT PBYTE pbyMinPower, OUT PBYTE pbyMinPower,
...@@ -2279,7 +2279,7 @@ CARDbChannelGetList ( ...@@ -2279,7 +2279,7 @@ CARDbChannelGetList (
} }
VOID void
CARDvSetCountryIE( CARDvSetCountryIE(
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN PVOID pIE IN PVOID pIE
...@@ -2324,7 +2324,7 @@ CARDbGetChannelMapInfo( ...@@ -2324,7 +2324,7 @@ CARDbGetChannelMapInfo(
} }
VOID void
CARDvSetChannelMapInfo( CARDvSetChannelMapInfo(
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN UINT uChannelIndex, IN UINT uChannelIndex,
...@@ -2340,7 +2340,7 @@ CARDvSetChannelMapInfo( ...@@ -2340,7 +2340,7 @@ CARDvSetChannelMapInfo(
} }
VOID void
CARDvClearChannelMapInfo( CARDvClearChannelMapInfo(
IN PVOID pDeviceHandler IN PVOID pDeviceHandler
) )
...@@ -2420,7 +2420,7 @@ CARDbyAutoChannelSelect( ...@@ -2420,7 +2420,7 @@ CARDbyAutoChannelSelect(
//xxx //xxx
VOID void
CARDvSafeResetTx ( CARDvSafeResetTx (
IN PVOID pDeviceHandler IN PVOID pDeviceHandler
) )
...@@ -2476,7 +2476,7 @@ CARDvSafeResetTx ( ...@@ -2476,7 +2476,7 @@ CARDvSafeResetTx (
* Return Value: none * Return Value: none
* *
-*/ -*/
VOID void
CARDvSafeResetRx ( CARDvSafeResetRx (
IN PVOID pDeviceHandler IN PVOID pDeviceHandler
) )
......
...@@ -101,8 +101,8 @@ QWORD CARDqGetNextTBTT(QWORD qwTSF, WORD wBeaconInterval); ...@@ -101,8 +101,8 @@ QWORD CARDqGetNextTBTT(QWORD qwTSF, WORD wBeaconInterval);
QWORD CARDqGetTSFOffset(BYTE byRxRate, QWORD qwTSF1, QWORD qwTSF2); QWORD CARDqGetTSFOffset(BYTE byRxRate, QWORD qwTSF1, QWORD qwTSF2);
BOOL CARDbSetTxPower(PVOID pDeviceHandler, ULONG ulTxPower); BOOL CARDbSetTxPower(PVOID pDeviceHandler, ULONG ulTxPower);
BYTE CARDbyGetPktType(PVOID pDeviceHandler); BYTE CARDbyGetPktType(PVOID pDeviceHandler);
VOID CARDvSafeResetTx(PVOID pDeviceHandler); void CARDvSafeResetTx(PVOID pDeviceHandler);
VOID CARDvSafeResetRx(PVOID pDeviceHandler); void CARDvSafeResetRx(PVOID pDeviceHandler);
//xxx //xxx
BOOL CARDbRadioPowerOff(PVOID pDeviceHandler); BOOL CARDbRadioPowerOff(PVOID pDeviceHandler);
...@@ -145,7 +145,7 @@ CARDpGetCurrentAddress ( ...@@ -145,7 +145,7 @@ CARDpGetCurrentAddress (
); );
VOID CARDvInitChannelTable(PVOID pDeviceHandler); void CARDvInitChannelTable(PVOID pDeviceHandler);
BYTE CARDbyGetChannelMapping(PVOID pDeviceHandler, BYTE byChannelNumber, CARD_PHY_TYPE ePhyType); BYTE CARDbyGetChannelMapping(PVOID pDeviceHandler, BYTE byChannelNumber, CARD_PHY_TYPE ePhyType);
BOOL BOOL
...@@ -178,21 +178,21 @@ CARDbStartQuiet ( ...@@ -178,21 +178,21 @@ CARDbStartQuiet (
IN PVOID pDeviceHandler IN PVOID pDeviceHandler
); );
VOID void
CARDvSetCountryInfo ( CARDvSetCountryInfo (
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN CARD_PHY_TYPE ePHYType, IN CARD_PHY_TYPE ePHYType,
IN PVOID pIE IN PVOID pIE
); );
VOID void
CARDvSetPowerConstraint ( CARDvSetPowerConstraint (
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN BYTE byChannel, IN BYTE byChannel,
IN I8 byPower IN I8 byPower
); );
VOID void
CARDvGetPowerCapability ( CARDvGetPowerCapability (
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
OUT PBYTE pbyMinPower, OUT PBYTE pbyMinPower,
...@@ -216,7 +216,7 @@ CARDbChannelGetList ( ...@@ -216,7 +216,7 @@ CARDbChannelGetList (
OUT PBYTE pbyChannelTable OUT PBYTE pbyChannelTable
); );
VOID void
CARDvSetCountryIE( CARDvSetCountryIE(
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN PVOID pIE IN PVOID pIE
...@@ -230,14 +230,14 @@ CARDbGetChannelMapInfo( ...@@ -230,14 +230,14 @@ CARDbGetChannelMapInfo(
OUT PBYTE pbyMap OUT PBYTE pbyMap
); );
VOID void
CARDvSetChannelMapInfo( CARDvSetChannelMapInfo(
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN UINT uChannelIndex, IN UINT uChannelIndex,
IN BYTE byMap IN BYTE byMap
); );
VOID void
CARDvClearChannelMapInfo( CARDvClearChannelMapInfo(
IN PVOID pDeviceHandler IN PVOID pDeviceHandler
); );
......
...@@ -64,13 +64,13 @@ const BYTE acbyIERate[MAX_RATE] = ...@@ -64,13 +64,13 @@ const BYTE acbyIERate[MAX_RATE] =
/*--------------------- Static Functions --------------------------*/ /*--------------------- Static Functions --------------------------*/
VOID s_vResetCounter ( void s_vResetCounter (
IN PKnownNodeDB psNodeDBTable IN PKnownNodeDB psNodeDBTable
); );
VOID void
s_vResetCounter ( s_vResetCounter (
IN PKnownNodeDB psNodeDBTable IN PKnownNodeDB psNodeDBTable
) )
...@@ -194,7 +194,7 @@ wGetRateIdx( ...@@ -194,7 +194,7 @@ wGetRateIdx(
* Return Value: none * Return Value: none
* *
-*/ -*/
VOID void
RATEvParseMaxRate ( RATEvParseMaxRate (
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN PWLAN_IE_SUPP_RATES pItemRates, IN PWLAN_IE_SUPP_RATES pItemRates,
...@@ -307,7 +307,7 @@ UINT uRateLen; ...@@ -307,7 +307,7 @@ UINT uRateLen;
#define AUTORATE_TXCNT_THRESHOLD 20 #define AUTORATE_TXCNT_THRESHOLD 20
#define AUTORATE_INC_THRESHOLD 30 #define AUTORATE_INC_THRESHOLD 30
VOID void
RATEvTxRateFallBack ( RATEvTxRateFallBack (
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN PKnownNodeDB psNodeDBTable IN PKnownNodeDB psNodeDBTable
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
VOID void
RATEvParseMaxRate( RATEvParseMaxRate(
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN PWLAN_IE_SUPP_RATES pItemRates, IN PWLAN_IE_SUPP_RATES pItemRates,
...@@ -67,7 +67,7 @@ RATEvParseMaxRate( ...@@ -67,7 +67,7 @@ RATEvParseMaxRate(
OUT PBYTE pbyTopOFDMRate OUT PBYTE pbyTopOFDMRate
); );
VOID void
RATEvTxRateFallBack( RATEvTxRateFallBack(
IN PVOID pDeviceHandler, IN PVOID pDeviceHandler,
IN PKnownNodeDB psNodeDBTable IN PKnownNodeDB psNodeDBTable
......
...@@ -828,7 +828,7 @@ typedef struct __device_info { ...@@ -828,7 +828,7 @@ typedef struct __device_info {
//PLICE_DEBUG-> //PLICE_DEBUG->
inline static VOID EnQueue (PSDevice pDevice,PSRxMgmtPacket pRxMgmtPacket) inline static void EnQueue (PSDevice pDevice,PSRxMgmtPacket pRxMgmtPacket)
{ {
//printk("Enter EnQueue:tail is %d\n",pDevice->rxManeQueue.tail); //printk("Enter EnQueue:tail is %d\n",pDevice->rxManeQueue.tail);
if ((pDevice->rxManeQueue.tail+1) % NUM == pDevice->rxManeQueue.head) if ((pDevice->rxManeQueue.tail+1) % NUM == pDevice->rxManeQueue.head)
...@@ -869,7 +869,7 @@ typedef struct __device_info { ...@@ -869,7 +869,7 @@ typedef struct __device_info {
} }
} }
VOID InitRxManagementQueue(PSDevice pDevice); void InitRxManagementQueue(PSDevice pDevice);
......
...@@ -478,7 +478,7 @@ pDevice->bUpdateBBVGA = TRUE; ...@@ -478,7 +478,7 @@ pDevice->bUpdateBBVGA = TRUE;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" pDevice->bDiversityRegCtlON= %d\n",(INT)pDevice->bDiversityRegCtlON); DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" pDevice->bDiversityRegCtlON= %d\n",(INT)pDevice->bDiversityRegCtlON);
} }
static VOID s_vCompleteCurrentMeasure (IN PSDevice pDevice, IN BYTE byResult) static void s_vCompleteCurrentMeasure (IN PSDevice pDevice, IN BYTE byResult)
{ {
UINT ii; UINT ii;
DWORD dwDuration = 0; DWORD dwDuration = 0;
...@@ -847,7 +847,7 @@ else CARDbRadioPowerOn(pDevice); ...@@ -847,7 +847,7 @@ else CARDbRadioPowerOn(pDevice);
static VOID device_init_diversity_timer(PSDevice pDevice) { static void device_init_diversity_timer(PSDevice pDevice) {
init_timer(&pDevice->TimerSQ3Tmax1); init_timer(&pDevice->TimerSQ3Tmax1);
pDevice->TimerSQ3Tmax1.data = (ULONG)pDevice; pDevice->TimerSQ3Tmax1.data = (ULONG)pDevice;
...@@ -1830,7 +1830,7 @@ static void device_free_tx_buf(PSDevice pDevice, PSTxDesc pDesc) { ...@@ -1830,7 +1830,7 @@ static void device_free_tx_buf(PSDevice pDevice, PSTxDesc pDesc) {
//PLICE_DEBUG -> //PLICE_DEBUG ->
VOID InitRxManagementQueue(PSDevice pDevice) void InitRxManagementQueue(PSDevice pDevice)
{ {
pDevice->rxManeQueue.packet_num = 0; pDevice->rxManeQueue.packet_num = 0;
pDevice->rxManeQueue.head = pDevice->rxManeQueue.tail = 0; pDevice->rxManeQueue.head = pDevice->rxManeQueue.tail = 0;
......
...@@ -80,7 +80,7 @@ static BYTE s_byGetRateIdx(IN BYTE byRate); ...@@ -80,7 +80,7 @@ static BYTE s_byGetRateIdx(IN BYTE byRate);
static static
VOID void
s_vGetDASA( s_vGetDASA(
IN PBYTE pbyRxBufferAddr, IN PBYTE pbyRxBufferAddr,
OUT PUINT pcbHeaderSize, OUT PUINT pcbHeaderSize,
...@@ -88,7 +88,7 @@ s_vGetDASA( ...@@ -88,7 +88,7 @@ s_vGetDASA(
); );
static static
VOID void
s_vProcessRxMACHeader ( s_vProcessRxMACHeader (
IN PSDevice pDevice, IN PSDevice pDevice,
IN PBYTE pbyRxBufferAddr, IN PBYTE pbyRxBufferAddr,
...@@ -163,7 +163,7 @@ static BOOL s_bHostWepRxEncryption( ...@@ -163,7 +163,7 @@ static BOOL s_bHostWepRxEncryption(
* *
-*/ -*/
static static
VOID void
s_vProcessRxMACHeader ( s_vProcessRxMACHeader (
IN PSDevice pDevice, IN PSDevice pDevice,
IN PBYTE pbyRxBufferAddr, IN PBYTE pbyRxBufferAddr,
...@@ -262,7 +262,7 @@ static BYTE s_byGetRateIdx (IN BYTE byRate) ...@@ -262,7 +262,7 @@ static BYTE s_byGetRateIdx (IN BYTE byRate)
static static
VOID void
s_vGetDASA ( s_vGetDASA (
IN PBYTE pbyRxBufferAddr, IN PBYTE pbyRxBufferAddr,
OUT PUINT pcbHeaderSize, OUT PUINT pcbHeaderSize,
...@@ -314,7 +314,7 @@ s_vGetDASA ( ...@@ -314,7 +314,7 @@ s_vGetDASA (
//PLICE_DEBUG -> //PLICE_DEBUG ->
VOID MngWorkItem(PVOID Context) void MngWorkItem(PVOID Context)
{ {
PSRxMgmtPacket pRxMgmtPacket; PSRxMgmtPacket pRxMgmtPacket;
PSDevice pDevice = (PSDevice) Context; PSDevice pDevice = (PSDevice) Context;
......
...@@ -47,7 +47,7 @@ device_receive_frame ( ...@@ -47,7 +47,7 @@ device_receive_frame (
IN PSRxDesc pCurrRD IN PSRxDesc pCurrRD
); );
VOID MngWorkItem(PVOID Context); void MngWorkItem(PVOID Context);
#endif // __RXTX_H__ #endif // __RXTX_H__
......
...@@ -714,7 +714,7 @@ if(wpa_Result.authenticated==TRUE) { ...@@ -714,7 +714,7 @@ if(wpa_Result.authenticated==TRUE) {
} }
/* /*
VOID void
vConfigWEPKey ( vConfigWEPKey (
IN PSDevice pDevice, IN PSDevice pDevice,
IN DWORD dwKeyIndex, IN DWORD dwKeyIndex,
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
int private_ioctl(PSDevice pDevice, struct ifreq *rq); int private_ioctl(PSDevice pDevice, struct ifreq *rq);
/* /*
VOID vConfigWEPKey ( void vConfigWEPKey (
IN PSDevice pDevice, IN PSDevice pDevice,
IN DWORD dwKeyIndex, IN DWORD dwKeyIndex,
IN PBYTE pbyKey, IN PBYTE pbyKey,
......
...@@ -58,7 +58,7 @@ static int msglevel =MSG_LEVEL_INFO; ...@@ -58,7 +58,7 @@ static int msglevel =MSG_LEVEL_INFO;
/*--------------------- Static Variables --------------------------*/ /*--------------------- Static Variables --------------------------*/
/*--------------------- Static Functions --------------------------*/ /*--------------------- Static Functions --------------------------*/
static VOID static void
s_vCheckKeyTableValid (PSKeyManagement pTable, DWORD_PTR dwIoBase) s_vCheckKeyTableValid (PSKeyManagement pTable, DWORD_PTR dwIoBase)
{ {
int i; int i;
...@@ -96,7 +96,7 @@ s_vCheckKeyTableValid (PSKeyManagement pTable, DWORD_PTR dwIoBase) ...@@ -96,7 +96,7 @@ s_vCheckKeyTableValid (PSKeyManagement pTable, DWORD_PTR dwIoBase)
* Return Value: none * Return Value: none
* *
*/ */
VOID KeyvInitTable (PSKeyManagement pTable, DWORD_PTR dwIoBase) void KeyvInitTable (PSKeyManagement pTable, DWORD_PTR dwIoBase)
{ {
int i; int i;
int jj; int jj;
...@@ -470,7 +470,7 @@ BOOL KeybRemoveAllKey ( ...@@ -470,7 +470,7 @@ BOOL KeybRemoveAllKey (
* Return Value: TRUE if success otherwise FALSE * Return Value: TRUE if success otherwise FALSE
* *
*/ */
VOID KeyvRemoveWEPKey ( void KeyvRemoveWEPKey (
PSKeyManagement pTable, PSKeyManagement pTable,
DWORD dwKeyIndex, DWORD dwKeyIndex,
DWORD_PTR dwIoBase DWORD_PTR dwIoBase
...@@ -492,7 +492,7 @@ VOID KeyvRemoveWEPKey ( ...@@ -492,7 +492,7 @@ VOID KeyvRemoveWEPKey (
return; return;
} }
VOID KeyvRemoveAllWEPKey ( void KeyvRemoveAllWEPKey (
PSKeyManagement pTable, PSKeyManagement pTable,
DWORD_PTR dwIoBase DWORD_PTR dwIoBase
) )
......
...@@ -101,7 +101,7 @@ typedef struct tagSKeyManagement ...@@ -101,7 +101,7 @@ typedef struct tagSKeyManagement
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
VOID KeyvInitTable(PSKeyManagement pTable, DWORD_PTR dwIoBase); void KeyvInitTable(PSKeyManagement pTable, DWORD_PTR dwIoBase);
BOOL KeybGetKey( BOOL KeybGetKey(
IN PSKeyManagement pTable, IN PSKeyManagement pTable,
...@@ -158,13 +158,13 @@ BOOL KeybRemoveAllKey( ...@@ -158,13 +158,13 @@ BOOL KeybRemoveAllKey(
DWORD_PTR dwIoBase DWORD_PTR dwIoBase
); );
VOID KeyvRemoveWEPKey( void KeyvRemoveWEPKey(
PSKeyManagement pTable, PSKeyManagement pTable,
DWORD dwKeyIndex, DWORD dwKeyIndex,
DWORD_PTR dwIoBase DWORD_PTR dwIoBase
); );
VOID KeyvRemoveAllWEPKey( void KeyvRemoveAllWEPKey(
PSKeyManagement pTable, PSKeyManagement pTable,
DWORD_PTR dwIoBase DWORD_PTR dwIoBase
); );
......
...@@ -103,7 +103,7 @@ static int msglevel =MSG_LEVEL_INFO; ...@@ -103,7 +103,7 @@ static int msglevel =MSG_LEVEL_INFO;
* Return Value: none * Return Value: none
* *
*/ */
VOID MACvReadAllRegs (DWORD_PTR dwIoBase, PBYTE pbyMacRegs) void MACvReadAllRegs (DWORD_PTR dwIoBase, PBYTE pbyMacRegs)
{ {
int ii; int ii;
...@@ -234,7 +234,7 @@ BYTE MACbyReadMultiAddr (DWORD_PTR dwIoBase, UINT uByteIdx) ...@@ -234,7 +234,7 @@ BYTE MACbyReadMultiAddr (DWORD_PTR dwIoBase, UINT uByteIdx)
* Return Value: none * Return Value: none
* *
*/ */
VOID MACvWriteMultiAddr (DWORD_PTR dwIoBase, UINT uByteIdx, BYTE byData) void MACvWriteMultiAddr (DWORD_PTR dwIoBase, UINT uByteIdx, BYTE byData)
{ {
MACvSelectPage1(dwIoBase); MACvSelectPage1(dwIoBase);
VNSvOutPortB(dwIoBase + MAC_REG_MAR0 + uByteIdx, byData); VNSvOutPortB(dwIoBase + MAC_REG_MAR0 + uByteIdx, byData);
...@@ -676,7 +676,7 @@ void MACvSaveContext (DWORD_PTR dwIoBase, PBYTE pbyCxtBuf) ...@@ -676,7 +676,7 @@ void MACvSaveContext (DWORD_PTR dwIoBase, PBYTE pbyCxtBuf)
* Return Value: none * Return Value: none
* *
*/ */
VOID MACvRestoreContext (DWORD_PTR dwIoBase, PBYTE pbyCxtBuf) void MACvRestoreContext (DWORD_PTR dwIoBase, PBYTE pbyCxtBuf)
{ {
int ii; int ii;
...@@ -1244,7 +1244,7 @@ void MACvSetCurrTXDescAddr (int iTxType, DWORD_PTR dwIoBase, DWORD dwCurrDescAdd ...@@ -1244,7 +1244,7 @@ void MACvSetCurrTXDescAddr (int iTxType, DWORD_PTR dwIoBase, DWORD dwCurrDescAdd
* Return Value: none * Return Value: none
* *
*/ */
VOID MACvTimer0MicroSDelay (DWORD_PTR dwIoBase, UINT uDelay) void MACvTimer0MicroSDelay (DWORD_PTR dwIoBase, UINT uDelay)
{ {
BYTE byValue; BYTE byValue;
UINT uu,ii; UINT uu,ii;
......
...@@ -1075,7 +1075,7 @@ ...@@ -1075,7 +1075,7 @@
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
extern WORD TxRate_iwconfig;//2008-5-8 <add> by chester extern WORD TxRate_iwconfig;//2008-5-8 <add> by chester
VOID MACvReadAllRegs(DWORD_PTR dwIoBase, PBYTE pbyMacRegs); void MACvReadAllRegs(DWORD_PTR dwIoBase, PBYTE pbyMacRegs);
BOOL MACbIsRegBitsOn(DWORD_PTR dwIoBase, BYTE byRegOfs, BYTE byTestBits); BOOL MACbIsRegBitsOn(DWORD_PTR dwIoBase, BYTE byRegOfs, BYTE byTestBits);
BOOL MACbIsRegBitsOff(DWORD_PTR dwIoBase, BYTE byRegOfs, BYTE byTestBits); BOOL MACbIsRegBitsOff(DWORD_PTR dwIoBase, BYTE byRegOfs, BYTE byTestBits);
...@@ -1083,32 +1083,32 @@ BOOL MACbIsRegBitsOff(DWORD_PTR dwIoBase, BYTE byRegOfs, BYTE byTestBits); ...@@ -1083,32 +1083,32 @@ BOOL MACbIsRegBitsOff(DWORD_PTR dwIoBase, BYTE byRegOfs, BYTE byTestBits);
BOOL MACbIsIntDisable(DWORD_PTR dwIoBase); BOOL MACbIsIntDisable(DWORD_PTR dwIoBase);
BYTE MACbyReadMultiAddr(DWORD_PTR dwIoBase, UINT uByteIdx); BYTE MACbyReadMultiAddr(DWORD_PTR dwIoBase, UINT uByteIdx);
VOID MACvWriteMultiAddr(DWORD_PTR dwIoBase, UINT uByteIdx, BYTE byData); void MACvWriteMultiAddr(DWORD_PTR dwIoBase, UINT uByteIdx, BYTE byData);
VOID MACvSetMultiAddrByHash(DWORD_PTR dwIoBase, BYTE byHashIdx); void MACvSetMultiAddrByHash(DWORD_PTR dwIoBase, BYTE byHashIdx);
VOID MACvResetMultiAddrByHash(DWORD_PTR dwIoBase, BYTE byHashIdx); void MACvResetMultiAddrByHash(DWORD_PTR dwIoBase, BYTE byHashIdx);
VOID MACvSetRxThreshold(DWORD_PTR dwIoBase, BYTE byThreshold); void MACvSetRxThreshold(DWORD_PTR dwIoBase, BYTE byThreshold);
VOID MACvGetRxThreshold(DWORD_PTR dwIoBase, PBYTE pbyThreshold); void MACvGetRxThreshold(DWORD_PTR dwIoBase, PBYTE pbyThreshold);
VOID MACvSetTxThreshold(DWORD_PTR dwIoBase, BYTE byThreshold); void MACvSetTxThreshold(DWORD_PTR dwIoBase, BYTE byThreshold);
VOID MACvGetTxThreshold(DWORD_PTR dwIoBase, PBYTE pbyThreshold); void MACvGetTxThreshold(DWORD_PTR dwIoBase, PBYTE pbyThreshold);
VOID MACvSetDmaLength(DWORD_PTR dwIoBase, BYTE byDmaLength); void MACvSetDmaLength(DWORD_PTR dwIoBase, BYTE byDmaLength);
VOID MACvGetDmaLength(DWORD_PTR dwIoBase, PBYTE pbyDmaLength); void MACvGetDmaLength(DWORD_PTR dwIoBase, PBYTE pbyDmaLength);
VOID MACvSetShortRetryLimit(DWORD_PTR dwIoBase, BYTE byRetryLimit); void MACvSetShortRetryLimit(DWORD_PTR dwIoBase, BYTE byRetryLimit);
VOID MACvGetShortRetryLimit(DWORD_PTR dwIoBase, PBYTE pbyRetryLimit); void MACvGetShortRetryLimit(DWORD_PTR dwIoBase, PBYTE pbyRetryLimit);
VOID MACvSetLongRetryLimit(DWORD_PTR dwIoBase, BYTE byRetryLimit); void MACvSetLongRetryLimit(DWORD_PTR dwIoBase, BYTE byRetryLimit);
VOID MACvGetLongRetryLimit(DWORD_PTR dwIoBase, PBYTE pbyRetryLimit); void MACvGetLongRetryLimit(DWORD_PTR dwIoBase, PBYTE pbyRetryLimit);
VOID MACvSetLoopbackMode(DWORD_PTR dwIoBase, BYTE byLoopbackMode); void MACvSetLoopbackMode(DWORD_PTR dwIoBase, BYTE byLoopbackMode);
BOOL MACbIsInLoopbackMode(DWORD_PTR dwIoBase); BOOL MACbIsInLoopbackMode(DWORD_PTR dwIoBase);
VOID MACvSetPacketFilter(DWORD_PTR dwIoBase, WORD wFilterType); void MACvSetPacketFilter(DWORD_PTR dwIoBase, WORD wFilterType);
VOID MACvSaveContext(DWORD_PTR dwIoBase, PBYTE pbyCxtBuf); void MACvSaveContext(DWORD_PTR dwIoBase, PBYTE pbyCxtBuf);
VOID MACvRestoreContext(DWORD_PTR dwIoBase, PBYTE pbyCxtBuf); void MACvRestoreContext(DWORD_PTR dwIoBase, PBYTE pbyCxtBuf);
BOOL MACbCompareContext(DWORD_PTR dwIoBase, PBYTE pbyCxtBuf); BOOL MACbCompareContext(DWORD_PTR dwIoBase, PBYTE pbyCxtBuf);
BOOL MACbSoftwareReset(DWORD_PTR dwIoBase); BOOL MACbSoftwareReset(DWORD_PTR dwIoBase);
...@@ -1117,14 +1117,14 @@ BOOL MACbSafeRxOff(DWORD_PTR dwIoBase); ...@@ -1117,14 +1117,14 @@ BOOL MACbSafeRxOff(DWORD_PTR dwIoBase);
BOOL MACbSafeTxOff(DWORD_PTR dwIoBase); BOOL MACbSafeTxOff(DWORD_PTR dwIoBase);
BOOL MACbSafeStop(DWORD_PTR dwIoBase); BOOL MACbSafeStop(DWORD_PTR dwIoBase);
BOOL MACbShutdown(DWORD_PTR dwIoBase); BOOL MACbShutdown(DWORD_PTR dwIoBase);
VOID MACvInitialize(DWORD_PTR dwIoBase); void MACvInitialize(DWORD_PTR dwIoBase);
VOID MACvSetCurrRx0DescAddr(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr); void MACvSetCurrRx0DescAddr(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr);
VOID MACvSetCurrRx1DescAddr(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr); void MACvSetCurrRx1DescAddr(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr);
VOID MACvSetCurrTXDescAddr(int iTxType, DWORD_PTR dwIoBase, DWORD dwCurrDescAddr); void MACvSetCurrTXDescAddr(int iTxType, DWORD_PTR dwIoBase, DWORD dwCurrDescAddr);
VOID MACvSetCurrTx0DescAddrEx(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr); void MACvSetCurrTx0DescAddrEx(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr);
VOID MACvSetCurrAC0DescAddrEx(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr); void MACvSetCurrAC0DescAddrEx(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr);
VOID MACvSetCurrSyncDescAddrEx(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr); void MACvSetCurrSyncDescAddrEx(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr);
VOID MACvSetCurrATIMDescAddrEx(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr); void MACvSetCurrATIMDescAddrEx(DWORD_PTR dwIoBase, DWORD dwCurrDescAddr);
void MACvTimer0MicroSDelay(DWORD_PTR dwIoBase, UINT uDelay); void MACvTimer0MicroSDelay(DWORD_PTR dwIoBase, UINT uDelay);
void MACvOneShotTimer0MicroSec(DWORD_PTR dwIoBase, UINT uDelayTime); void MACvOneShotTimer0MicroSec(DWORD_PTR dwIoBase, UINT uDelayTime);
void MACvOneShotTimer1MicroSec(DWORD_PTR dwIoBase, UINT uDelayTime); void MACvOneShotTimer1MicroSec(DWORD_PTR dwIoBase, UINT uDelayTime);
......
...@@ -49,12 +49,12 @@ ...@@ -49,12 +49,12 @@
/*--------------------- Static Functions --------------------------*/ /*--------------------- Static Functions --------------------------*/
/* /*
static DWORD s_dwGetUINT32(BYTE * p); // Get DWORD from 4 bytes LSByte first static DWORD s_dwGetUINT32(BYTE * p); // Get DWORD from 4 bytes LSByte first
static VOID s_vPutUINT32(BYTE* p, DWORD val); // Put DWORD into 4 bytes LSByte first static void s_vPutUINT32(BYTE* p, DWORD val); // Put DWORD into 4 bytes LSByte first
*/ */
static VOID s_vClear(void); // Clear the internal message, static void s_vClear(void); // Clear the internal message,
// resets the object to the state just after construction. // resets the object to the state just after construction.
static VOID s_vSetKey(DWORD dwK0, DWORD dwK1); static void s_vSetKey(DWORD dwK0, DWORD dwK1);
static VOID s_vAppendByte(BYTE b); // Add a single byte to the internal message static void s_vAppendByte(BYTE b); // Add a single byte to the internal message
/*--------------------- Export Variables --------------------------*/ /*--------------------- Export Variables --------------------------*/
static DWORD L, R; // Current state static DWORD L, R; // Current state
...@@ -78,7 +78,7 @@ static DWORD s_dwGetUINT32 (BYTE * p) ...@@ -78,7 +78,7 @@ static DWORD s_dwGetUINT32 (BYTE * p)
return res; return res;
} }
static VOID s_vPutUINT32 (BYTE* p, DWORD val) static void s_vPutUINT32 (BYTE* p, DWORD val)
// Convert from DWORD to BYTE[] in a portable way // Convert from DWORD to BYTE[] in a portable way
{ {
UINT i; UINT i;
...@@ -90,7 +90,7 @@ static VOID s_vPutUINT32 (BYTE* p, DWORD val) ...@@ -90,7 +90,7 @@ static VOID s_vPutUINT32 (BYTE* p, DWORD val)
} }
*/ */
static VOID s_vClear (void) static void s_vClear (void)
{ {
// Reset the state to the empty message. // Reset the state to the empty message.
L = K0; L = K0;
...@@ -99,7 +99,7 @@ static VOID s_vClear (void) ...@@ -99,7 +99,7 @@ static VOID s_vClear (void)
M = 0; M = 0;
} }
static VOID s_vSetKey (DWORD dwK0, DWORD dwK1) static void s_vSetKey (DWORD dwK0, DWORD dwK1)
{ {
// Set the key // Set the key
K0 = dwK0; K0 = dwK0;
...@@ -108,7 +108,7 @@ static VOID s_vSetKey (DWORD dwK0, DWORD dwK1) ...@@ -108,7 +108,7 @@ static VOID s_vSetKey (DWORD dwK0, DWORD dwK1)
s_vClear(); s_vClear();
} }
static VOID s_vAppendByte (BYTE b) static void s_vAppendByte (BYTE b)
{ {
// Append the byte to our word-sized buffer // Append the byte to our word-sized buffer
M |= b << (8*nBytesInM); M |= b << (8*nBytesInM);
...@@ -131,14 +131,14 @@ static VOID s_vAppendByte (BYTE b) ...@@ -131,14 +131,14 @@ static VOID s_vAppendByte (BYTE b)
} }
} }
VOID MIC_vInit (DWORD dwK0, DWORD dwK1) void MIC_vInit (DWORD dwK0, DWORD dwK1)
{ {
// Set the key // Set the key
s_vSetKey(dwK0, dwK1); s_vSetKey(dwK0, dwK1);
} }
VOID MIC_vUnInit (void) void MIC_vUnInit (void)
{ {
// Wipe the key material // Wipe the key material
K0 = 0; K0 = 0;
...@@ -149,7 +149,7 @@ VOID MIC_vUnInit (void) ...@@ -149,7 +149,7 @@ VOID MIC_vUnInit (void)
s_vClear(); s_vClear();
} }
VOID MIC_vAppend (PBYTE src, UINT nBytes) void MIC_vAppend (PBYTE src, UINT nBytes)
{ {
// This is simple // This is simple
while (nBytes > 0) while (nBytes > 0)
...@@ -159,7 +159,7 @@ VOID MIC_vAppend (PBYTE src, UINT nBytes) ...@@ -159,7 +159,7 @@ VOID MIC_vAppend (PBYTE src, UINT nBytes)
} }
} }
VOID MIC_vGetMIC (PDWORD pdwL, PDWORD pdwR) void MIC_vGetMIC (PDWORD pdwL, PDWORD pdwR)
{ {
// Append the minimum padding // Append the minimum padding
s_vAppendByte(0x5a); s_vAppendByte(0x5a);
......
...@@ -35,16 +35,16 @@ ...@@ -35,16 +35,16 @@
/*--------------------- Export Types ------------------------------*/ /*--------------------- Export Types ------------------------------*/
VOID MIC_vInit(DWORD dwK0, DWORD dwK1); void MIC_vInit(DWORD dwK0, DWORD dwK1);
VOID MIC_vUnInit(void); void MIC_vUnInit(void);
// Append bytes to the message to be MICed // Append bytes to the message to be MICed
VOID MIC_vAppend(PBYTE src, UINT nBytes); void MIC_vAppend(PBYTE src, UINT nBytes);
// Get the MIC result. Destination should accept 8 bytes of result. // Get the MIC result. Destination should accept 8 bytes of result.
// This also resets the message to empty. // This also resets the message to empty.
VOID MIC_vGetMIC(PDWORD pdwL, PDWORD pdwR); void MIC_vGetMIC(PDWORD pdwL, PDWORD pdwR);
/*--------------------- Export Macros ------------------------------*/ /*--------------------- Export Macros ------------------------------*/
......
...@@ -74,7 +74,7 @@ static int msglevel =MSG_LEVEL_INFO; ...@@ -74,7 +74,7 @@ static int msglevel =MSG_LEVEL_INFO;
-*/ -*/
VOID void
PSvEnablePowerSaving( PSvEnablePowerSaving(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN WORD wListenInterval IN WORD wListenInterval
...@@ -144,7 +144,7 @@ PSvEnablePowerSaving( ...@@ -144,7 +144,7 @@ PSvEnablePowerSaving(
* *
-*/ -*/
VOID void
PSvDisablePowerSaving( PSvDisablePowerSaving(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
...@@ -250,7 +250,7 @@ PSbConsiderPowerDown( ...@@ -250,7 +250,7 @@ PSbConsiderPowerDown(
VOID void
PSvSendPSPOLL( PSvSendPSPOLL(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
......
...@@ -55,18 +55,18 @@ PSbConsiderPowerDown( ...@@ -55,18 +55,18 @@ PSbConsiderPowerDown(
IN BOOL bCheckCountToWakeUp IN BOOL bCheckCountToWakeUp
); );
VOID void
PSvDisablePowerSaving( PSvDisablePowerSaving(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
VOID void
PSvEnablePowerSaving( PSvEnablePowerSaving(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN WORD wListenInterval IN WORD wListenInterval
); );
VOID void
PSvSendPSPOLL( PSvSendPSPOLL(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include "rc4.h" #include "rc4.h"
VOID rc4_init(PRC4Ext pRC4, PBYTE pbyKey, UINT cbKey_len) void rc4_init(PRC4Ext pRC4, PBYTE pbyKey, UINT cbKey_len)
{ {
UINT ust1, ust2; UINT ust1, ust2;
UINT keyindex; UINT keyindex;
...@@ -78,7 +78,7 @@ UINT rc4_byte(PRC4Ext pRC4) ...@@ -78,7 +78,7 @@ UINT rc4_byte(PRC4Ext pRC4)
return pbyst[(ustx + usty) & 0xff]; return pbyst[(ustx + usty) & 0xff];
} }
VOID rc4_encrypt(PRC4Ext pRC4, PBYTE pbyDest, void rc4_encrypt(PRC4Ext pRC4, PBYTE pbyDest,
PBYTE pbySrc, UINT cbData_len) PBYTE pbySrc, UINT cbData_len)
{ {
UINT ii; UINT ii;
......
...@@ -40,7 +40,7 @@ typedef struct { ...@@ -40,7 +40,7 @@ typedef struct {
BYTE abystate[256]; BYTE abystate[256];
} RC4Ext, *PRC4Ext; } RC4Ext, *PRC4Ext;
VOID rc4_init(PRC4Ext pRC4, PBYTE pbyKey, UINT cbKey_len); void rc4_init(PRC4Ext pRC4, PBYTE pbyKey, UINT cbKey_len);
UINT rc4_byte(PRC4Ext pRC4); UINT rc4_byte(PRC4Ext pRC4);
void rc4_encrypt(PRC4Ext pRC4, PBYTE pbyDest, PBYTE pbySrc, UINT cbData_len); void rc4_encrypt(PRC4Ext pRC4, PBYTE pbyDest, PBYTE pbySrc, UINT cbData_len);
......
...@@ -1201,7 +1201,7 @@ DWORD dwMax7230Pwr = 0; ...@@ -1201,7 +1201,7 @@ DWORD dwMax7230Pwr = 0;
* Return Value: none * Return Value: none
* *
-*/ -*/
VOID void
RFvRSSITodBm ( RFvRSSITodBm (
IN PSDevice pDevice, IN PSDevice pDevice,
IN BYTE byCurrRSSI, IN BYTE byCurrRSSI,
......
...@@ -89,7 +89,7 @@ BOOL RFbRawSetPower( ...@@ -89,7 +89,7 @@ BOOL RFbRawSetPower(
IN UINT uRATE IN UINT uRATE
); );
VOID void
RFvRSSITodBm( RFvRSSITodBm(
IN PSDevice pDevice, IN PSDevice pDevice,
IN BYTE byCurrRSSI, IN BYTE byCurrRSSI,
......
...@@ -115,7 +115,7 @@ const WORD wFB_Opt1[2][5] = { ...@@ -115,7 +115,7 @@ const WORD wFB_Opt1[2][5] = {
static static
VOID void
s_vFillTxKey( s_vFillTxKey(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PBYTE pbyBuf, IN PBYTE pbyBuf,
...@@ -129,7 +129,7 @@ s_vFillTxKey( ...@@ -129,7 +129,7 @@ s_vFillTxKey(
static static
VOID void
s_vFillRTSHead( s_vFillRTSHead(
IN PSDevice pDevice, IN PSDevice pDevice,
IN BYTE byPktType, IN BYTE byPktType,
...@@ -143,7 +143,7 @@ s_vFillRTSHead( ...@@ -143,7 +143,7 @@ s_vFillRTSHead(
); );
static static
VOID void
s_vGenerateTxParameter( s_vGenerateTxParameter(
IN PSDevice pDevice, IN PSDevice pDevice,
IN BYTE byPktType, IN BYTE byPktType,
...@@ -210,7 +210,7 @@ s_uFillDataHead ( ...@@ -210,7 +210,7 @@ s_uFillDataHead (
static static
VOID void
s_vFillTxKey ( s_vFillTxKey (
IN PSDevice pDevice, IN PSDevice pDevice,
IN PBYTE pbyBuf, IN PBYTE pbyBuf,
...@@ -328,7 +328,7 @@ s_vFillTxKey ( ...@@ -328,7 +328,7 @@ s_vFillTxKey (
static static
VOID void
s_vSWencryption ( s_vSWencryption (
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSKeyItem pTransmitKey, IN PSKeyItem pTransmitKey,
...@@ -851,7 +851,7 @@ s_uFillDataHead ( ...@@ -851,7 +851,7 @@ s_uFillDataHead (
static static
VOID void
s_vFillRTSHead ( s_vFillRTSHead (
IN PSDevice pDevice, IN PSDevice pDevice,
IN BYTE byPktType, IN BYTE byPktType,
...@@ -1045,7 +1045,7 @@ s_vFillRTSHead ( ...@@ -1045,7 +1045,7 @@ s_vFillRTSHead (
} }
static static
VOID void
s_vFillCTSHead ( s_vFillCTSHead (
IN PSDevice pDevice, IN PSDevice pDevice,
IN UINT uDMAIdx, IN UINT uDMAIdx,
...@@ -1150,7 +1150,7 @@ s_vFillCTSHead ( ...@@ -1150,7 +1150,7 @@ s_vFillCTSHead (
-*/ -*/
// UINT cbFrameSize,//Hdr+Payload+FCS // UINT cbFrameSize,//Hdr+Payload+FCS
static static
VOID void
s_vGenerateTxParameter ( s_vGenerateTxParameter (
IN PSDevice pDevice, IN PSDevice pDevice,
IN BYTE byPktType, IN BYTE byPktType,
...@@ -1268,7 +1268,7 @@ s_vGenerateTxParameter ( ...@@ -1268,7 +1268,7 @@ s_vGenerateTxParameter (
UINT cbFragmentSize,//Hdr+payoad+FCS UINT cbFragmentSize,//Hdr+payoad+FCS
*/ */
static static
VOID void
s_vFillFragParameter( s_vFillFragParameter(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PBYTE pbyBuffer, IN PBYTE pbyBuffer,
...@@ -2093,7 +2093,7 @@ s_cbFillTxBufHead ( ...@@ -2093,7 +2093,7 @@ s_cbFillTxBufHead (
} }
VOID void
vGenerateFIFOHeader ( vGenerateFIFOHeader (
IN PSDevice pDevice, IN PSDevice pDevice,
IN BYTE byPktType, IN BYTE byPktType,
...@@ -2264,7 +2264,7 @@ vGenerateFIFOHeader ( ...@@ -2264,7 +2264,7 @@ vGenerateFIFOHeader (
* *
-*/ -*/
VOID void
vGenerateMACHeader ( vGenerateMACHeader (
IN PSDevice pDevice, IN PSDevice pDevice,
IN PBYTE pbyBufferAddr, IN PBYTE pbyBufferAddr,
...@@ -2825,7 +2825,7 @@ cbGetFragCount ( ...@@ -2825,7 +2825,7 @@ cbGetFragCount (
} }
VOID void
vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, PBYTE pbMPDU, UINT cbMPDULen) { vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, PBYTE pbMPDU, UINT cbMPDULen) {
PSTxDesc pFrstTD; PSTxDesc pFrstTD;
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
/* /*
VOID vGenerateMACHeader( void vGenerateMACHeader(
IN PSDevice pDevice, IN PSDevice pDevice,
IN DWORD dwTxBufferAddr, IN DWORD dwTxBufferAddr,
IN PBYTE pbySkbData, IN PBYTE pbySkbData,
...@@ -50,7 +50,7 @@ VOID vGenerateMACHeader( ...@@ -50,7 +50,7 @@ VOID vGenerateMACHeader(
OUT PUINT pcbAppendPayload OUT PUINT pcbAppendPayload
); );
VOID vProcessRxMACHeader ( void vProcessRxMACHeader (
IN PSDevice pDevice, IN PSDevice pDevice,
IN DWORD dwRxBufferAddr, IN DWORD dwRxBufferAddr,
IN UINT cbPacketSize, IN UINT cbPacketSize,
...@@ -60,7 +60,7 @@ VOID vProcessRxMACHeader ( ...@@ -60,7 +60,7 @@ VOID vProcessRxMACHeader (
*/ */
VOID void
vGenerateMACHeader ( vGenerateMACHeader (
IN PSDevice pDevice, IN PSDevice pDevice,
IN PBYTE pbyBufferAddr, IN PBYTE pbyBufferAddr,
...@@ -82,7 +82,7 @@ cbGetFragCount( ...@@ -82,7 +82,7 @@ cbGetFragCount(
); );
VOID void
vGenerateFIFOHeader ( vGenerateFIFOHeader (
IN PSDevice pDevice, IN PSDevice pDevice,
IN BYTE byPktTyp, IN BYTE byPktTyp,
...@@ -100,7 +100,7 @@ vGenerateFIFOHeader ( ...@@ -100,7 +100,7 @@ vGenerateFIFOHeader (
); );
VOID vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, PBYTE pbMPDU, UINT cbMPDULen); void vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, PBYTE pbMPDU, UINT cbMPDULen);
CMD_STATUS csMgmt_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket); CMD_STATUS csMgmt_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket);
CMD_STATUS csBeacon_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket); CMD_STATUS csBeacon_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket);
......
...@@ -150,7 +150,7 @@ void SROMvWriteAllContents(DWORD_PTR dwIoBase, PBYTE pbyEepromRegs); ...@@ -150,7 +150,7 @@ void SROMvWriteAllContents(DWORD_PTR dwIoBase, PBYTE pbyEepromRegs);
void SROMvReadEtherAddress(DWORD_PTR dwIoBase, PBYTE pbyEtherAddress); void SROMvReadEtherAddress(DWORD_PTR dwIoBase, PBYTE pbyEtherAddress);
void SROMvWriteEtherAddress(DWORD_PTR dwIoBase, PBYTE pbyEtherAddress); void SROMvWriteEtherAddress(DWORD_PTR dwIoBase, PBYTE pbyEtherAddress);
VOID SROMvReadSubSysVenId(DWORD_PTR dwIoBase, PDWORD pdwSubSysVenId); void SROMvReadSubSysVenId(DWORD_PTR dwIoBase, PDWORD pdwSubSysVenId);
BOOL SROMbAutoLoad (DWORD_PTR dwIoBase); BOOL SROMbAutoLoad (DWORD_PTR dwIoBase);
......
...@@ -183,7 +183,7 @@ unsigned int rotr1(unsigned int a) ...@@ -183,7 +183,7 @@ unsigned int rotr1(unsigned int a)
* Return Value: none * Return Value: none
* *
*/ */
VOID TKIPvMixKey( void TKIPvMixKey(
PBYTE pbyTKey, PBYTE pbyTKey,
PBYTE pbyTA, PBYTE pbyTA,
WORD wTSC15_0, WORD wTSC15_0,
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
VOID TKIPvMixKey( void TKIPvMixKey(
PBYTE pbyTKey, PBYTE pbyTKey,
PBYTE pbyTA, PBYTE pbyTA,
WORD wTSC15_0, WORD wTSC15_0,
......
...@@ -33,10 +33,6 @@ ...@@ -33,10 +33,6 @@
/******* Common definitions and typedefs ***********************************/ /******* Common definitions and typedefs ***********************************/
#ifndef VOID
#define VOID void
#endif
#ifndef IN #ifndef IN
#define IN #define IN
#endif #endif
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
* Return Value: none * Return Value: none
* *
-*/ -*/
VOID void
VNTWIFIvSetOPMode ( VNTWIFIvSetOPMode (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN WMAC_CONFIG_MODE eOPMode IN WMAC_CONFIG_MODE eOPMode
...@@ -98,7 +98,7 @@ VNTWIFIvSetOPMode ( ...@@ -98,7 +98,7 @@ VNTWIFIvSetOPMode (
* Return Value: none * Return Value: none
* *
-*/ -*/
VOID void
VNTWIFIvSetIBSSParameter ( VNTWIFIvSetIBSSParameter (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN WORD wBeaconPeriod, IN WORD wBeaconPeriod,
...@@ -306,7 +306,7 @@ VNTWIFIbyGetACKTxRate ( ...@@ -306,7 +306,7 @@ VNTWIFIbyGetACKTxRate (
* Return Value: none * Return Value: none
* *
-*/ -*/
VOID void
VNTWIFIvSetAuthenticationMode ( VNTWIFIvSetAuthenticationMode (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN WMAC_AUTHENTICATION_MODE eAuthMode IN WMAC_AUTHENTICATION_MODE eAuthMode
...@@ -338,7 +338,7 @@ VNTWIFIvSetAuthenticationMode ( ...@@ -338,7 +338,7 @@ VNTWIFIvSetAuthenticationMode (
* Return Value: none * Return Value: none
* *
-*/ -*/
VOID void
VNTWIFIvSetEncryptionMode ( VNTWIFIvSetEncryptionMode (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN WMAC_ENCRYPTION_MODE eEncryptionMode IN WMAC_ENCRYPTION_MODE eEncryptionMode
...@@ -379,7 +379,7 @@ VNTWIFIbConfigPhyMode ( ...@@ -379,7 +379,7 @@ VNTWIFIbConfigPhyMode (
} }
VOID void
VNTWIFIbGetConfigPhyMode ( VNTWIFIbGetConfigPhyMode (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
OUT PVOID pePhyType OUT PVOID pePhyType
...@@ -424,7 +424,7 @@ VNTWIFIbGetConfigPhyMode ( ...@@ -424,7 +424,7 @@ VNTWIFIbGetConfigPhyMode (
* *
-*/ -*/
VOID void
VNTWIFIvQueryBSSList ( VNTWIFIvQueryBSSList (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
OUT PUINT puBSSCount, OUT PUINT puBSSCount,
...@@ -454,7 +454,7 @@ VNTWIFIvQueryBSSList ( ...@@ -454,7 +454,7 @@ VNTWIFIvQueryBSSList (
VOID void
VNTWIFIvGetNextBSS ( VNTWIFIvGetNextBSS (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN PVOID pvCurrentBSS, IN PVOID pvCurrentBSS,
...@@ -494,7 +494,7 @@ VNTWIFIvGetNextBSS ( ...@@ -494,7 +494,7 @@ VNTWIFIvGetNextBSS (
* Return Value: none * Return Value: none
* *
-*/ -*/
VOID void
VNTWIFIvUpdateNodeTxCounter( VNTWIFIvUpdateNodeTxCounter(
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN PBYTE pbyDestAddress, IN PBYTE pbyDestAddress,
...@@ -529,7 +529,7 @@ VNTWIFIvUpdateNodeTxCounter( ...@@ -529,7 +529,7 @@ VNTWIFIvUpdateNodeTxCounter(
} }
VOID void
VNTWIFIvGetTxRate( VNTWIFIvGetTxRate(
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN PBYTE pbyDestAddress, IN PBYTE pbyDestAddress,
...@@ -702,7 +702,7 @@ VNTWIFIwGetMaxSupportRate( ...@@ -702,7 +702,7 @@ VNTWIFIwGetMaxSupportRate(
} }
VOID void
VNTWIFIvSet11h ( VNTWIFIvSet11h (
IN PVOID pMgmtObject, IN PVOID pMgmtObject,
IN BOOL b11hEnable IN BOOL b11hEnable
......
...@@ -140,7 +140,7 @@ typedef enum tagWMAC_POWER_MODE { ...@@ -140,7 +140,7 @@ typedef enum tagWMAC_POWER_MODE {
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
VOID void
VNTWIFIvSetIBSSParameter ( VNTWIFIvSetIBSSParameter (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN WORD wBeaconPeriod, IN WORD wBeaconPeriod,
...@@ -148,7 +148,7 @@ VNTWIFIvSetIBSSParameter ( ...@@ -148,7 +148,7 @@ VNTWIFIvSetIBSSParameter (
IN UINT uChannel IN UINT uChannel
); );
VOID void
VNTWIFIvSetOPMode ( VNTWIFIvSetOPMode (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN WMAC_CONFIG_MODE eOPMode IN WMAC_CONFIG_MODE eOPMode
...@@ -182,13 +182,13 @@ VNTWIFIbyGetACKTxRate ( ...@@ -182,13 +182,13 @@ VNTWIFIbyGetACKTxRate (
IN PWLAN_IE_SUPP_RATES pExtSupportRateIEs IN PWLAN_IE_SUPP_RATES pExtSupportRateIEs
); );
VOID void
VNTWIFIvSetAuthenticationMode ( VNTWIFIvSetAuthenticationMode (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN WMAC_AUTHENTICATION_MODE eAuthMode IN WMAC_AUTHENTICATION_MODE eAuthMode
); );
VOID void
VNTWIFIvSetEncryptionMode ( VNTWIFIvSetEncryptionMode (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN WMAC_ENCRYPTION_MODE eEncryptionMode IN WMAC_ENCRYPTION_MODE eEncryptionMode
...@@ -201,13 +201,13 @@ VNTWIFIbConfigPhyMode( ...@@ -201,13 +201,13 @@ VNTWIFIbConfigPhyMode(
IN CARD_PHY_TYPE ePhyType IN CARD_PHY_TYPE ePhyType
); );
VOID void
VNTWIFIbGetConfigPhyMode( VNTWIFIbGetConfigPhyMode(
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
OUT PVOID pePhyType OUT PVOID pePhyType
); );
VOID void
VNTWIFIvQueryBSSList( VNTWIFIvQueryBSSList(
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
OUT PUINT puBSSCount, OUT PUINT puBSSCount,
...@@ -217,7 +217,7 @@ VNTWIFIvQueryBSSList( ...@@ -217,7 +217,7 @@ VNTWIFIvQueryBSSList(
VOID void
VNTWIFIvGetNextBSS ( VNTWIFIvGetNextBSS (
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN PVOID pvCurrentBSS, IN PVOID pvCurrentBSS,
...@@ -226,7 +226,7 @@ VNTWIFIvGetNextBSS ( ...@@ -226,7 +226,7 @@ VNTWIFIvGetNextBSS (
VOID void
VNTWIFIvUpdateNodeTxCounter( VNTWIFIvUpdateNodeTxCounter(
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN PBYTE pbyDestAddress, IN PBYTE pbyDestAddress,
...@@ -236,7 +236,7 @@ VNTWIFIvUpdateNodeTxCounter( ...@@ -236,7 +236,7 @@ VNTWIFIvUpdateNodeTxCounter(
); );
VOID void
VNTWIFIvGetTxRate( VNTWIFIvGetTxRate(
IN PVOID pMgmtHandle, IN PVOID pMgmtHandle,
IN PBYTE pbyDestAddress, IN PBYTE pbyDestAddress,
...@@ -280,7 +280,7 @@ VNTWIFIwGetMaxSupportRate( ...@@ -280,7 +280,7 @@ VNTWIFIwGetMaxSupportRate(
); );
// for 802.11h // for 802.11h
VOID void
VNTWIFIvSet11h ( VNTWIFIvSet11h (
IN PVOID pMgmtObject, IN PVOID pMgmtObject,
IN BOOL b11hEnable IN BOOL b11hEnable
......
...@@ -66,7 +66,7 @@ static int msglevel =MSG_LEVEL_INFO; ...@@ -66,7 +66,7 @@ static int msglevel =MSG_LEVEL_INFO;
/*--------------------- Static Functions --------------------------*/ /*--------------------- Static Functions --------------------------*/
static static
VOID void
s_vProbeChannel( s_vProbeChannel(
IN PSDevice pDevice IN PSDevice pDevice
); );
...@@ -202,7 +202,7 @@ vAdHocBeaconRestart(PSDevice pDevice) ...@@ -202,7 +202,7 @@ vAdHocBeaconRestart(PSDevice pDevice)
-*/ -*/
static static
VOID void
s_vProbeChannel( s_vProbeChannel(
IN PSDevice pDevice IN PSDevice pDevice
) )
...@@ -317,7 +317,7 @@ s_MgrMakeProbeRequest( ...@@ -317,7 +317,7 @@ s_MgrMakeProbeRequest(
VOID void
vCommandTimerWait( vCommandTimerWait(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN UINT MSecond IN UINT MSecond
...@@ -337,7 +337,7 @@ vCommandTimerWait( ...@@ -337,7 +337,7 @@ vCommandTimerWait(
VOID void
vCommandTimer ( vCommandTimer (
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
...@@ -1081,7 +1081,7 @@ BOOL bClearBSSID_SCAN ( ...@@ -1081,7 +1081,7 @@ BOOL bClearBSSID_SCAN (
} }
//mike add:reset command timer //mike add:reset command timer
VOID void
vResetCommandTimer( vResetCommandTimer(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
...@@ -1105,7 +1105,7 @@ vResetCommandTimer( ...@@ -1105,7 +1105,7 @@ vResetCommandTimer(
#ifdef TxInSleep #ifdef TxInSleep
VOID void
BSSvSecondTxData( BSSvSecondTxData(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
......
...@@ -109,12 +109,12 @@ typedef enum tagCMD_STATE { ...@@ -109,12 +109,12 @@ typedef enum tagCMD_STATE {
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
VOID void
vResetCommandTimer( vResetCommandTimer(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
VOID void
vCommandTimer ( vCommandTimer (
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
...@@ -130,13 +130,13 @@ bScheduleCommand( ...@@ -130,13 +130,13 @@ bScheduleCommand(
IN PBYTE pbyItem0 IN PBYTE pbyItem0
); );
VOID void
vCommandTimerWait( vCommandTimerWait(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN UINT MSecond IN UINT MSecond
); );
#ifdef TxInSleep #ifdef TxInSleep
VOID void
BSSvSecondTxData( BSSvSecondTxData(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
......
...@@ -113,7 +113,7 @@ s_MgrMakeAssocRequest( ...@@ -113,7 +113,7 @@ s_MgrMakeAssocRequest(
); );
static static
VOID void
s_vMgrRxAssocRequest( s_vMgrRxAssocRequest(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -135,7 +135,7 @@ s_MgrMakeReAssocRequest( ...@@ -135,7 +135,7 @@ s_MgrMakeReAssocRequest(
); );
static static
VOID void
s_vMgrRxAssocResponse( s_vMgrRxAssocResponse(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -144,7 +144,7 @@ s_vMgrRxAssocResponse( ...@@ -144,7 +144,7 @@ s_vMgrRxAssocResponse(
); );
static static
VOID void
s_vMgrRxDisassociation( s_vMgrRxDisassociation(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -153,7 +153,7 @@ s_vMgrRxDisassociation( ...@@ -153,7 +153,7 @@ s_vMgrRxDisassociation(
// Authentication/deauthen functions // Authentication/deauthen functions
static static
VOID void
s_vMgrRxAuthenSequence_1( s_vMgrRxAuthenSequence_1(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -161,7 +161,7 @@ s_vMgrRxAuthenSequence_1( ...@@ -161,7 +161,7 @@ s_vMgrRxAuthenSequence_1(
); );
static static
VOID void
s_vMgrRxAuthenSequence_2( s_vMgrRxAuthenSequence_2(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -169,7 +169,7 @@ s_vMgrRxAuthenSequence_2( ...@@ -169,7 +169,7 @@ s_vMgrRxAuthenSequence_2(
); );
static static
VOID void
s_vMgrRxAuthenSequence_3( s_vMgrRxAuthenSequence_3(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -177,7 +177,7 @@ s_vMgrRxAuthenSequence_3( ...@@ -177,7 +177,7 @@ s_vMgrRxAuthenSequence_3(
); );
static static
VOID void
s_vMgrRxAuthenSequence_4( s_vMgrRxAuthenSequence_4(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -185,7 +185,7 @@ s_vMgrRxAuthenSequence_4( ...@@ -185,7 +185,7 @@ s_vMgrRxAuthenSequence_4(
); );
static static
VOID void
s_vMgrRxAuthentication( s_vMgrRxAuthentication(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -193,7 +193,7 @@ s_vMgrRxAuthentication( ...@@ -193,7 +193,7 @@ s_vMgrRxAuthentication(
); );
static static
VOID void
s_vMgrRxDeauthentication( s_vMgrRxDeauthentication(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -203,7 +203,7 @@ s_vMgrRxDeauthentication( ...@@ -203,7 +203,7 @@ s_vMgrRxDeauthentication(
// Scan functions // Scan functions
// probe request/response functions // probe request/response functions
static static
VOID void
s_vMgrRxProbeRequest( s_vMgrRxProbeRequest(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -211,7 +211,7 @@ s_vMgrRxProbeRequest( ...@@ -211,7 +211,7 @@ s_vMgrRxProbeRequest(
); );
static static
VOID void
s_vMgrRxProbeResponse( s_vMgrRxProbeResponse(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -220,7 +220,7 @@ s_vMgrRxProbeResponse( ...@@ -220,7 +220,7 @@ s_vMgrRxProbeResponse(
// beacon functions // beacon functions
static static
VOID void
s_vMgrRxBeacon( s_vMgrRxBeacon(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -229,7 +229,7 @@ s_vMgrRxBeacon( ...@@ -229,7 +229,7 @@ s_vMgrRxBeacon(
); );
static static
VOID void
s_vMgrFormatTIM( s_vMgrFormatTIM(
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
IN PWLAN_IE_TIM pTIM IN PWLAN_IE_TIM pTIM
...@@ -299,7 +299,7 @@ s_MgrMakeProbeResponse( ...@@ -299,7 +299,7 @@ s_MgrMakeProbeResponse(
// received status // received status
static static
VOID void
s_vMgrLogStatus( s_vMgrLogStatus(
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
IN WORD wStatus IN WORD wStatus
...@@ -307,7 +307,7 @@ s_vMgrLogStatus( ...@@ -307,7 +307,7 @@ s_vMgrLogStatus(
static static
VOID void
s_vMgrSynchBSS ( s_vMgrSynchBSS (
IN PSDevice pDevice, IN PSDevice pDevice,
IN UINT uBSSMode, IN UINT uBSSMode,
...@@ -324,7 +324,7 @@ s_bCipherMatch ( ...@@ -324,7 +324,7 @@ s_bCipherMatch (
OUT PBYTE pbyCCSGK OUT PBYTE pbyCCSGK
); );
static VOID Encyption_Rebuild( static void Encyption_Rebuild(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PKnownBSS pCurr IN PKnownBSS pCurr
); );
...@@ -347,7 +347,7 @@ s_bCipherMatch ( ...@@ -347,7 +347,7 @@ s_bCipherMatch (
* *
-*/ -*/
VOID void
vMgrObjectInit( vMgrObjectInit(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
...@@ -431,7 +431,7 @@ vMgrTimerInit( ...@@ -431,7 +431,7 @@ vMgrTimerInit(
* *
-*/ -*/
VOID void
vMgrObjectReset( vMgrObjectReset(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
...@@ -460,7 +460,7 @@ vMgrObjectReset( ...@@ -460,7 +460,7 @@ vMgrObjectReset(
-*/ -*/
VOID void
vMgrAssocBeginSta( vMgrAssocBeginSta(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -536,7 +536,7 @@ vMgrAssocBeginSta( ...@@ -536,7 +536,7 @@ vMgrAssocBeginSta(
* *
-*/ -*/
VOID void
vMgrReAssocBeginSta( vMgrReAssocBeginSta(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -615,7 +615,7 @@ vMgrReAssocBeginSta( ...@@ -615,7 +615,7 @@ vMgrReAssocBeginSta(
* *
-*/ -*/
VOID void
vMgrDisassocBeginSta( vMgrDisassocBeginSta(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -678,7 +678,7 @@ vMgrDisassocBeginSta( ...@@ -678,7 +678,7 @@ vMgrDisassocBeginSta(
-*/ -*/
static static
VOID void
s_vMgrRxAssocRequest( s_vMgrRxAssocRequest(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -840,7 +840,7 @@ s_vMgrRxAssocRequest( ...@@ -840,7 +840,7 @@ s_vMgrRxAssocRequest(
-*/ -*/
static static
VOID void
s_vMgrRxReAssocRequest( s_vMgrRxReAssocRequest(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -990,7 +990,7 @@ s_vMgrRxReAssocRequest( ...@@ -990,7 +990,7 @@ s_vMgrRxReAssocRequest(
-*/ -*/
static static
VOID void
s_vMgrRxAssocResponse( s_vMgrRxAssocResponse(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -1150,7 +1150,7 @@ if(pMgmt->eCurrState == WMAC_STATE_ASSOC) ...@@ -1150,7 +1150,7 @@ if(pMgmt->eCurrState == WMAC_STATE_ASSOC)
* *
-*/ -*/
VOID void
vMgrAuthenBeginSta( vMgrAuthenBeginSta(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -1208,7 +1208,7 @@ vMgrAuthenBeginSta( ...@@ -1208,7 +1208,7 @@ vMgrAuthenBeginSta(
* *
-*/ -*/
VOID void
vMgrDeAuthenBeginSta( vMgrDeAuthenBeginSta(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -1265,7 +1265,7 @@ vMgrDeAuthenBeginSta( ...@@ -1265,7 +1265,7 @@ vMgrDeAuthenBeginSta(
-*/ -*/
static static
VOID void
s_vMgrRxAuthentication( s_vMgrRxAuthentication(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -1323,7 +1323,7 @@ s_vMgrRxAuthentication( ...@@ -1323,7 +1323,7 @@ s_vMgrRxAuthentication(
static static
VOID void
s_vMgrRxAuthenSequence_1( s_vMgrRxAuthenSequence_1(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -1429,7 +1429,7 @@ s_vMgrRxAuthenSequence_1( ...@@ -1429,7 +1429,7 @@ s_vMgrRxAuthenSequence_1(
-*/ -*/
static static
VOID void
s_vMgrRxAuthenSequence_2( s_vMgrRxAuthenSequence_2(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -1531,7 +1531,7 @@ s_vMgrRxAuthenSequence_2( ...@@ -1531,7 +1531,7 @@ s_vMgrRxAuthenSequence_2(
-*/ -*/
static static
VOID void
s_vMgrRxAuthenSequence_3( s_vMgrRxAuthenSequence_3(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -1619,7 +1619,7 @@ s_vMgrRxAuthenSequence_3( ...@@ -1619,7 +1619,7 @@ s_vMgrRxAuthenSequence_3(
* *
-*/ -*/
static static
VOID void
s_vMgrRxAuthenSequence_4( s_vMgrRxAuthenSequence_4(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -1658,7 +1658,7 @@ s_vMgrRxAuthenSequence_4( ...@@ -1658,7 +1658,7 @@ s_vMgrRxAuthenSequence_4(
-*/ -*/
static static
VOID void
s_vMgrRxDisassociation( s_vMgrRxDisassociation(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -1737,7 +1737,7 @@ s_vMgrRxDisassociation( ...@@ -1737,7 +1737,7 @@ s_vMgrRxDisassociation(
-*/ -*/
static static
VOID void
s_vMgrRxDeauthentication( s_vMgrRxDeauthentication(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -1863,7 +1863,7 @@ ChannelExceedZoneType( ...@@ -1863,7 +1863,7 @@ ChannelExceedZoneType(
-*/ -*/
static static
VOID void
s_vMgrRxBeacon( s_vMgrRxBeacon(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -2384,7 +2384,7 @@ if(ChannelExceedZoneType(pDevice,byCurrChannel)==TRUE) ...@@ -2384,7 +2384,7 @@ if(ChannelExceedZoneType(pDevice,byCurrChannel)==TRUE)
* CMD_STATUS * CMD_STATUS
* *
-*/ -*/
VOID void
vMgrCreateOwnIBSS( vMgrCreateOwnIBSS(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
OUT PCMD_STATUS pStatus OUT PCMD_STATUS pStatus
...@@ -2651,7 +2651,7 @@ vMgrCreateOwnIBSS( ...@@ -2651,7 +2651,7 @@ vMgrCreateOwnIBSS(
* *
-*/ -*/
VOID void
vMgrJoinBSSBegin( vMgrJoinBSSBegin(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
OUT PCMD_STATUS pStatus OUT PCMD_STATUS pStatus
...@@ -2920,7 +2920,7 @@ vMgrJoinBSSBegin( ...@@ -2920,7 +2920,7 @@ vMgrJoinBSSBegin(
* *
-*/ -*/
static static
VOID void
s_vMgrSynchBSS ( s_vMgrSynchBSS (
IN PSDevice pDevice, IN PSDevice pDevice,
IN UINT uBSSMode, IN UINT uBSSMode,
...@@ -3088,7 +3088,7 @@ s_vMgrSynchBSS ( ...@@ -3088,7 +3088,7 @@ s_vMgrSynchBSS (
//mike add: fix NetworkManager 0.7.0 hidden ssid mode in WPA encryption //mike add: fix NetworkManager 0.7.0 hidden ssid mode in WPA encryption
// ,need reset eAuthenMode and eEncryptionStatus // ,need reset eAuthenMode and eEncryptionStatus
static VOID Encyption_Rebuild( static void Encyption_Rebuild(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PKnownBSS pCurr IN PKnownBSS pCurr
) )
...@@ -3140,12 +3140,12 @@ s_vMgrSynchBSS ( ...@@ -3140,12 +3140,12 @@ s_vMgrSynchBSS (
* *
* *
* Return Value: * Return Value:
* VOID * void
* *
-*/ -*/
static static
VOID void
s_vMgrFormatTIM( s_vMgrFormatTIM(
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
IN PWLAN_IE_TIM pTIM IN PWLAN_IE_TIM pTIM
...@@ -4313,7 +4313,7 @@ s_MgrMakeReAssocResponse( ...@@ -4313,7 +4313,7 @@ s_MgrMakeReAssocResponse(
-*/ -*/
static static
VOID void
s_vMgrRxProbeResponse( s_vMgrRxProbeResponse(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -4438,7 +4438,7 @@ if(ChannelExceedZoneType(pDevice,byCurrChannel)==TRUE) ...@@ -4438,7 +4438,7 @@ if(ChannelExceedZoneType(pDevice,byCurrChannel)==TRUE)
static static
VOID void
s_vMgrRxProbeRequest( s_vMgrRxProbeRequest(
IN PSDevice pDevice, IN PSDevice pDevice,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -4534,7 +4534,7 @@ s_vMgrRxProbeRequest( ...@@ -4534,7 +4534,7 @@ s_vMgrRxProbeRequest(
-*/ -*/
VOID void
vMgrRxManagePacket( vMgrRxManagePacket(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -4738,7 +4738,7 @@ bMgrPrepareBeaconToSend( ...@@ -4738,7 +4738,7 @@ bMgrPrepareBeaconToSend(
* *
-*/ -*/
static static
VOID void
s_vMgrLogStatus( s_vMgrLogStatus(
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
IN WORD wStatus IN WORD wStatus
...@@ -4868,7 +4868,7 @@ bAdd_PMKID_Candidate ( ...@@ -4868,7 +4868,7 @@ bAdd_PMKID_Candidate (
* Return Value: none. * Return Value: none.
* *
-*/ -*/
VOID void
vFlush_PMKID_Candidate ( vFlush_PMKID_Candidate (
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
) )
......
...@@ -409,7 +409,7 @@ vMgrTimerInit( ...@@ -409,7 +409,7 @@ vMgrTimerInit(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
VOID void
vMgrObjectReset( vMgrObjectReset(
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
...@@ -421,14 +421,14 @@ vMgrAssocBeginSta( ...@@ -421,14 +421,14 @@ vMgrAssocBeginSta(
OUT PCMD_STATUS pStatus OUT PCMD_STATUS pStatus
); );
VOID void
vMgrReAssocBeginSta( vMgrReAssocBeginSta(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
OUT PCMD_STATUS pStatus OUT PCMD_STATUS pStatus
); );
VOID void
vMgrDisassocBeginSta( vMgrDisassocBeginSta(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -437,26 +437,26 @@ vMgrDisassocBeginSta( ...@@ -437,26 +437,26 @@ vMgrDisassocBeginSta(
OUT PCMD_STATUS pStatus OUT PCMD_STATUS pStatus
); );
VOID void
vMgrAuthenBeginSta( vMgrAuthenBeginSta(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
OUT PCMD_STATUS pStatus OUT PCMD_STATUS pStatus
); );
VOID void
vMgrCreateOwnIBSS( vMgrCreateOwnIBSS(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
OUT PCMD_STATUS pStatus OUT PCMD_STATUS pStatus
); );
VOID void
vMgrJoinBSSBegin( vMgrJoinBSSBegin(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
OUT PCMD_STATUS pStatus OUT PCMD_STATUS pStatus
); );
VOID void
vMgrRxManagePacket( vMgrRxManagePacket(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -464,14 +464,14 @@ vMgrRxManagePacket( ...@@ -464,14 +464,14 @@ vMgrRxManagePacket(
); );
/* /*
VOID void
vMgrScanBegin( vMgrScanBegin(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
OUT PCMD_STATUS pStatus OUT PCMD_STATUS pStatus
); );
*/ */
VOID void
vMgrDeAuthenBeginSta( vMgrDeAuthenBeginSta(
IN HANDLE hDeviceContext, IN HANDLE hDeviceContext,
IN PSMgmtObject pMgmt, IN PSMgmtObject pMgmt,
...@@ -494,7 +494,7 @@ bAdd_PMKID_Candidate ( ...@@ -494,7 +494,7 @@ bAdd_PMKID_Candidate (
IN PSRSNCapObject psRSNCapObj IN PSRSNCapObject psRSNCapObj
); );
VOID void
vFlush_PMKID_Candidate ( vFlush_PMKID_Candidate (
IN HANDLE hDeviceContext IN HANDLE hDeviceContext
); );
......
...@@ -68,7 +68,7 @@ const BYTE abyOUI05[4] = { 0x00, 0x50, 0xf2, 0x05 }; ...@@ -68,7 +68,7 @@ const BYTE abyOUI05[4] = { 0x00, 0x50, 0xf2, 0x05 };
* *
-*/ -*/
VOID void
WPA_ClearRSN ( WPA_ClearRSN (
IN PKnownBSS pBSSList IN PKnownBSS pBSSList
) )
...@@ -104,7 +104,7 @@ WPA_ClearRSN ( ...@@ -104,7 +104,7 @@ WPA_ClearRSN (
* Return Value: none. * Return Value: none.
* *
-*/ -*/
VOID void
WPA_ParseRSN ( WPA_ParseRSN (
IN PKnownBSS pBSSList, IN PKnownBSS pBSSList,
IN PWLAN_IE_RSN_EXT pRSN IN PWLAN_IE_RSN_EXT pRSN
......
...@@ -58,12 +58,12 @@ ...@@ -58,12 +58,12 @@
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
VOID void
WPA_ClearRSN( WPA_ClearRSN(
IN PKnownBSS pBSSList IN PKnownBSS pBSSList
); );
VOID void
WPA_ParseRSN( WPA_ParseRSN(
IN PKnownBSS pBSSList, IN PKnownBSS pBSSList,
IN PWLAN_IE_RSN_EXT pRSN IN PWLAN_IE_RSN_EXT pRSN
......
...@@ -72,7 +72,7 @@ const BYTE abyOUIPSK[4] = { 0x00, 0x0F, 0xAC, 0x02 }; ...@@ -72,7 +72,7 @@ const BYTE abyOUIPSK[4] = { 0x00, 0x0F, 0xAC, 0x02 };
* Return Value: none. * Return Value: none.
* *
-*/ -*/
VOID void
WPA2_ClearRSN ( WPA2_ClearRSN (
IN PKnownBSS pBSSNode IN PKnownBSS pBSSNode
) )
...@@ -107,7 +107,7 @@ WPA2_ClearRSN ( ...@@ -107,7 +107,7 @@ WPA2_ClearRSN (
* Return Value: none. * Return Value: none.
* *
-*/ -*/
VOID void
WPA2vParseRSN ( WPA2vParseRSN (
IN PKnownBSS pBSSNode, IN PKnownBSS pBSSNode,
IN PWLAN_IE_RSN pRSN IN PWLAN_IE_RSN pRSN
......
...@@ -58,12 +58,12 @@ typedef struct tagSPMKIDCache { ...@@ -58,12 +58,12 @@ typedef struct tagSPMKIDCache {
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
VOID void
WPA2_ClearRSN ( WPA2_ClearRSN (
IN PKnownBSS pBSSNode IN PKnownBSS pBSSNode
); );
VOID void
WPA2vParseRSN ( WPA2vParseRSN (
IN PKnownBSS pBSSNode, IN PKnownBSS pBSSNode,
IN PWLAN_IE_RSN pRSN IN PWLAN_IE_RSN pRSN
......
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