<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/19890">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">abis_rsl: fix IAR Rest Octets in rsl_send_imm_ass_rej()<br><br>Currently osmo-bsc encodes the IAR Rest Octets as follows:<br><br>  IAR Rest Octets<br>    0... .... = Extended RA: Not Present<br>    .0.. .... = Extended RA: Not Present<br>    ..1. .... = Extended RA: Present<br>    ...0 1011 = Extended_RA: 11<br>    0... .... = Extended RA: Not Present<br>    .L.. .... = Additions in Rel-13: Not Present<br>    Padding Bits: default padding<br><br>This is not really critical, but still may look confusing as this<br>is only relevant for the PS domain (11-bit RA), while osmo-bsc is<br>responding to a CHANNEL REQUEST in the CS domain.<br><br>Change-Id: I30a43efc70345a4bb0571127c239a24422b7fd2c<br>---<br>M src/osmo-bsc/abis_rsl.c<br>1 file changed, 9 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/90/19890/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c</span><br><span>index 6787511..d3f7de2 100644</span><br><span>--- a/src/osmo-bsc/abis_rsl.c</span><br><span>+++ b/src/osmo-bsc/abis_rsl.c</span><br><span>@@ -1305,7 +1305,15 @@</span><br><span>         /* we need to subtract 1 byte from sizeof(*iar) since ia includes the l2_plen field */</span><br><span>       iar->l2_plen = GSM48_LEN2PLEN((sizeof(*iar)-1));</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- return rsl_imm_assign_cmd(bts, sizeof(*iar), (uint8_t *) iar);</span><br><span style="color: hsl(120, 100%, 40%);">+        /* IAR Rest Octets:</span><br><span style="color: hsl(120, 100%, 40%);">+    *   0... .... = Extended RA: Not Present</span><br><span style="color: hsl(120, 100%, 40%);">+      *   .0.. .... = Extended RA: Not Present</span><br><span style="color: hsl(120, 100%, 40%);">+      *   ..0. .... = Extended RA: Not Present</span><br><span style="color: hsl(120, 100%, 40%);">+      *   ...0 .... = Extended RA: Not Present</span><br><span style="color: hsl(120, 100%, 40%);">+      *   .... L... = Additions in Rel-13: Not Present */</span><br><span style="color: hsl(120, 100%, 40%);">+  iar->rest[0] = GSM_MACBLOCK_PADDING & 0x0f;</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+  return rsl_imm_assign_cmd(bts, sizeof(*iar) + 1, buf);</span><br><span> }</span><br><span> </span><br><span> int rsl_tx_imm_ass_rej(struct gsm_bts *bts, struct gsm48_req_ref *rqd_ref)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/19890">change 19890</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-bsc/+/19890"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I30a43efc70345a4bb0571127c239a24422b7fd2c </div>
<div style="display:none"> Gerrit-Change-Number: 19890 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>