GNU Radio's IEEE802_11 Package
comb.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015 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_EQUALIZER_COMB_H
19#define INCLUDED_IEEE802_11_EQUALIZER_COMB_H
20
21#include "base.h"
22
23namespace gr {
24namespace ieee802_11 {
25namespace equalizer {
26
27class comb : public base
28{
29public:
30 virtual void equalize(gr_complex* in,
31 int n,
32 gr_complex* symbols,
33 uint8_t* bits,
34 std::shared_ptr<gr::digital::constellation> mod);
35 double get_snr();
36
37private:
38 const double alpha = 0.2;
39};
40
41} // namespace equalizer
42} /* namespace ieee802_11 */
43} /* namespace gr */
44
45#endif /* INCLUDED_IEEE802_11_EQUALIZER_COMB_H */
Definition equalizer/base.h:29
virtual void equalize(gr_complex *in, int n, gr_complex *symbols, uint8_t *bits, std::shared_ptr< gr::digital::constellation > mod)
Definition equalizer/base.h:26
Definition chunks_to_symbols.h:24
Definition chunks_to_symbols.h:23