<p>Neels Hofmeyr has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12039">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">rename gsm_encr to geran_encr, it is only applicable on GERAN<br><br>On UTRAN, Security Mode is used instead of Ciphering Command, which does not<br>feature an A5 algorithm id.<br><br>Change-Id: Idc7ca9da1aa13ae16f5db2cb1024676cbc770820<br>---<br>M include/osmocom/msc/common_cs.h<br>M include/osmocom/msc/gsm_data.h<br>2 files changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/39/12039/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/msc/common_cs.h b/include/osmocom/msc/common_cs.h</span><br><span>index fddc6ec..410f102 100644</span><br><span>--- a/include/osmocom/msc/common_cs.h</span><br><span>+++ b/include/osmocom/msc/common_cs.h</span><br><span>@@ -9,7 +9,7 @@</span><br><span> </span><br><span> #define MAX_A5_KEY_LEN     (128/8)</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-struct gsm_encr {</span><br><span style="color: hsl(120, 100%, 40%);">+struct geran_encr {</span><br><span>    uint8_t alg_id;</span><br><span>      uint8_t key_len;</span><br><span>     uint8_t key[MAX_A5_KEY_LEN];</span><br><span>diff --git a/include/osmocom/msc/gsm_data.h b/include/osmocom/msc/gsm_data.h</span><br><span>index 94a6ffd..1231327 100644</span><br><span>--- a/include/osmocom/msc/gsm_data.h</span><br><span>+++ b/include/osmocom/msc/gsm_data.h</span><br><span>@@ -125,7 +125,7 @@</span><br><span>      enum ran_type via_ran;</span><br><span> </span><br><span>   uint16_t lac;</span><br><span style="color: hsl(0, 100%, 40%);">-   struct gsm_encr encr;</span><br><span style="color: hsl(120, 100%, 40%);">+ struct geran_encr encr;</span><br><span> </span><br><span>  /* "Temporary" storage for the case the VLR asked for Cipher Mode Command, but the MSC still</span><br><span>        * wants to request a Classmark Update first. */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12039">change 12039</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/12039"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Idc7ca9da1aa13ae16f5db2cb1024676cbc770820 </div>
<div style="display:none"> Gerrit-Change-Number: 12039 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>