aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbhargava <Bhargava.Abhyankar@radisys.com>2016-11-08 11:56:08 +0530
committerbhargava <Bhargava.Abhyankar@radisys.com>2016-11-08 11:56:08 +0530
commit38843fbf48783ee1574b86cd9c5dcc4add6b30a8 (patch)
tree166e3dfe1ce6604e5d5077492ad73193e63d11bc
parentacfccb3f028c8417df42de9a6400896eb269a614 (diff)
Initialize parameters in osmo-trx for 11bit RACH
The parameters related to support 11bit RACH are initialized in osmo-trx. These parameter determaine the type of the RACH received in osmo-pcu. Change-Id: I164d449303373d0757719d5204f4716975fb517a
-rw-r--r--src/osmo-bts-trx/scheduler_trx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index 463630c..0423e9f 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -788,6 +788,10 @@ int rx_rach_fn(struct l1sched_trx *l1t, uint8_t tn, uint32_t fn,
l1sap.u.rach_ind.acc_delay = (toa >= 0) ? toa : 0;
l1sap.u.rach_ind.fn = fn;
+ /* 11bit RACH is not supported for osmo-trx */
+ l1sap.u.rach_ind.is_11bit = 0;
+ l1sap.u.rach_ind.burst_type = GSM_L1_BURST_TYPE_ACCESS_0;
+
/* forward primitive */
l1sap_up(l1t->trx, &l1sap);