add equalizers

This commit is contained in:
Bastian Bloessl
2016-05-31 15:36:05 +02:00
parent 5a9846fa67
commit 052d5022b0
12 changed files with 413 additions and 140 deletions
+7 -5
View File
@@ -27,11 +27,14 @@ namespace equalizer {
class lms: public base {
public:
virtual void equalize(const gr_complex *in, gr_complex *out, int n);
virtual void equalize(gr_complex *in, int n, gr_complex *symbols, uint8_t *bits, boost::shared_ptr<gr::digital::constellation> mod);
private:
gr_complex carrier[64];
static const gr_complex ref[64];
static const gr_complex POLARITY[127];
double get_snr();
gr_complex d_H[64];
double d_snr;
const double alpha = 0.5;
};
} /* namespace channel_estimation */
@@ -39,4 +42,3 @@ private:
} /* namespace gr */
#endif /* INCLUDED_IEEE802_11_EQUALIZER_LMS_H */