21 #ifndef INCLUDED_LORA_SDR_MU_DETECTION_IMPL_H
22 #define INCLUDED_LORA_SDR_MU_DETECTION_IMPL_H
30 #include <volk/volk.h>
58 uint32_t m_samples_per_symbol;
64 float m_snr_threshold;
79 std::vector<gr_complex>
82 std::vector<gr_complex> m_downchirp;
83 std::vector<std::vector<gr_complex>>
85 std::vector<std::vector<float>>
88 std::vector<float> m_dft_mag_prod;
102 std::vector<gr_complex>
105 std::vector<gr_complex>
107 std::vector<gr_complex>
110 std::vector<gr_complex> m_mf_conv_out;
112 std::vector<std::vector<float>>
119 std::vector<gr_complex> m_dechirped;
125 std::vector<gr_complex> m_fft;
133 void estimate_CFO_frac(
int delay);
141 void add_user_tag(
int input_symb);
146 void noise_handler(pmt::pmt_t
noise_est);
149 std::ofstream out_file;
150 int m_matched_filter_en;
174 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
185 int general_work(
int noutput_items, gr_vector_int &ninput_items,
186 gr_vector_const_void_star &input_items,
187 gr_vector_void_star &output_items);