2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
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.
33 #if !defined(__TTYPE_H__)
36 #if !defined(__DEVICE_H__)
39 #if !defined(__WCMD_H__)
44 /*--------------------- Export Definitions -------------------------*/
46 /*--------------------- Export Classes ----------------------------*/
48 /*--------------------- Export Variables --------------------------*/
50 /*--------------------- Export Functions --------------------------*/
54 extern "C" { /* Assume C declarations for C++ */
55 #endif /* __cplusplus */
58 VOID vGenerateMACHeader(
60 IN DWORD dwTxBufferAddr,
64 OUT PUINT pcbHeadSize,
65 OUT PUINT pcbAppendPayload
68 VOID vProcessRxMACHeader (
70 IN DWORD dwRxBufferAddr,
81 IN PBYTE pbyBufferAddr
,
83 IN PSEthernetHeader psEthHeader
,
94 IN PSKeyItem pTransmitKey
,
95 IN UINT cbFrameBodySize
,
96 IN PSEthernetHeader psEthHeader
101 vGenerateFIFOHeader (
104 IN PBYTE pbyTxBufferAddr
,
105 IN BOOL bNeedEncrypt
,
106 IN UINT cbPayloadSize
,
109 IN PSEthernetHeader psEthHeader
,
111 IN PSKeyItem pTransmitKey
,
113 OUT PUINT puMACfragNum
,
114 OUT PUINT pcbHeaderSize
118 VOID
vDMA0_tx_80211(PSDevice pDevice
, struct sk_buff
*skb
, PBYTE pbMPDU
, UINT cbMPDULen
);
119 CMD_STATUS
csMgmt_xmit(PSDevice pDevice
, PSTxMgmtPacket pPacket
);
120 CMD_STATUS
csBeacon_xmit(PSDevice pDevice
, PSTxMgmtPacket pPacket
);
123 } /* End of extern "C" { */
124 #endif /* __cplusplus */