Staging: vt6655: remove PUINT typedef
Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3fc9b584c2
commit
fe4f34bde2
|
@ -762,11 +762,8 @@ BSSbUpdateToBSSList (
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
BSSDBbIsSTAInNodeDB(
|
BSSDBbIsSTAInNodeDB(void *pMgmtObject, unsigned char *abyDstAddr,
|
||||||
void *pMgmtObject,
|
unsigned int *puNodeIndex)
|
||||||
unsigned char *abyDstAddr,
|
|
||||||
PUINT puNodeIndex
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
PSMgmtObject pMgmt = (PSMgmtObject) pMgmtObject;
|
PSMgmtObject pMgmt = (PSMgmtObject) pMgmtObject;
|
||||||
unsigned int ii;
|
unsigned int ii;
|
||||||
|
@ -797,10 +794,7 @@ BSSDBbIsSTAInNodeDB(
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
void
|
void
|
||||||
BSSvCreateOneNode(
|
BSSvCreateOneNode(void *hDeviceContext, unsigned int *puNodeIndex)
|
||||||
void *hDeviceContext,
|
|
||||||
PUINT puNodeIndex
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
|
|
||||||
PSDevice pDevice = (PSDevice)hDeviceContext;
|
PSDevice pDevice = (PSDevice)hDeviceContext;
|
||||||
|
|
|
@ -309,17 +309,11 @@ BSSbUpdateToBSSList(
|
||||||
|
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
BSSDBbIsSTAInNodeDB(
|
BSSDBbIsSTAInNodeDB(void *hDeviceContext, unsigned char *abyDstAddr,
|
||||||
void *hDeviceContext,
|
unsigned int *puNodeIndex);
|
||||||
unsigned char *abyDstAddr,
|
|
||||||
PUINT puNodeIndex
|
|
||||||
);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
BSSvCreateOneNode(
|
BSSvCreateOneNode(void *hDeviceContext, unsigned int *puNodeIndex);
|
||||||
void *hDeviceContext,
|
|
||||||
PUINT puNodeIndex
|
|
||||||
);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
BSSvUpdateAPNode(
|
BSSvUpdateAPNode(
|
||||||
|
|
|
@ -79,24 +79,14 @@ const unsigned char acbyRxRate[MAX_RATE] =
|
||||||
static unsigned char s_byGetRateIdx(unsigned char byRate);
|
static unsigned char s_byGetRateIdx(unsigned char byRate);
|
||||||
|
|
||||||
|
|
||||||
static
|
static void
|
||||||
void
|
s_vGetDASA(unsigned char *pbyRxBufferAddr, unsigned int *pcbHeaderSize,
|
||||||
s_vGetDASA(
|
PSEthernetHeader psEthHeader);
|
||||||
unsigned char *pbyRxBufferAddr,
|
|
||||||
PUINT pcbHeaderSize,
|
|
||||||
PSEthernetHeader psEthHeader
|
|
||||||
);
|
|
||||||
|
|
||||||
static
|
static void
|
||||||
void
|
s_vProcessRxMACHeader(PSDevice pDevice, unsigned char *pbyRxBufferAddr,
|
||||||
s_vProcessRxMACHeader (
|
unsigned int cbPacketSize, BOOL bIsWEP, BOOL bExtIV,
|
||||||
PSDevice pDevice,
|
unsigned int *pcbHeadSize);
|
||||||
unsigned char *pbyRxBufferAddr,
|
|
||||||
unsigned int cbPacketSize,
|
|
||||||
BOOL bIsWEP,
|
|
||||||
BOOL bExtIV,
|
|
||||||
PUINT pcbHeadSize
|
|
||||||
);
|
|
||||||
|
|
||||||
static BOOL s_bAPModeRxCtl(
|
static BOOL s_bAPModeRxCtl(
|
||||||
PSDevice pDevice,
|
PSDevice pDevice,
|
||||||
|
@ -162,16 +152,10 @@ static BOOL s_bHostWepRxEncryption(
|
||||||
* Return Value: None
|
* Return Value: None
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
static
|
static void
|
||||||
void
|
s_vProcessRxMACHeader(PSDevice pDevice, unsigned char *pbyRxBufferAddr,
|
||||||
s_vProcessRxMACHeader (
|
unsigned int cbPacketSize, BOOL bIsWEP, BOOL bExtIV,
|
||||||
PSDevice pDevice,
|
unsigned int *pcbHeadSize)
|
||||||
unsigned char *pbyRxBufferAddr,
|
|
||||||
unsigned int cbPacketSize,
|
|
||||||
BOOL bIsWEP,
|
|
||||||
BOOL bExtIV,
|
|
||||||
PUINT pcbHeadSize
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
unsigned char *pbyRxBuffer;
|
unsigned char *pbyRxBuffer;
|
||||||
unsigned int cbHeaderSize = 0;
|
unsigned int cbHeaderSize = 0;
|
||||||
|
@ -261,13 +245,9 @@ static unsigned char s_byGetRateIdx (unsigned char byRate)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static
|
static void
|
||||||
void
|
s_vGetDASA(unsigned char *pbyRxBufferAddr, unsigned int *pcbHeaderSize,
|
||||||
s_vGetDASA (
|
PSEthernetHeader psEthHeader)
|
||||||
unsigned char *pbyRxBufferAddr,
|
|
||||||
PUINT pcbHeaderSize,
|
|
||||||
PSEthernetHeader psEthHeader
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
unsigned int cbHeaderSize = 0;
|
unsigned int cbHeaderSize = 0;
|
||||||
PS802_11Header pMACHeader;
|
PS802_11Header pMACHeader;
|
||||||
|
|
|
@ -170,22 +170,11 @@ static void s_vFillFragParameter(
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
static
|
static unsigned int
|
||||||
unsigned int
|
s_cbFillTxBufHead(PSDevice pDevice, unsigned char byPktType, unsigned char *pbyTxBufferAddr,
|
||||||
s_cbFillTxBufHead (
|
unsigned int cbFrameBodySize, unsigned int uDMAIdx, PSTxDesc pHeadTD,
|
||||||
PSDevice pDevice,
|
PSEthernetHeader psEthHeader, unsigned char *pPacket, BOOL bNeedEncrypt,
|
||||||
unsigned char byPktType,
|
PSKeyItem pTransmitKey, unsigned int uNodeIndex, unsigned int *puMACfragNum);
|
||||||
unsigned char *pbyTxBufferAddr,
|
|
||||||
unsigned int cbFrameBodySize,
|
|
||||||
unsigned int uDMAIdx,
|
|
||||||
PSTxDesc pHeadTD,
|
|
||||||
PSEthernetHeader psEthHeader,
|
|
||||||
unsigned char *pPacket,
|
|
||||||
BOOL bNeedEncrypt,
|
|
||||||
PSKeyItem pTransmitKey,
|
|
||||||
unsigned int uNodeIndex,
|
|
||||||
PUINT puMACfragNum
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
static
|
static
|
||||||
|
@ -1315,22 +1304,11 @@ s_vFillFragParameter(
|
||||||
//DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"s_vFillFragParameter END\n");
|
//DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"s_vFillFragParameter END\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static unsigned int
|
||||||
unsigned int
|
s_cbFillTxBufHead(PSDevice pDevice, unsigned char byPktType, unsigned char *pbyTxBufferAddr,
|
||||||
s_cbFillTxBufHead (
|
unsigned int cbFrameBodySize, unsigned int uDMAIdx, PSTxDesc pHeadTD,
|
||||||
PSDevice pDevice,
|
PSEthernetHeader psEthHeader, unsigned char *pPacket, BOOL bNeedEncrypt,
|
||||||
unsigned char byPktType,
|
PSKeyItem pTransmitKey, unsigned int uNodeIndex, unsigned int *puMACfragNum)
|
||||||
unsigned char *pbyTxBufferAddr,
|
|
||||||
unsigned int cbFrameBodySize,
|
|
||||||
unsigned int uDMAIdx,
|
|
||||||
PSTxDesc pHeadTD,
|
|
||||||
PSEthernetHeader psEthHeader,
|
|
||||||
unsigned char *pPacket,
|
|
||||||
BOOL bNeedEncrypt,
|
|
||||||
PSKeyItem pTransmitKey,
|
|
||||||
unsigned int uNodeIndex,
|
|
||||||
PUINT puMACfragNum
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
unsigned int cbMACHdLen;
|
unsigned int cbMACHdLen;
|
||||||
unsigned int cbFrameSize;
|
unsigned int cbFrameSize;
|
||||||
|
@ -2094,21 +2072,11 @@ s_cbFillTxBufHead (
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
vGenerateFIFOHeader (
|
vGenerateFIFOHeader(PSDevice pDevice, unsigned char byPktType, unsigned char *pbyTxBufferAddr,
|
||||||
PSDevice pDevice,
|
BOOL bNeedEncrypt, unsigned int cbPayloadSize, unsigned int uDMAIdx,
|
||||||
unsigned char byPktType,
|
PSTxDesc pHeadTD, PSEthernetHeader psEthHeader, unsigned char *pPacket,
|
||||||
unsigned char *pbyTxBufferAddr,
|
PSKeyItem pTransmitKey, unsigned int uNodeIndex, unsigned int *puMACfragNum,
|
||||||
BOOL bNeedEncrypt,
|
unsigned int *pcbHeaderSize)
|
||||||
unsigned int cbPayloadSize,
|
|
||||||
unsigned int uDMAIdx,
|
|
||||||
PSTxDesc pHeadTD,
|
|
||||||
PSEthernetHeader psEthHeader,
|
|
||||||
unsigned char *pPacket,
|
|
||||||
PSKeyItem pTransmitKey,
|
|
||||||
unsigned int uNodeIndex,
|
|
||||||
PUINT puMACfragNum,
|
|
||||||
PUINT pcbHeaderSize
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
unsigned int wTxBufSize; // FFinfo size
|
unsigned int wTxBufSize; // FFinfo size
|
||||||
BOOL bNeedACK;
|
BOOL bNeedACK;
|
||||||
|
|
|
@ -40,23 +40,14 @@
|
||||||
/*--------------------- Export Functions --------------------------*/
|
/*--------------------- Export Functions --------------------------*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
void vGenerateMACHeader(
|
void
|
||||||
PSDevice pDevice,
|
vGenerateMACHeader(PSDevice pDevice, unsigned long dwTxBufferAddr, unsigned char *pbySkbData,
|
||||||
unsigned long dwTxBufferAddr,
|
unsigned int cbPacketSize, BOOL bDMA0Used, unsigned int *pcbHeadSize,
|
||||||
unsigned char *pbySkbData,
|
unsigned int *pcbAppendPayload);
|
||||||
unsigned int cbPacketSize,
|
|
||||||
BOOL bDMA0Used,
|
|
||||||
PUINT pcbHeadSize,
|
|
||||||
PUINT pcbAppendPayload
|
|
||||||
);
|
|
||||||
|
|
||||||
void vProcessRxMACHeader (
|
void
|
||||||
PSDevice pDevice,
|
vProcessRxMACHeader(PSDevice pDevice, unsigned long dwRxBufferAddr, unsigned int cbPacketSize,
|
||||||
unsigned long dwRxBufferAddr,
|
BOOL bIsWEP, unsigned int *pcbHeadSize);
|
||||||
unsigned int cbPacketSize,
|
|
||||||
BOOL bIsWEP,
|
|
||||||
PUINT pcbHeadSize
|
|
||||||
);
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -83,21 +74,10 @@ cbGetFragCount(
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
vGenerateFIFOHeader (
|
vGenerateFIFOHeader(PSDevice pDevice, unsigned char byPktTyp, unsigned char *pbyTxBufferAddr,
|
||||||
PSDevice pDevice,
|
BOOL bNeedEncrypt, unsigned int cbPayloadSize, unsigned int uDMAIdx, PSTxDesc pHeadTD,
|
||||||
unsigned char byPktTyp,
|
PSEthernetHeader psEthHeader, unsigned char *pPacket, PSKeyItem pTransmitKey,
|
||||||
unsigned char *pbyTxBufferAddr,
|
unsigned int uNodeIndex, unsigned int *puMACfragNum, unsigned int *pcbHeaderSize);
|
||||||
BOOL bNeedEncrypt,
|
|
||||||
unsigned int cbPayloadSize,
|
|
||||||
unsigned int uDMAIdx,
|
|
||||||
PSTxDesc pHeadTD,
|
|
||||||
PSEthernetHeader psEthHeader,
|
|
||||||
unsigned char *pPacket,
|
|
||||||
PSKeyItem pTransmitKey,
|
|
||||||
unsigned int uNodeIndex,
|
|
||||||
PUINT puMACfragNum,
|
|
||||||
PUINT pcbHeaderSize
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
void vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, unsigned char *pbMPDU, unsigned int cbMPDULen);
|
void vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, unsigned char *pbMPDU, unsigned int cbMPDULen);
|
||||||
|
|
|
@ -82,9 +82,6 @@ typedef UQuadWord QWORD; // 64-bit
|
||||||
|
|
||||||
/****** Common pointer types ***********************************************/
|
/****** Common pointer types ***********************************************/
|
||||||
|
|
||||||
// boolean pointer
|
|
||||||
typedef unsigned int * PUINT;
|
|
||||||
|
|
||||||
typedef QWORD * PQWORD;
|
typedef QWORD * PQWORD;
|
||||||
|
|
||||||
#endif // __TTYPE_H__
|
#endif // __TTYPE_H__
|
||||||
|
|
|
@ -425,11 +425,7 @@ VNTWIFIbGetConfigPhyMode (
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
VNTWIFIvQueryBSSList (
|
VNTWIFIvQueryBSSList(void *pMgmtHandle, unsigned int *puBSSCount, void **pvFirstBSS)
|
||||||
void *pMgmtHandle,
|
|
||||||
PUINT puBSSCount,
|
|
||||||
void **pvFirstBSS
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
unsigned int ii = 0;
|
unsigned int ii = 0;
|
||||||
PSMgmtObject pMgmt = (PSMgmtObject)pMgmtHandle;
|
PSMgmtObject pMgmt = (PSMgmtObject)pMgmtHandle;
|
||||||
|
|
|
@ -208,14 +208,8 @@ VNTWIFIbGetConfigPhyMode(
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
VNTWIFIvQueryBSSList(
|
VNTWIFIvQueryBSSList(void *pMgmtHandle, unsigned int *puBSSCount,
|
||||||
void *pMgmtHandle,
|
void **pvFirstBSS);
|
||||||
PUINT puBSSCount,
|
|
||||||
void **pvFirstBSS
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
VNTWIFIvGetNextBSS (
|
VNTWIFIvGetNextBSS (
|
||||||
|
|
Loading…
Reference in a new issue