add equalizers
This commit is contained in:
+7
-5
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user