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
mac80211_hwsim.h
Go to the documentation of this file.
1
/*
2
* mac80211_hwsim - software simulator of 802.11 radio(s) for mac80211
3
* Copyright (c) 2008, Jouni Malinen <
[email protected]
>
4
* Copyright (c) 2011, Javier Lopez <
[email protected]
>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation.
9
*/
10
11
#ifndef __MAC80211_HWSIM_H
12
#define __MAC80211_HWSIM_H
13
25
enum
hwsim_tx_control_flags
{
26
HWSIM_TX_CTL_REQ_TX_STATUS
=
BIT
(0),
27
HWSIM_TX_CTL_NO_ACK
=
BIT
(1),
28
HWSIM_TX_STAT_ACK
=
BIT
(2),
29
};
30
70
enum
{
71
HWSIM_CMD_UNSPEC
,
72
HWSIM_CMD_REGISTER
,
73
HWSIM_CMD_FRAME
,
74
HWSIM_CMD_TX_INFO_FRAME
,
75
__HWSIM_CMD_MAX
,
76
};
77
#define HWSIM_CMD_MAX (_HWSIM_CMD_MAX - 1)
78
101
enum
{
102
HWSIM_ATTR_UNSPEC
,
103
HWSIM_ATTR_ADDR_RECEIVER
,
104
HWSIM_ATTR_ADDR_TRANSMITTER
,
105
HWSIM_ATTR_FRAME
,
106
HWSIM_ATTR_FLAGS
,
107
HWSIM_ATTR_RX_RATE
,
108
HWSIM_ATTR_SIGNAL
,
109
HWSIM_ATTR_TX_INFO
,
110
HWSIM_ATTR_COOKIE
,
111
__HWSIM_ATTR_MAX
,
112
};
113
#define HWSIM_ATTR_MAX (__HWSIM_ATTR_MAX - 1)
114
128
struct
hwsim_tx_rate
{
129
s8
idx
;
130
u8
count
;
131
}
__packed
;
132
133
#endif
/* __MAC80211_HWSIM_H */
Generated on Thu Jan 10 2013 14:12:07 for Linux Kernel by
1.8.2