summaryrefslogtreecommitdiffstats
path: root/utils/osmo-arfcn.c
Commit message (Collapse)AuthorAgeFilesLines
* gsm: Deprecate buggy gsm_arfcn2band API and introduce gsm_arfcn2band_rcPau Espin Pedrol2018-11-201-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
* doxygen: unify use of \file across the boardNeels Hofmeyr2017-06-231-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
* osmo-arfcn: Return something from the methodHolger Hans Peter Freyther2013-04-211-0/+1
| | | | This is a fatal error when building RPMs for OpenSUSE.
* utils/osmo-arfcn: Implement option to get ARFCN from frequencySylvain Munaut2012-12-111-1/+32
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* osmo-arfcn: add support for PCS bandHarald Welte2012-12-061-6/+13
|
* add new 'osmo-arfcn' program to compute frequency based on arfcnHarald Welte2011-08-021-0/+103
The freq -> arfcn side still needs to be implemented.