<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/23511">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sba: Document AGCH_START_OFFSET after some experimental tests<br><br>Change-Id: Id1460207be25750aeb5c1d7af2fac6591cf5e424<br>---<br>M src/sba.c<br>1 file changed, 18 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/11/23511/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/sba.c b/src/sba.c</span><br><span>index 2c3519d..fb9c91c 100644</span><br><span>--- a/src/sba.c</span><br><span>+++ b/src/sba.c</span><br><span>@@ -33,8 +33,24 @@</span><br><span> #include "pdch.h"</span><br><span> #include "pdch_ul_controller.h"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-/* starting time for assigning single slot</span><br><span style="color: hsl(0, 100%, 40%);">- * This offset must be a multiple of 13. */</span><br><span style="color: hsl(120, 100%, 40%);">+/* TBF Starting Time for assigning SBA.</span><br><span style="color: hsl(120, 100%, 40%);">+ * See TS 44.060 12.21 "Starting Frame Number Description".</span><br><span style="color: hsl(120, 100%, 40%);">+ * According to spec, k=0 (offset=4) "should not be used, so as to leave time</span><br><span style="color: hsl(120, 100%, 40%);">+ * for the MS to analyse the message and get ready to receive or transmit".</span><br><span style="color: hsl(120, 100%, 40%);">+ * Hence, k=1 (offset=8-9) is hteoretically the minimum offset which could be</span><br><span style="color: hsl(120, 100%, 40%);">+ * used.</span><br><span style="color: hsl(120, 100%, 40%);">+ *</span><br><span style="color: hsl(120, 100%, 40%);">+ * However, it was found, empirically, that it takes around 30-40 FNs time for</span><br><span style="color: hsl(120, 100%, 40%);">+ * the Immaediate Assignment message creafted with this "TBF Starting Time" to</span><br><span style="color: hsl(120, 100%, 40%);">+ * travel from PCU->BTS and be transmitted over CCH on the Um interface. Hence,</span><br><span style="color: hsl(120, 100%, 40%);">+ * we must account for this delay here, otherwise the MS would be receiving eg.</span><br><span style="color: hsl(120, 100%, 40%);">+ * a TBF Starting Time of FN=40 while the Imm Assigned containing it is sent in</span><br><span style="color: hsl(120, 100%, 40%);">+ * eg. FN=50, which would be too late for the MS to answer to it.</span><br><span style="color: hsl(120, 100%, 40%);">+ *</span><br><span style="color: hsl(120, 100%, 40%);">+ * The situation described above, can even get worse on high BTS load for AGCH,</span><br><span style="color: hsl(120, 100%, 40%);">+ * since the Immediate Assignment will queue in the BTS waiting to be</span><br><span style="color: hsl(120, 100%, 40%);">+ * transmitted one after the other, hence increasing the required delay.</span><br><span style="color: hsl(120, 100%, 40%);">+ */</span><br><span> #define AGCH_START_OFFSET 52</span><br><span> </span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/23511">change 23511</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-pcu/+/23511"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id1460207be25750aeb5c1d7af2fac6591cf5e424 </div>
<div style="display:none"> Gerrit-Change-Number: 23511 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>