ACPI: thinkpad-acpi: add development version tag
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / vt6655 / rxtx.h
blob5da815efe70bf243ef5bbfb8e4eae9aa8791d233
1 /*
2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3 * All rights reserved.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 * File: rxtx.h
21 * Purpose:
23 * Author: Jerry Chen
25 * Date: Jun. 27, 2002
29 #ifndef __RXTX_H__
30 #define __RXTX_H__
32 #include "ttype.h"
33 #include "device.h"
34 #include "wcmd.h"
36 /*--------------------- Export Definitions -------------------------*/
38 /*--------------------- Export Variables --------------------------*/
40 /*--------------------- Export Functions --------------------------*/
43 VOID vGenerateMACHeader(
44 IN PSDevice pDevice,
45 IN DWORD dwTxBufferAddr,
46 IN PBYTE pbySkbData,
47 IN UINT cbPacketSize,
48 IN BOOL bDMA0Used,
49 OUT PUINT pcbHeadSize,
50 OUT PUINT pcbAppendPayload
53 VOID vProcessRxMACHeader (
54 IN PSDevice pDevice,
55 IN DWORD dwRxBufferAddr,
56 IN UINT cbPacketSize,
57 IN BOOL bIsWEP,
58 OUT PUINT pcbHeadSize
63 VOID
64 vGenerateMACHeader (
65 IN PSDevice pDevice,
66 IN PBYTE pbyBufferAddr,
67 IN WORD wDuration,
68 IN PSEthernetHeader psEthHeader,
69 IN BOOL bNeedEncrypt,
70 IN WORD wFragType,
71 IN UINT uDMAIdx,
72 IN UINT uFragIdx
76 UINT
77 cbGetFragCount(
78 IN PSDevice pDevice,
79 IN PSKeyItem pTransmitKey,
80 IN UINT cbFrameBodySize,
81 IN PSEthernetHeader psEthHeader
85 VOID
86 vGenerateFIFOHeader (
87 IN PSDevice pDevice,
88 IN BYTE byPktTyp,
89 IN PBYTE pbyTxBufferAddr,
90 IN BOOL bNeedEncrypt,
91 IN UINT cbPayloadSize,
92 IN UINT uDMAIdx,
93 IN PSTxDesc pHeadTD,
94 IN PSEthernetHeader psEthHeader,
95 IN PBYTE pPacket,
96 IN PSKeyItem pTransmitKey,
97 IN UINT uNodeIndex,
98 OUT PUINT puMACfragNum,
99 OUT PUINT pcbHeaderSize
103 VOID vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, PBYTE pbMPDU, UINT cbMPDULen);
104 CMD_STATUS csMgmt_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket);
105 CMD_STATUS csBeacon_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket);
107 #endif // __RXTX_H__