Change in osmo-pcu[master]: sba: Document AGCH_START_OFFSET after some experimental tests

pespin gerrit-no-reply at
Wed Mar 31 15:48:16 UTC 2021

pespin has submitted this change. ( )

Change subject: sba: Document AGCH_START_OFFSET after some experimental tests

sba: Document AGCH_START_OFFSET after some experimental tests

Related: OS#5020
Change-Id: Id1460207be25750aeb5c1d7af2fac6591cf5e424
M src/sba.c
1 file changed, 18 insertions(+), 2 deletions(-)

  Jenkins Builder: Verified
  pespin: Looks good to me, approved

diff --git a/src/sba.c b/src/sba.c
index 2c3519d..3126893 100644
--- a/src/sba.c
+++ b/src/sba.c
@@ -33,8 +33,24 @@
 #include "pdch.h"
 #include "pdch_ul_controller.h"
-/* starting time for assigning single slot
- * This offset must be a multiple of 13. */
+/* TBF Starting Time for assigning SBA.
+ * See TS 44.060 12.21 "Starting Frame Number Description".
+ * According to spec, k=0 (offset=4) "should not be used, so as to leave time
+ * for the MS to analyze the message and get ready to receive or transmit".
+ * Hence, k=1 (offset=8-9) is theoretically the minimum offset which could be
+ * used.
+ *
+ * However, it was found, empirically, that it takes around 30-40 FNs time for
+ * the Immediate Assignment message created with this "TBF Starting Time" to
+ * travel from PCU->BTS and be transmitted over CCCH on the Um interface. Hence,
+ * we must account for this delay here, otherwise the MS would be receiving eg.
+ * a TBF Starting Time of FN=40 while the Imm Assigned containing it is sent in
+ * eg. FN=50, which would be too late for the MS to answer to it.
+ *
+ * The situation described above, can even get worse on high BTS load for AGCH,
+ * since the Immediate Assignment will queue in the BTS waiting to be
+ * transmitted one after the other, hence increasing the required delay.
+ */

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Id1460207be25750aeb5c1d7af2fac6591cf5e424
Gerrit-Change-Number: 23511
Gerrit-PatchSet: 5
Gerrit-Owner: pespin <pespin at>
Gerrit-Reviewer: Hoernchen <ewild at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at>
Gerrit-Reviewer: fixeria <vyanitskiy at>
Gerrit-Reviewer: laforge <laforge at>
Gerrit-Reviewer: lynxis lazus <lynxis at>
Gerrit-Reviewer: osmith <osmith at>
Gerrit-Reviewer: pespin <pespin at>
Gerrit-CC: dexter <pmaier at>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list