GNU Radio's IEEE802_11 Package
ls.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#ifndef INCLUDED_IEEE802_11_EQUALIZER_LS_H
19#define INCLUDED_IEEE802_11_EQUALIZER_LS_H
20
21#include "base.h"
22#include <vector>
23
24namespace gr {
25namespace ieee802_11 {
26namespace equalizer {
27
28class ls : public base
29{
30public:
31 virtual void equalize(gr_complex* in,
32 int n,
33 gr_complex* symbols,
34 uint8_t* bits,
35 std::shared_ptr<gr::digital::constellation> mod);
36 virtual double get_snr();
37
38private:
39 double d_snr;
40};
41
42} // namespace equalizer
43} /* namespace ieee802_11 */
44} /* namespace gr */
45
46#endif /* INCLUDED_IEEE802_11_EQUALIZER_LS_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