/* -*- c++ -*- */ /* * @file * @author Piotr Krysik * @section LICENSE * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, * Boston, MA 02110-1301, USA. */ #ifndef INCLUDED_GSM_RECEIVER_CF_H #define INCLUDED_GSM_RECEIVER_CF_H #include #include #include #include #include #include #include //TODO: remember to remove this line in the future! class gsm_receiver_cf; typedef boost::shared_ptr gsm_receiver_cf_sptr; typedef std::vector vector_complex; gsm_receiver_cf_sptr gsm_make_receiver_cf(gr_feval_dd *tuner, int osr); /** GSM Receiver GNU Radio block * * GSM Receiver class supports frequency correction, synchronisation and * MLSE (Maximum Likelihood Sequence Estimation) estimation of synchronisation * bursts and normal bursts. * \ingroup block */ class gsm_receiver_cf : public gr_block { private: /**@name Configuration of the receiver */ //@{ const int d_OSR; ///< oversampling ratio const int d_chan_imp_length; ///< channel impulse length //@} gr_complex d_sch_training_seq[N_SYNC_BITS]; ///