aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-virtual/l1_if.c
diff options
context:
space:
mode:
authorSebastian Stumpf <sebastian.stumpf87@googlemail.com>2017-02-28 16:36:36 +0100
committerSebastian Stumpf <sebastian.stumpf87@googlemail.com>2017-02-28 16:36:36 +0100
commitc961c340647e34e59d8cdadb6468e6ac0bde8a3d (patch)
tree4157ad7922f207021480a3bf9ae8228bd17413fe /src/osmo-bts-virtual/l1_if.c
parentba69eb9f36e8143c10bd62c81d13917783d72ff6 (diff)
VIRT-PHY: Added test option for fast hyperframe repeat.
Frame number will restart at 0 after each superframe (approx. 6.1 sec) if enabled. Can be enabled by preprocessor define.
Diffstat (limited to 'src/osmo-bts-virtual/l1_if.c')
-rw-r--r--src/osmo-bts-virtual/l1_if.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmo-bts-virtual/l1_if.c b/src/osmo-bts-virtual/l1_if.c
index b3003ce0..bae0b2de 100644
--- a/src/osmo-bts-virtual/l1_if.c
+++ b/src/osmo-bts-virtual/l1_if.c
@@ -162,7 +162,7 @@ static void virt_um_rcv_cb(struct virt_um_inst *vui, struct msgb *msg)
// ... or not uplink
if(!(arfcn & GSMTAP_ARFCN_F_UPLINK)) {
LOGP(LOGL_NOTICE, DL1P,
- "Ignore incoming msg - no uplink flag.");
+ "Ignore incoming msg - no uplink flag.\n");
goto nomessage;
}
@@ -176,7 +176,6 @@ static void virt_um_rcv_cb(struct virt_um_inst *vui, struct msgb *msg)
PRIM_OP_INDICATION, msg);
l1sap.u.rach_ind.chan_nr = chan_nr;
- // TODO: why is ra her 16bits long instead of 8 like in the reference 04.08 - 9.1.8 - Channel request?
l1sap.u.rach_ind.ra = msgb_pull_u8(msg); // directly after gh hdr comes ra
l1sap.u.rach_ind.acc_delay = 0; // probably not used in virt um
l1sap.u.rach_ind.is_11bit = 0; // We dont use that