path: root/openbsc/src/arfcn_list_range.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-22si: Partially implement the range encoding for the SI.Holger Hans Peter Freyther1-194/+0
I saw the old copy of the "Appendix J" code too late and I have discovered some quirks and I am more familar with my implementation. Most noticable 'w' only needs to be as big as the input arfcn but requires the 'w' to be initialized. The power_of_2 implementation differs as well (mine matches the output of wirehsark). The f0 could be chosen in a better way but right now picking the lower bound is the easiest. It is not clear if to use modulo if the range is chosen in the middle. This can be improved in the future. Right now I have no bit fiddling for range128, 256 and 1024 as I was running out of time.
2011-01-01License change: We are now AGPLv3+ instead of GPLv2+Harald Welte1-0/+194
The reason for this is quite simple: We want to make sure anyone running a customized version of OpenBSC to operate a network will have to release all custom modifiations to the source code.