22 #ifndef INCLUDED_DIGITAL_OFDM_EQUALIZER_BASE_H 23 #define INCLUDED_DIGITAL_OFDM_EQUALIZER_BASE_H 28 #include <boost/enable_shared_from_this.hpp> 39 :
public boost::enable_shared_from_this<ofdm_equalizer_base>
45 typedef boost::shared_ptr<ofdm_equalizer_base>
sptr;
51 virtual void reset() = 0;
53 virtual void equalize(
56 const std::vector<gr_complex> &initial_taps = std::vector<gr_complex>(),
57 const std::vector<tag_t> &tags = std::vector<tag_t>()) = 0;
59 virtual void get_channel_state(std::vector<gr_complex> &
taps) = 0;
61 sptr
base() {
return shared_from_this(); };
89 typedef boost::shared_ptr<ofdm_equalizer_1d_pilots>
sptr;
93 const std::vector<std::vector<int> > &occupied_carriers,
94 const std::vector<std::vector<int> > &pilot_carriers,
95 const std::vector<std::vector<gr_complex> > &pilot_symbols,
97 bool input_is_shifted);
101 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:86
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:77
#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:74
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:80
int d_pilot_carr_set
The current position in the set of pilot symbols.
Definition: ofdm_equalizer_base.h:84
std::complex< float > gr_complex
Definition: gr_complex.h:27
Include this header to use the message passing features.
Definition: logger.h:695
boost::shared_ptr< ofdm_equalizer_base > sptr
Definition: ofdm_equalizer_base.h:45
boost::shared_ptr< ofdm_equalizer_1d_pilots > sptr
Definition: ofdm_equalizer_base.h:89
sptr base()
Definition: ofdm_equalizer_base.h:61
static const float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
Base class for implementation details of frequency-domain OFDM equalizers.
Definition: ofdm_equalizer_base.h:38
Definition: ofdm_equalizer_base.h:69
int fft_len()
Definition: ofdm_equalizer_base.h:60
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:82
int d_fft_len
Definition: ofdm_equalizer_base.h:42