52 lines
1.4 KiB
C++
52 lines
1.4 KiB
C++
/*
|
|
* Copyright (C) 2016 Bastian Bloessl <bloessl@ccs-labs.org>
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
|
|
#ifndef INCLUDED_IEEE802_11_FRAME_EQUALIZER_H
|
|
#define INCLUDED_IEEE802_11_FRAME_EQUALIZER_H
|
|
|
|
#include <ieee802_11/api.h>
|
|
#include <gnuradio/block.h>
|
|
|
|
enum Equalizer {
|
|
LS = 0,
|
|
LMS = 1,
|
|
COMB = 2,
|
|
STA = 3,
|
|
};
|
|
|
|
namespace gr {
|
|
namespace ieee802_11 {
|
|
|
|
class IEEE802_11_API frame_equalizer : virtual public gr::block
|
|
{
|
|
|
|
public:
|
|
typedef boost::shared_ptr<frame_equalizer> sptr;
|
|
static sptr make(Equalizer algo, double freq, double bw,
|
|
bool log, bool debug);
|
|
virtual void set_algorithm(Equalizer algo) = 0;
|
|
virtual void set_bandwidth(double bw) = 0;
|
|
virtual void set_frequency(double freq) = 0;
|
|
};
|
|
|
|
} // namespace ieee802_11
|
|
} // namespace gr
|
|
|
|
#endif /* INCLUDED_IEEE802_11_FRAME_EQUALIZER_H */
|