diff options
Diffstat (limited to 'drivers/staging/vt6655/rxtx.h')
-rw-r--r-- | drivers/staging/vt6655/rxtx.h | 62 |
1 files changed, 21 insertions, 41 deletions
diff --git a/drivers/staging/vt6655/rxtx.h b/drivers/staging/vt6655/rxtx.h index b008fc2..fa827b8 100644 --- a/drivers/staging/vt6655/rxtx.h +++ b/drivers/staging/vt6655/rxtx.h @@ -40,67 +40,47 @@ /*--------------------- Export Functions --------------------------*/ /* -void vGenerateMACHeader( - PSDevice pDevice, - DWORD dwTxBufferAddr, - PBYTE pbySkbData, - UINT cbPacketSize, - BOOL bDMA0Used, - PUINT pcbHeadSize, - PUINT pcbAppendPayload - ); - -void vProcessRxMACHeader ( - PSDevice pDevice, - DWORD dwRxBufferAddr, - UINT cbPacketSize, - BOOL bIsWEP, - PUINT pcbHeadSize - ); +void +vGenerateMACHeader(PSDevice pDevice, unsigned long dwTxBufferAddr, unsigned char *pbySkbData, + unsigned int cbPacketSize, bool bDMA0Used, unsigned int *pcbHeadSize, + unsigned int *pcbAppendPayload); + +void +vProcessRxMACHeader(PSDevice pDevice, unsigned long dwRxBufferAddr, unsigned int cbPacketSize, + bool bIsWEP, unsigned int *pcbHeadSize); */ void vGenerateMACHeader ( PSDevice pDevice, - PBYTE pbyBufferAddr, - WORD wDuration, + unsigned char *pbyBufferAddr, + unsigned short wDuration, PSEthernetHeader psEthHeader, - BOOL bNeedEncrypt, - WORD wFragType, - UINT uDMAIdx, - UINT uFragIdx + bool bNeedEncrypt, + unsigned short wFragType, + unsigned int uDMAIdx, + unsigned int uFragIdx ); -UINT +unsigned int cbGetFragCount( PSDevice pDevice, PSKeyItem pTransmitKey, - UINT cbFrameBodySize, + unsigned int cbFrameBodySize, PSEthernetHeader psEthHeader ); void -vGenerateFIFOHeader ( - PSDevice pDevice, - BYTE byPktTyp, - PBYTE pbyTxBufferAddr, - BOOL bNeedEncrypt, - UINT cbPayloadSize, - UINT uDMAIdx, - PSTxDesc pHeadTD, - PSEthernetHeader psEthHeader, - PBYTE pPacket, - PSKeyItem pTransmitKey, - UINT uNodeIndex, - PUINT puMACfragNum, - PUINT pcbHeaderSize - ); +vGenerateFIFOHeader(PSDevice pDevice, unsigned char byPktTyp, unsigned char *pbyTxBufferAddr, + bool bNeedEncrypt, unsigned int cbPayloadSize, unsigned int uDMAIdx, PSTxDesc pHeadTD, + PSEthernetHeader psEthHeader, unsigned char *pPacket, PSKeyItem pTransmitKey, + unsigned int uNodeIndex, unsigned int *puMACfragNum, unsigned int *pcbHeaderSize); -void vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, PBYTE pbMPDU, UINT cbMPDULen); +void vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, unsigned char *pbMPDU, unsigned int cbMPDULen); CMD_STATUS csMgmt_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket); CMD_STATUS csBeacon_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket); |