diff options
author | Piotr Krysik <perper@o2.pl> | 2009-07-21 20:39:17 +0200 |
---|---|---|
committer | Piotr Krysik <perper@o2.pl> | 2009-07-21 20:39:17 +0200 |
commit | b332aac8cf83b646c65df74a02521234ea7fc7bf (patch) | |
tree | 87bb4241cf1f2395dcdd4fca41fc280949854b8b /gsm-receiver | |
parent | daee9c0f855dd7bce6d3257c814d32b15cc5c4e1 (diff) |
changed little hack in the constructor so gsm-receiver now works for BTSes with bcc=7
Diffstat (limited to 'gsm-receiver')
-rw-r--r-- | gsm-receiver/src/lib/gsm_receiver_cf.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 |