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
net
wireless
rt2x00
rt2x00dump.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2004 - 2009 Ivo van Doorn <
[email protected]
>
3
<http://rt2x00.serialmonkey.com>
4
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.
9
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.
14
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the
17
Free Software Foundation, Inc.,
18
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
*/
20
21
/*
22
Module: rt2x00dump
23
Abstract:
24
Data structures for the rt2x00debug & userspace.
25
26
The declarations in this file can be used by both rt2x00
27
and userspace and therefore should be kept together in
28
this file.
29
*/
30
31
#ifndef RT2X00DUMP_H
32
#define RT2X00DUMP_H
33
73
enum
rt2x00_dump_type
{
74
DUMP_FRAME_RXDONE
= 1,
75
DUMP_FRAME_TX
= 2,
76
DUMP_FRAME_TXDONE
= 3,
77
DUMP_FRAME_BEACON
= 4,
78
};
79
109
struct
rt2x00dump_hdr
{
110
__le32
version
;
111
#define DUMP_HEADER_VERSION 2
112
113
__le32
header_length
;
114
__le32
desc_length
;
115
__le32
data_length
;
116
117
__le16
chip_rt
;
118
__le16
chip_rf
;
119
__le16
chip_rev
;
120
121
__le16
type
;
122
__u8
queue_index
;
123
__u8
entry_index
;
124
125
__le32
timestamp_sec
;
126
__le32
timestamp_usec
;
127
};
128
129
#endif
/* RT2X00DUMP_H */
Generated on Thu Jan 10 2013 14:12:53 for Linux Kernel by
1.8.2