22 #ifndef INCLUDED_DIGITAL_OFDM_EQUALIZER_BASE_H
23 #define INCLUDED_DIGITAL_OFDM_EQUALIZER_BASE_H
28 #include <boost/enable_shared_from_this.hpp>
38 :
public boost::enable_shared_from_this<ofdm_equalizer_base>
44 typedef boost::shared_ptr<ofdm_equalizer_base>
sptr;
50 virtual void reset() = 0;
52 virtual void equalize(
55 const std::vector<gr_complex> &initial_taps = std::vector<gr_complex>(),
56 const std::vector<tag_t> &tags = std::vector<tag_t>()) = 0;
58 virtual void get_channel_state(std::vector<gr_complex> &
taps) = 0;
60 sptr
base() {
return shared_from_this(); };
88 typedef boost::shared_ptr<ofdm_equalizer_1d_pilots>
sptr;
92 const std::vector<std::vector<int> > &occupied_carriers,
93 const std::vector<std::vector<int> > &pilot_carriers,
94 const std::vector<std::vector<gr_complex> > &pilot_symbols,
96 bool input_is_shifted);
100 void get_channel_state(std::vector<gr_complex> &
taps);
std::vector< gr_complex > d_channel_state
Vector of length d_fft_len saving the current channel state (on the occupied carriers) ...
Definition: ofdm_equalizer_base.h:85
std::vector< std::vector< bool > > d_pilot_carriers
If d_pilot_carriers[k][l] is true, symbol k, carrier l is carrying data.
Definition: ofdm_equalizer_base.h:76
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:30
std::vector< bool > d_occupied_carriers
If d_occupied_carriers[k][l] is true, symbol k, carrier l is carrying data.
Definition: ofdm_equalizer_base.h:73
std::vector< std::vector< gr_complex > > d_pilot_symbols
If d_pilot_carriers[k][l] is true, d_pilot_symbols[k][l] is its tx'd value.
Definition: ofdm_equalizer_base.h:79
int d_pilot_carr_set
The current position in the set of pilot symbols.
Definition: ofdm_equalizer_base.h:83
std::complex< float > gr_complex
Definition: gr_complex.h:27
Include this header to use the message passing features.
Definition: logger.h:131
boost::shared_ptr< ofdm_equalizer_base > sptr
Definition: ofdm_equalizer_base.h:44
boost::shared_ptr< ofdm_equalizer_1d_pilots > sptr
Definition: ofdm_equalizer_base.h:88
sptr base()
Definition: ofdm_equalizer_base.h:60
static const float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
Definition: ofdm_equalizer_base.h:37
Definition: ofdm_equalizer_base.h:68
int fft_len()
Definition: ofdm_equalizer_base.h:59
int d_symbols_skipped
In case the frame doesn't begin with OFDM symbol 0, this is the index of the first symbol...
Definition: ofdm_equalizer_base.h:81
int d_fft_len
Definition: ofdm_equalizer_base.h:41