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.
36 /*--------------------- Export Definitions -------------------------*/
38 /*--------------------- Export Classes ----------------------------*/
40 /*--------------------- Export Variables --------------------------*/
42 /*--------------------- Export Functions --------------------------*/
46 extern "C" { /* Assume C declarations for C++ */
47 #endif /* __cplusplus */
50 VOID vGenerateMACHeader(
52 IN DWORD dwTxBufferAddr,
56 OUT PUINT pcbHeadSize,
57 OUT PUINT pcbAppendPayload
60 VOID vProcessRxMACHeader (
62 IN DWORD dwRxBufferAddr,
73 IN PBYTE pbyBufferAddr,
75 IN PSEthernetHeader psEthHeader,
86 IN PSKeyItem pTransmitKey,
87 IN UINT cbFrameBodySize,
88 IN PSEthernetHeader psEthHeader
96 IN PBYTE pbyTxBufferAddr,
98 IN UINT cbPayloadSize,
101 IN PSEthernetHeader psEthHeader,
103 IN PSKeyItem pTransmitKey,
105 OUT PUINT puMACfragNum,
106 OUT PUINT pcbHeaderSize
110 VOID vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, PBYTE pbMPDU, UINT cbMPDULen);
111 CMD_STATUS csMgmt_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket);
112 CMD_STATUS csBeacon_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket);
115 } /* End of extern "C" { */
116 #endif /* __cplusplus */