Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
staging
rtl8712
xmit_osdep.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
4
*
5
* This program is free software; you can redistribute it and/or modify it
6
* under the terms of version 2 of the GNU General Public License as
7
* published by the Free Software Foundation.
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12
* more details.
13
*
14
* You should have received a copy of the GNU General Public License along with
15
* this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17
*
18
* Modifications for inclusion into the Linux staging tree are
19
* Copyright(c) 2010 Larry Finger. All rights reserved.
20
*
21
* Contact information:
22
* WLAN FAE <
[email protected]
>
23
* Larry Finger <
[email protected]
>
24
*
25
******************************************************************************/
26
#ifndef __XMIT_OSDEP_H_
27
#define __XMIT_OSDEP_H_
28
29
#include "
osdep_service.h
"
30
#include "
drv_types.h
"
31
32
struct
pkt_file
{
33
_pkt
*
pkt
;
34
u32
pkt_len
;
/*the remainder length of the open_file*/
35
_buffer
*
cur_buffer
;
36
u8
*
buf_start
;
37
u8
*
cur_addr
;
38
u32
buf_len
;
39
};
40
41
#define NR_XMITFRAME 256
42
43
struct
xmit_priv
;
44
struct
pkt_attrib
;
45
struct
sta_xmit_priv
;
46
struct
xmit_frame
;
47
struct
xmit_buf
;
48
49
int
r8712_xmit_entry
(
_pkt
*pkt,
struct
net_device
*pnetdev);
50
void
r8712_SetFilter
(
struct
work_struct
*
work
);
51
int
r8712_xmit_resource_alloc
(
struct
_adapter
*padapter,
52
struct
xmit_buf
*pxmitbuf);
53
void
r8712_xmit_resource_free
(
struct
_adapter
*padapter,
54
struct
xmit_buf
*pxmitbuf);
55
56
void
r8712_set_qos
(
struct
pkt_file
*ppktfile,
57
struct
pkt_attrib
*pattrib);
58
void
_r8712_open_pktfile
(
_pkt
*pktptr,
struct
pkt_file
*pfile);
59
uint
_r8712_pktfile_read
(
struct
pkt_file
*pfile,
u8
*rmem,
uint
rlen);
60
sint
r8712_endofpktfile
(
struct
pkt_file
*pfile);
61
void
r8712_xmit_complete
(
struct
_adapter
*padapter,
62
struct
xmit_frame
*pxframe);
63
64
#endif
Generated on Thu Jan 10 2013 14:31:15 for Linux Kernel by
1.8.2