GNU Radio's IEEE802_11 Package
frame_equalizer.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2016 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
19
20#ifndef INCLUDED_IEEE802_11_FRAME_EQUALIZER_H
21#define INCLUDED_IEEE802_11_FRAME_EQUALIZER_H
22
23#include <gnuradio/block.h>
24#include <ieee802_11/api.h>
25
26namespace gr {
27namespace ieee802_11 {
28
30 LS = 0,
31 LMS = 1,
32 COMB = 2,
33 STA = 3,
34};
35
36
37class IEEE802_11_API frame_equalizer : virtual public gr::block
38{
39
40public:
41 typedef std::shared_ptr<frame_equalizer> sptr;
42 static sptr make(Equalizer algo, double freq, double bw, bool log, bool debug);
43 virtual void set_algorithm(Equalizer algo) = 0;
44 virtual void set_bandwidth(double bw) = 0;
45 virtual void set_frequency(double freq) = 0;
46};
47
48} // namespace ieee802_11
49} // namespace gr
50
51#endif /* INCLUDED_IEEE802_11_FRAME_EQUALIZER_H */
#define IEEE802_11_API
Definition api.h:19
Definition frame_equalizer.h:38
virtual void set_algorithm(Equalizer algo)=0
virtual void set_frequency(double freq)=0
static sptr make(Equalizer algo, double freq, double bw, bool log, bool debug)
virtual void set_bandwidth(double bw)=0
std::shared_ptr< frame_equalizer > sptr
Definition frame_equalizer.h:41
Definition chunks_to_symbols.h:24
Equalizer
Definition frame_equalizer.h:29
@ LS
Definition frame_equalizer.h:30
@ COMB
Definition frame_equalizer.h:32
@ LMS
Definition frame_equalizer.h:31
@ STA
Definition frame_equalizer.h:33
Definition chunks_to_symbols.h:23