summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-15 13:28:10 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-15 14:30:41 +0100
commitbdccc1b1444a8692697bd8a293cc89c90ef2d832 (patch)
tree3078de6f8ef1c7941ef1853b7b4447ce6969f8ce /include/osmocom/core
parentda7bf4d55a896034320aa4466b9644083093acd1 (diff)
gsm48: factor out MCC+MNC BCD parsing for re-use in UMTS
For 3G, I need a BCD composer/parser similar to gsm48_generate_lai()/ gsm48_decode_lai(). Those functions also handle a trivial extra member (lac) which I don't need in this way for 3G. So create new functions to take on the MCC+MNC BCD handling and call those from gsm48_generate_lai() and gsm48_decode_lai(). In this way, the 3G code in openbsc can use only the BCD functionality without code duplication.
Diffstat (limited to 'include/osmocom/core')
0 files changed, 0 insertions, 0 deletions