diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-04-13 03:30:14 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-04-13 05:38:47 +0200 |
commit | 250e7f7d30c5d90e39293f67bf7553d2d3d094f6 (patch) | |
tree | fe82a5c3a070ac54f22324e036e791d7870c38e6 /tests/gb/bssgp_fc_test.c | |
parent | a78b22ba203d9674bb797623b9c1dd985b523663 (diff) |
add gsm0808_{enc,dec}_cell_id
Clarify semantics and micro-optimise for the case of single Cell Identifer IEs.
Test in gsm0808_test.c
So far we have gsm0808_enc_cell_id_list2(), but there also exist instances of
single Cell Identifiers (3GPP TS 48.008 3.2.2.17).
It is possible to decode the same using the cell identifier list API, but this
forces the caller to also keep a full struct gsm0808_cell_id_list2 with all its
127 entries around.
E.g. for handover, there are two Cell Identifiers (Serving and Target); I'd
need two full cell id lists for each, and these would be dynamically allocated
for each handover operation, whether it uses them or not.
Related: OS#2283 (inter-BSC HO, BSC side)
Change-Id: I9f9c528965775698ab62ac386af0516192c4b0cc
Diffstat (limited to 'tests/gb/bssgp_fc_test.c')
0 files changed, 0 insertions, 0 deletions