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 Variables --------------------------*/
40 /*--------------------- Export Functions --------------------------*/
42 /* MIC HDR data header */
46 u8 mic_addr2
[ETH_ALEN
];
47 u8 ccmp_pn
[IEEE80211_CCMP_PN_LEN
];
56 u16 packing
; /* packing to 48 bytes */
62 unsigned char *pbyBufferAddr
,
63 unsigned short wDuration
,
64 PSEthernetHeader psEthHeader
,
66 unsigned short wFragType
,
74 PSKeyItem pTransmitKey
,
75 unsigned int cbFrameBodySize
,
76 PSEthernetHeader psEthHeader
80 vGenerateFIFOHeader(struct vnt_private
*, unsigned char byPktTyp
,
81 unsigned char *pbyTxBufferAddr
, bool bNeedEncrypt
,
82 unsigned int cbPayloadSize
, unsigned int uDMAIdx
,
83 PSTxDesc pHeadTD
, PSEthernetHeader psEthHeader
,
84 unsigned char *pPacket
, PSKeyItem pTransmitKey
,
85 unsigned int uNodeIndex
, unsigned int *puMACfragNum
,
86 unsigned int *pcbHeaderSize
);
88 void vDMA0_tx_80211(struct vnt_private
*, struct sk_buff
*skb
,
89 unsigned char *pbMPDU
, unsigned int cbMPDULen
);
90 CMD_STATUS
csMgmt_xmit(struct vnt_private
*, PSTxMgmtPacket pPacket
);
91 CMD_STATUS
csBeacon_xmit(struct vnt_private
*, PSTxMgmtPacket pPacket
);