aboutsummaryrefslogtreecommitdiffstats
path: root/utils/osmo-arfcn.c
AgeCommit message (Collapse)AuthorFilesLines
2018-11-20gsm: Deprecate buggy gsm_arfcn2band API and introduce gsm_arfcn2band_rcPau Espin Pedrol1-1/+7
ARFCNs are values in well defined ranges. Until this patch, ARFCNs not belonging to any band were blindly assigned to DCS1800 by gsm_arfcn2band, causing unnoticed bugs and misconfigurations in osmo-bsc. Previous API gsm_arfcn2band cannot accomodate this kind of check easily, so let's deprecate it to tell people to use a new API gsm_arfcn2band_rc which performs this kind of checks and allows callers to log failures, misconfigurations, etc. At the same time, modify implementation of gsm_arfcn2band to abort if an invalid ARFCN is passed, this way users of this API can notice they are passing wrong data to it that most probably will produce unexpected results. Related: OS#3063 Change-Id: I780d452dcebce385469e32ef2fd844df6033393a
2017-06-23doxygen: unify use of \file across the boardNeels Hofmeyr1-1/+2
Considering the various styles and implications found in the sources, edit scores of files to follow the same API doc guidelines around the doxygen grouping and the \file tag. Many files now show a short description in the generated API doc that was so far only available as C comment. The guidelines and reasoning behind it is documented at https://osmocom.org/projects/cellular-infrastructure/wiki/Guidelines_for_API_documentation In some instances, remove file comments and add to the corresponding group instead, to be shared among several files (e.g. bitvec). Change-Id: Ifa70e77e90462b5eb2b0457c70fd25275910c72b
2013-04-21osmo-arfcn: Return something from the methodHolger Hans Peter Freyther1-0/+1
This is a fatal error when building RPMs for OpenSUSE.
2012-12-11utils/osmo-arfcn: Implement option to get ARFCN from frequencySylvain Munaut1-1/+32
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-12-06osmo-arfcn: add support for PCS bandHarald Welte1-6/+13
2011-08-02add new 'osmo-arfcn' program to compute frequency based on arfcnHarald Welte1-0/+103
The freq -> arfcn side still needs to be implemented.