21#ifndef INCLUDED_LTE_PSS_CALCULATOR_VCM_IMPL_H
22#define INCLUDED_LTE_PSS_CALCULATOR_VCM_IMPL_H
35 static const gr_complex d_C_I;
36 static const float d_PI;
42 long d_half_frame_start;
46 gr_complex d_chu0[63];
47 gr_complex d_chu1[63];
48 gr_complex d_chu2[63];
50 pmt::pmt_t d_port_lock;
51 pmt::pmt_t d_port_half_frame_start;
52 pmt::pmt_t d_port_N_id_2;
54 std::vector<float> d_corr_vec;
56 void zc(gr_complex *zc,
int cell_id);
57 bool find_pss_symbol(gr_complex *chuX);
58 bool tracking(gr_complex *chu);
59 void max_pos(
float &max,
int &pos, gr_complex *x,gr_complex *y,
int len);
61 inline void set_half_frame_start();
62 inline int calculate_half_frame_start(
long pos);
63 inline void extract_pss(gr_complex *chu,
const gr_complex *in);
66 gr_complex *d_corr_in1;
67 gr_complex *d_corr_in2;
68 gr_complex *d_corr_out;
75 int work(
int noutput_items,
76 gr_vector_const_void_star &input_items,
77 gr_vector_void_star &output_items);
This is a helper class to provide Fast Correlation using FFTW3f.
Definition: correlator.h:38
Definition: pss_calculator_vcm_impl.h:33
~pss_calculator_vcm_impl()
pss_calculator_vcm_impl(int fftl, std::string &name)
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
<+description of block+>
Definition: pss_calculator_vcm.h:39
Definition: bch_crc_check_ant_chooser_bb.h:28