aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/demapping/universal_ctrl_chans_demapper_impl.cc14
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/demapping/universal_ctrl_chans_demapper_impl.cc b/lib/demapping/universal_ctrl_chans_demapper_impl.cc
index a6ab956..94e8648 100644
--- a/lib/demapping/universal_ctrl_chans_demapper_impl.cc
+++ b/lib/demapping/universal_ctrl_chans_demapper_impl.cc
@@ -128,9 +128,6 @@ namespace gr {
frame_numbers = d_downlink_frame_numbers;
bursts = d_downlink_bursts;
}
-
- uint32_t fn51_start = starts_fn_mod51[fn_mod51];
- uint32_t fn51_stop = fn51_start + 3;
//set type
new_header->type = GSMTAP_TYPE_UM;
@@ -141,7 +138,16 @@ namespace gr {
new_header->sub_type = ch_type;
}
new_header->sub_slot = subslots[fn_mod102];
-
+
+ if (ch_type == GSMTAP_CHANNEL_RACH)
+ {
+ message_port_pub(pmt::mp("bursts"), burst_out);
+ return;
+ }
+
+ uint32_t fn51_start = starts_fn_mod51[fn_mod51];
+ uint32_t fn51_stop = fn51_start + 3;
+
if(fn_mod51>=fn51_start && fn_mod51<=fn51_stop)
{
uint32_t ii = fn_mod51 - fn51_start;