Moep Library
2.0-nc
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
radio.h
Go to the documentation of this file.
1
/*
2
* Copyright 2013, 2014 Maurice Leclaire <leclaire@in.tum.de>
3
* Stephan M. Guenther <moepi@moepi.net>
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 version 2 as
7
* published by the Free Software Foundation.
8
*
9
* See COPYING for more details.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
26
#ifndef __MOEP80211_MODULES_RADIO_H
27
#define __MOEP80211_MODULES_RADIO_H
28
29
#include <
moep/dev.h
>
30
#include <
moep/frame.h
>
31
#include <moep/radiotap.h>
32
33
37
enum
moep80211_chan_width
{
38
42
MOEP80211_CHAN_WIDTH_20_NOHT
,
43
47
MOEP80211_CHAN_WIDTH_20
,
48
55
MOEP80211_CHAN_WIDTH_40
,
56
63
MOEP80211_CHAN_WIDTH_80
,
64
71
MOEP80211_CHAN_WIDTH_80P80
,
72
79
MOEP80211_CHAN_WIDTH_160
,
80
};
81
82
struct
moep_frame_ops
;
83
84
116
moep_dev_t
moep_dev_radio_open
(
const
char
*devname, u32 freq,
117
enum
moep80211_chan_width
chan_width,
118
u32 freq1, u32 freq2,
int
mtu,
119
struct
moep_frame_ops
*l2_ops);
120
136
moep_frame_t
moep_frame_radio_create
(
struct
moep_frame_ops
*l2_ops);
137
155
struct
moep80211_radiotap
*
moep_frame_radiotap
(
moep_frame_t
frame);
156
158
#endif
/* __MOEP80211_MODULES_RADIO_H */
moep_frame_t
struct moep_frame * moep_frame_t
a moep frame
Definition:
frame.h:45
moep80211_radiotap
Definition:
radiotap.h:27
moep_dev_radio_open
moep_dev_t moep_dev_radio_open(const char *devname, u32 freq, enum moep80211_chan_width chan_width, u32 freq1, u32 freq2, int mtu, struct moep_frame_ops *l2_ops)
open a radio device
MOEP80211_CHAN_WIDTH_20
20 MHz, HT channel
Definition:
radio.h:47
moep_frame_radio_create
moep_frame_t moep_frame_radio_create(struct moep_frame_ops *l2_ops)
create a radio frame
moep_frame_radiotap
struct moep80211_radiotap * moep_frame_radiotap(moep_frame_t frame)
radiotap header
frame.h
MOEP80211_CHAN_WIDTH_40
40 MHz channel
Definition:
radio.h:55
moep80211_chan_width
moep80211_chan_width
channel width definition
Definition:
radio.h:37
moep_frame_ops
frame header operations
Definition:
module.h:57
MOEP80211_CHAN_WIDTH_80P80
80+80 MHz channel
Definition:
radio.h:71
moep_dev_t
struct moep_dev * moep_dev_t
a moep device
Definition:
dev.h:46
dev.h
MOEP80211_CHAN_WIDTH_80
80 MHz channel
Definition:
radio.h:63
MOEP80211_CHAN_WIDTH_20_NOHT
20 MHz, non-HT channel
Definition:
radio.h:42
MOEP80211_CHAN_WIDTH_160
160 MHz channel
Definition:
radio.h:79
moep
modules
radio.h
Generated on Tue Nov 20 2018 09:46:11 for Moep Library by
1.8.6