aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--src/osmo-bts-sysmo/l1_if.c6
2 files changed, 7 insertions, 1 deletions
diff --git a/README b/README
index 4107a44e..7ad3916f 100644
--- a/README
+++ b/README
@@ -49,7 +49,7 @@ implementation:
* GSM-R frequency band supported, but no NCH/ASCI/SoLSA
* All timeslots on one TRX have to use same training sequence (TSC)
* No multi-TRX support yet, though hardware+L1 support stacking
- * Makes no use of 12.21 Intave Parameters, Max TA and Interference
+ * Makes no use of 12.21 Intave Parameters and Interference
Level Boundaries
* Makes no use of TS 12.21 T3105
* Doesn't yet include MAC address in Abis/IP Identity message
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index 6ca6ab28..731e3baa 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -739,6 +739,12 @@ static int handle_ph_ra_ind(struct femtol1_hdl *fl1, GsmL1_PhRaInd_t *ra_ind)
else
pp.u.rach_ind.acc_delay = ra_ind->measParam.i16BurstTiming >> 2;
+ if (pp.u.rach_ind.acc_delay > btsb->max_ta) {
+ LOGP(DL1C, LOGL_INFO, "ignoring RACH request %u > max_ta(%u)\n",
+ pp.u.rach_ind.acc_delay, btsb->max_ta);
+ return 0;
+ }
+
return lapdm_phsap_up(&pp.oph, &lc->lapdm_dcch);
}