diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-09-21 15:57:26 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2019-01-28 23:58:53 +0000 |
commit | d01ef75ab876d79c9a0a73cdefb4ccfc60bb47f8 (patch) | |
tree | a70dd6e1dd5096f822c3b1bf9a2e6b5c201994e8 /src/bitcomp.c | |
parent | 2033be8902f5540f4f0e28bf1b32fb7df0367c66 (diff) |
gsm0808: add BSSMAP Cell Identifier matching API
Add
* osmo_lai_cmp() (to use in gsm0808_cell_id_u_matches())
* osmo_cgi_cmp() (to use in gsm0808_cell_id_u_matches())
* gsm0808_cell_id_u_match() (to re-use for single IDs and lists)
* gsm0808_cell_ids_match()
* gsm0808_cell_id_matches_list()
* Unit tests in gsm0808_test.c
Rationale:
For inter-BSC handover, it is interesting to find matches between *differing*
Cell Identity kinds. For example, if a cell as CGI 23-42-3-5, and a HO for
LAC-CI 3-5 should be handled, we need to see the match.
This is most interesting for osmo-msc, i.e. to direct the BSSMAP Handover
Request towards the correct BSC or MSC.
It is also interesting for osmo-bsc's VTY interface, to be able to manage
cells' neighbors and to trigger manual handovers by various Cell Identity
handles, as the user would expect them.
Change-Id: I5535f0d149c2173294538df75764dd181b023312
Diffstat (limited to 'src/bitcomp.c')
0 files changed, 0 insertions, 0 deletions