Skip to content
Success

Changes

Summary

  1. Introduce typedef for bts->nr gsm_bts_nr_t (details)
Commit b20124d63a632005d29d64d17876e26dc02edb81 by Pau Espin Pedrol
Introduce typedef for bts->nr gsm_bts_nr_t

The size of bts->nr is implicitly or explicitly used or taken into
account in several places in the code.
Add a new type to make it easier to define its size and range in one
place.

This also helps in identifying fields contains an BSC-implementation
"bts_nr" vs theip.access Abis OML "bts_nr" sent over the wire, which is
always a uint8_t according to spec.

Related: SYS#7062
Change-Id: Ic0db2873fa9795024aba4399da495a0d8f7504b0
The file was modifiedsrc/osmo-bsc/bts_vty.c
The file was modifiedinclude/osmocom/bsc/gsm_data.h
The file was modifiedsrc/osmo-bsc/abis_nm_vty.c
The file was modifiedtests/handover/handover_test.c
The file was modifiedsrc/osmo-bsc/gsm_data.c
The file was modifiedsrc/osmo-bsc/neighbor_ident_vty.c
The file was modifiedsrc/osmo-bsc/bsc_vty.c
The file was modifiedsrc/osmo-bsc/smscb_vty.c
The file was modifiedsrc/osmo-bsc/abis_om2000_vty.c
The file was modifiedsrc/osmo-bsc/bts.c
The file was modifiedinclude/osmocom/bsc/bts.h