diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-06-15 14:54:33 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-06-15 14:54:33 +0800 |
commit | 13e92be8bf2edae4fc2f5082361a3b0ae7b7434a (patch) | |
tree | 3d33f983d20543fe9eade24d62ee4b6589d8988d | |
parent | e01a47aad4fd5489873dce815576a9fbb14a8cc6 (diff) |
Implement NM_ATT_MAX_TA in sysmobts backend
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | src/osmo-bts-sysmo/l1_if.c | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -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); } |