diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2021-01-05 14:55:38 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2021-01-11 14:21:21 +0000 |
commit | e2ad6ebb7a411d0854d123d35584c79e14005eba (patch) | |
tree | 4d36af3b194202c6f6811ec22a82b6a9675da427 /include | |
parent | 5d797c426414a339ba404c994d93f81a6f4973ec (diff) |
gprs_bssgp: abuse gsm48_encode_ra() to encode TAC
Both LAC and TAC take 2 octets and follow MCC/MNC fields on the wire.
We abuse gsm48_encode_ra() for encoding of MCC/MNC, but it can also
be abused to encode TAC in bssgp_create_rim_ri(). There is no need
to encode '0000'O and then override it with osmo_store16be().
Change-Id: I986552aa52cf38b1c5290d2e5cd3ff2d1c36a4e5
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions