aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/system_information.h
AgeCommit message (Collapse)AuthorFilesLines
2017-01-23Prevent segfault in range encodingMax1-0/+4
* Explicitly check when ARFCN array split is impossible and return gracefully instead of using negative index. * Separate range encoding into generic function and use it for all SI-related things. * Propagate the error into that function and to its callers. * Add separate test-case for the segfault previously triggered by this bug. Change-Id: I3e049ab2d7c1c4d6c791b148f37e10636a8e43e0 Related: RT#7379
2017-01-06Cosmetic fixes around SI generationMax1-1/+0
* add missing spaces after comma and minus * prevent useless recursion calls * mark static functions as such * name and explicitly use enum for ARFCN range Change-Id: If5b717445c8b24668bad0e78fd5bb51f66c4d18e
2016-04-22Add vty check for max si2quater sizeMax1-0/+1
Explicitly check if added (U|E)ARFCN will fit into available si2quater message.
2016-04-22Add basic UARFCN supportMax1-1/+8
* add data structures, generation functions * vty interface for neightbor UARFCNs specific to SI2quater * vty test * unit test Fixes: OS#1666
2011-05-24Move system information related defines and code to libosmocoreHarald Welte1-36/+1
This brings openbsc in sync with the following libosmocore commit: b5503136fa234690d5493b19a8aee3a4ef74190d
2011-04-18misc: Move from u_int to uint types of stdint.hHolger Hans Peter Freyther1-1/+1
This was done with sed on the files.
2011-03-23src: use new library libosmogsm and new path to headers in libosmocorePablo Neira Ayuso1-1/+1
libosmogsm is a new library that is distributed in the libosmocore. Now, openbsc depends on it. This patch gets openbsc with this change. This patch also rewrites all include path to the new osmocom/[gsm|core] Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2010-12-01include: Add proper predeclaration for struct in system_information.hSylvain Munaut1-0/+3
We use them, so declare them. (avoid including all gsm_data.h) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-09mark andreas@eversberg.eu as 'extern' for lcrAndreas Eversberg1-1/+1
2010-07-30Add more RSL <-> Osmo SI type mappings, export osmo_sitype_strs[]Harald Welte1-0/+3
2010-06-20[BSC] Keep a SYSTEM INFORMATION cache for each BTSHarald Welte1-1/+34
This will later be useful for handover where we need to copy the cell channel allocation into a normal 04.08 message
2009-12-01Replace template-based SYSTEM INFORMATION with real implementationHarald Welte1-0/+6
Before this commit, OpenBSC used templates for the SYSTEM INFO 1, 2, 3, 4, 5 and 6 messages. Those templates were patched in various places to reflect the network config like ARFCN. Now, we actually generate those SI messages ourselves, using values from the configuration file, and even calculating neighbor cell lists. All bts'es that you have configured in OpenBSC will end up in the neighbor cell list - which should be more than sufficient for the current small-single-site networks.