<p style="white-space: pre-wrap; word-wrap: break-word;">The ``EF_ACC`` field defines the access control class (ACC) for a subscriber.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Current implementation adds padding 1 towards the most significant bits if the input is shorter than 2 bytes.</p><p style="white-space: pre-wrap; word-wrap: break-word;">However, it should be padded with 0, otherwise additional ACCs are allocated to the subscriber. (Probably only a single bit shall be set to 1)</p><p style="white-space: pre-wrap; word-wrap: break-word;">Excerpt from [ETSI TS 131 102, 4.2.15](https://www.etsi.org/deliver/etsi_ts/131100_131199/131102/04.15.00_60/ts_131102v041500p.pdf):</p><p style="white-space: pre-wrap; word-wrap: break-word;">```<br>EF_ACC: Two bytes: B1, B2</p><p style="white-space: pre-wrap; word-wrap: break-word;">B1.b8...B1.b4: high priority users (class 15...11)<br>B1.b3: always 0<br>B1.b2...B1.b2 and B2.b7...B2.b0: normal priority users (class 9...0) - to be evenly distributed across subscribers<br>```</p><p style="white-space: pre-wrap; word-wrap: break-word;">**Legend:** Byte X, bit Y: BX.bY<br></p><p><a href="https://gerrit.osmocom.org/c/pysim/+/23631">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/23631">change 23631</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/pysim/+/23631"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: pysim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I1b8dc01a6c48adad1ed8158de59b12519ed688e9 </div>
<div style="display:none"> Gerrit-Change-Number: 23631 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Robert Falkenberg <robert.falkenberg@tu-dortmund.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 05 Apr 2021 06:24:51 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>