GNU Radio's IEEE802_11 Package
signal_field_impl.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2013 Bastian Bloessl <bloessl@ccs-labs.org>
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef INCLUDED_IEEE802_11_SIGNAL_FIELD_IMPL_H
19
#define INCLUDED_IEEE802_11_SIGNAL_FIELD_IMPL_H
20
21
#include "
utils.h
"
22
#include <
ieee802_11/signal_field.h
>
23
24
namespace
gr
{
25
namespace
ieee802_11
{
26
27
class
signal_field_impl
:
public
signal_field
28
{
29
public
:
30
signal_field_impl
();
31
~signal_field_impl
();
32
33
bool
34
header_formatter
(
long
packet_len,
unsigned
char
* out,
const
std::vector<tag_t>& tags);
35
36
bool
header_parser(
const
unsigned
char
* header, std::vector<tag_t>& tags);
37
38
private
:
39
int
get_bit(
int
b,
int
i);
40
void
generate_signal_field(
char
* out,
frame_param
& frame,
ofdm_param
& ofdm);
41
};
42
43
}
// namespace ieee802_11
44
}
// namespace gr
45
46
#endif
/* INCLUDED_IEEE802_11_SIGNAL_FIELD_IMPL_H */
frame_param
Definition
utils.h:80
gr::ieee802_11::signal_field_impl::header_formatter
bool header_formatter(long packet_len, unsigned char *out, const std::vector< tag_t > &tags)
gr::ieee802_11::signal_field_impl::signal_field_impl
signal_field_impl()
gr::ieee802_11::signal_field_impl::~signal_field_impl
~signal_field_impl()
gr::ieee802_11::signal_field::signal_field
signal_field()
ofdm_param
Definition
utils.h:58
gr::ieee802_11
Definition
chunks_to_symbols.h:24
gr
Definition
chunks_to_symbols.h:23
signal_field.h
utils.h
lib
signal_field_impl.h
Generated by
1.16.1