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;
56 const std::vector<gr_complex>& initial_taps = std::vector<gr_complex>(),
57 const std::vector<tag_t>& tags = std::vector<tag_t>()) = 0;
91 typedef boost::shared_ptr<ofdm_equalizer_1d_pilots>
sptr;
94 const std::vector<std::vector<int> >& occupied_carriers,
95 const std::vector<std::vector<int> >& pilot_carriers,
96 const std::vector<std::vector<gr_complex> >& pilot_symbols,
98 bool input_is_shifted);
Definition: ofdm_equalizer_base.h:70
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:83
ofdm_equalizer_1d_pilots(int fft_len, const std::vector< std::vector< int > > &occupied_carriers, const std::vector< std::vector< int > > &pilot_carriers, const std::vector< std::vector< gr_complex > > &pilot_symbols, int symbols_skipped, bool input_is_shifted)
boost::shared_ptr< ofdm_equalizer_1d_pilots > sptr
Definition: ofdm_equalizer_base.h:91
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
void get_channel_state(std::vector< gr_complex > &taps)
Return the current channel state.
int d_pilot_carr_set
The current position in the set of pilot symbols.
Definition: ofdm_equalizer_base.h:85
void reset()
Reset the channel information state knowledge.
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:88
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
~ofdm_equalizer_1d_pilots()
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
Base class for implementation details of frequency-domain OFDM equalizers.
Definition: ofdm_equalizer_base.h:40
virtual void equalize(gr_complex *frame, int n_sym, const std::vector< gr_complex > &initial_taps=std::vector< gr_complex >(), const std::vector< tag_t > &tags=std::vector< tag_t >())=0
Run the actual equalization.
virtual void get_channel_state(std::vector< gr_complex > &taps)=0
Return the current channel state.
int fft_len()
Definition: ofdm_equalizer_base.h:60
sptr base()
Definition: ofdm_equalizer_base.h:61
int d_fft_len
Definition: ofdm_equalizer_base.h:42
virtual ~ofdm_equalizer_base()
ofdm_equalizer_base(int fft_len)
virtual void reset()=0
Reset the channel information state knowledge.
boost::shared_ptr< ofdm_equalizer_base > sptr
Definition: ofdm_equalizer_base.h:45
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:30
std::complex< float > gr_complex
Definition: gr_complex.h:27
static const float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
Include this header to use the message passing features.
Definition: basic_block.h:45