range arfcn encoding

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Max msuraev at sysmocom.de
Fri Apr 15 16:16:14 UTC 2016


Hi.

How to properly use range_enc_arfcns() and range_enc_range*() from
arfcn_range_decode.h? There're not many comments around the code. From
function signature it seems like range_enc_arfcns() will put results
into w parameter but in system_information.c after that there's also
call to one of range_enc_range*().

I've tried to feed output to wireshark but it decode some unexpected
stuff. So, if I have a sequence of ints which I'd like to run through
range512 for example - ho do I get the output?

-- 
Max Suraev <msuraev at sysmocom.de> http://www.sysmocom.de/
======================================================================= 
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93 
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B 
* Geschaeftsfuehrer / Managing Directors: Holger Freyther, Harald Welte 




More information about the OpenBSC mailing list