From b332aac8cf83b646c65df74a02521234ea7fc7bf Mon Sep 17 00:00:00 2001 From: Piotr Krysik Date: Tue, 21 Jul 2009 20:39:17 +0200 Subject: changed little hack in the constructor so gsm-receiver now works for BTSes with bcc=7 --- gsm-receiver/src/lib/gsm_receiver_cf.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gsm-receiver') diff --git a/gsm-receiver/src/lib/gsm_receiver_cf.cc b/gsm-receiver/src/lib/gsm_receiver_cf.cc index db662ae..80611e3 100644 --- a/gsm-receiver/src/lib/gsm_receiver_cf.cc +++ b/gsm-receiver/src/lib/gsm_receiver_cf.cc @@ -134,7 +134,7 @@ void gsm_receiver_cf::configure_receiver() { d_channel_conf.set_multiframe_type(TSC0, multiframe_51); - d_channel_conf.set_burst_types(TSC0, TEST_CCH_FRAMES, sizeof(TEST_CCH_FRAMES) / sizeof(unsigned), normal_burst); + d_channel_conf.set_burst_types(TSC0, TEST_CCH_FRAMES, sizeof(TEST_CCH_FRAMES) / sizeof(unsigned), dummy_or_normal); d_channel_conf.set_burst_types(TSC0, FCCH_FRAMES, sizeof(FCCH_FRAMES) / sizeof(unsigned), fcch_burst); d_channel_conf.set_multiframe_type(TIMESLOT1, multiframe_26); @@ -202,7 +202,7 @@ gsm_receiver_cf::gsm_receiver_cf(gr_feval_dd *tuner, gr_feval_dd *synchronizer, gmsk_mapper(SYNC_BITS, N_SYNC_BITS, d_sch_training_seq, gr_complex(0.0, -1.0)); for (i = 0; i < TRAIN_SEQ_NUM; i++) { gr_complex startpoint; - if (i == 6) { //this is nasty hack + if (i == 6 || i == 7) { //this is nasty hack startpoint = gr_complex(-1.0, 0.0); //if I don't change it here all bits of normal bursts for BTSes with bcc=6 will have reversed values } else { startpoint = gr_complex(1.0, 0.0); //I've checked this hack for bcc==0,1,2,3,4,6 -- cgit v1.2.3