aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-06-29properly reset the MO state of all MO on Abis disconnectopenbsc/0.9.140.9.14Harald Welte3-10/+38
When we loose the A-bis link, we should properly re-set the administrative, operational and availability state of all MOs
2011-06-29add lchan->meas for BTS side codeHarald Welte1-0/+38
TODO: move all of the BTS side per-lchan data behind a 'void *role' pointer like 'struct gsm_bts'
2011-06-27Revert "HACK: disable NM_ATTR for CELL GLOBAL ID for sysmo-bts"Harald Welte1-2/+2
This reverts commit 8b65ab9d9133efe53a058733d492ac0595040fb4, which should never have been committed to master. In fact, it is not even needed anymore with recent osmo-bts code.
2011-06-27update debug_test with logging system changesHarald Welte1-1/+1
Thanks to Konrad Meier
2011-06-26make channel_test build againHarald Welte1-1/+1
2011-06-26move gsm0502_calc_paging_group() to libosmocoreHarald Welte2-18/+1
2011-06-26generalize function for calculation of the paging groupHarald Welte1-7/+10
2011-06-26move gsm 05.02 related calculations into libosmocoreHarald Welte3-28/+3
2011-06-26use new gsm48_number_of_paging_subchannels from libosmocoreHarald Welte3-17/+4
2011-06-26system information related bits for osmo-btsHarald Welte1-1/+9
2011-06-25osmo-bsc: bring in sync with recent NM MO changesHarald Welte1-5/+5
2011-06-25move {ts,lchan}2chan_nr() functions to gsm_data_shared.cHarald Welte5-56/+60
... this way osmo-bts can use them
2011-06-09HACK: disable NM_ATTR for CELL GLOBAL ID for sysmo-btsHarald Welte1-2/+2
Do not commit this to master. It disables a non-standard IE in the BTS attributes.
2011-06-07add back-pointer for l1 as part of BTS role.Harald Welte1-0/+4
2011-06-07initialize NM state for all objects to known stateHarald Welte1-0/+3
2011-06-06gsm_data_shared: make sure to initialzie the MO obj_class/obj_instHarald Welte1-9/+22
2011-06-06add mo->bts member so we can discover which BTS a MO belong stoHarald Welte2-0/+18
2011-06-06move objclass2{nmstate,mo,}obj() to gsm_data_shared.c (and prefix)Harald Welte3-159/+164
2011-06-06gsm_data: don't free a bts that's not even allocated yetHarald Welte1-3/+1
2011-06-06make sure to include gsm_data.h, not gsm_data_shared.hHarald Welte1-1/+1
2011-06-05split gsm_data.c in gsm_data_shared.c and gsm_data.cHarald Welte8-261/+313
This facilitates the use of gsm_data.c from osmo-bts
2011-06-05abis_nm.h: Use osmocom/core/abis_nm.hHarald Welte1-2/+1
2011-06-03Introduce per-ts TSCHarald Welte4-3/+23
This allows us to configure a TSC for each timeslot, not just one globally for the entire BTS.
2011-06-03gsm_data_shared: introduce 'struct gsm_abis_mo'Harald Welte8-66/+85
... as a common wrapper around nm_attr and nm_state
2011-06-03split gsm_data.h in gsm_data_shared.h and gsm_data.hHarald Welte3-514/+522
gsm_data.h is the part that contains BSC-specific data, whereas gsm_data_shared.h is now shareda with osmo-bts
2011-06-03gsm_data: Use osmocom/gsm/sysinfo.hHarald Welte1-3/+3
and include rest_octets.h only in case of BSC
2011-06-03add HSL femtocell openbsc.cfg exampleopenbsc/0.9.13+deb10.9.13+deb1Harald Welte1-0/+87
2011-06-02mgcp: Fix a typo in the function nameHolger Hans Peter Freyther1-5/+5
2011-06-01nat: Add VTY code to configure the SMSC rewritingHolger Hans Peter Freyther1-9/+47
2011-06-01nat: Look into the TPDU/SMS-SUBMIT and use the TP-DestAddress for matchesHolger Hans Peter Freyther3-9/+79
Match the used SMSC and the destination of the SMS and change the SMSC address if both are matched.
2011-06-01nat: Patch the destination SMS address of a messageHolger Hans Peter Freyther5-10/+208
Use the same filtering infrasturcture to patch the SMSC address in a CP-DATA/RP-DATA message. Add a very simple testcase for this code.
2011-06-01nat: Move the common new message generation code into the base methodHolger Hans Peter Freyther1-26/+28
2011-06-01nat: Prepare to patch more than the CC Setup messageHolger Hans Peter Freyther4-30/+37
Refactor the code to allow having different handlers. The goal is to be able to patch some SMS messages too.
2011-06-01nat: Allow to have a regexp to match the MSISDNHolger Hans Peter Freyther4-33/+117
The idea that MCC and MNC is enough to classify a subscriber turns out to be wrong. Certain operatos license a number range of IMSIs to others. When we see a '^' in the MCC field we treat it as a regexp. The code now turns the MCC/MNC into a regexp for the IMSI. It is not using extended POSIX regexp to match the behavior of the access list.
2011-05-31nat: Add a test utility for the number rewritingHolger Hans Peter Freyther1-0/+30
2011-05-31nat: Allow to rewrite any non international numberHolger Hans Peter Freyther1-2/+0
Remove the arteficial limitation of the number format of an unknown number.
2011-05-31nat: Refactor the number patching code into a new methodHolger Hans Peter Freyther1-45/+56
Separate the code to patch the code and the code to find a new number based on the old number. This will allow to add multiple targets for number changing.
2011-05-31abis: Get the structs and values from libosmocoreHolger Hans Peter Freyther2-6/+2
Remove the forward declarations for functions and structs that have been moved to libosmocore.
2011-05-31misc: Provide a uninstall-hook to remove the extra filesHolger Hans Peter Freyther1-0/+7
Fix make distcheck to uninstall files that were installed by our custom hook. This is fixing: ERROR: files left after uninstall: ./share/doc/openbsc/examples/osmo-bsc_mgcp/mgcp.cfg ./share/doc/openbsc/examples/osmo-nitb/nanobts/openbsc.cfg ./share/doc/openbsc/examples/osmo-nitb/nanobts/openbsc-multitrx.cfg ./share/doc/openbsc/examples/osmo-nitb/bs11/openbsc-1bts-2trx.cfg ./share/doc/openbsc/examples/osmo-nitb/bs11/openbsc.cfg ./share/doc/openbsc/examples/osmo-nitb/bs11/openbsc-1bts-2trx-hopping.cfg ./share/doc/openbsc/examples/osmo-nitb/bs11/openbsc-2bts-2trx.cfg ./share/doc/openbsc/examples/osmo-nitb/rbs2308/openbsc.cfg
2011-05-24move some more abis_nm related code into libosmocoreHarald Welte2-42/+0
This syncs openbsc.git with libosmocore.git commit rev 11c7193ad8ceb4f3898799dc44b700b8b93a59b8
2011-05-24libabis: fix segfault on malformed ipaccess RSL linkAlexander Huemer1-1/+4
This patch fixes a segfault that occured when a ipaccess RSL link gets closed unexpectedly. The segfault can be provoked by connecting to the RSL port with ncat and hitting ^C.
2011-05-24openbsc: update .gitignoreAlexander Huemer1-0/+3
2011-05-24openbsc: rename configure.in -> configure.acAlexander Huemer1-0/+0
rename autoconf input file to align with osmocom-bb host applications, and because that suffix is preferred nowadays.
2011-05-24openbsc: add missing AC_LANG_SOURCE for current autoconfAlexander Huemer1-1/+1
autoconf >=2.68 demands the body of an AC_COMPILE_IFELSE to be wrapped in an AC_LANG_SOURCE macro, otherwise outputs annoying warnings on the invocation of `autoreconf -i`. this patch follows that demand.
2011-05-24Move system information related defines and code to libosmocoreHarald Welte3-146/+12
This brings openbsc in sync with the following libosmocore commit: b5503136fa234690d5493b19a8aee3a4ef74190d
2011-05-24prepare gsm_data.h header file sharing with osmo-btsHarald Welte6-114/+141
This should not introduce any functional changes, it just re-arranges some definitions in the header file, and introduces the ROLE_BSC define that we enable for the BSC-specific fields.
2011-05-23abis_nm: Some more fall-out from the abis_nm move to libosmocoreHarald Welte3-3/+5
we want get_string_value(), not the equivalent of get_value_string()
2011-05-23abis_nm: fix some fallout regarding abis_nm migration to libosmocoreHarald Welte4-6/+7
Thanks to Holger for noticing this.
2011-05-22abis_nm: Move lots of generic definitions + code to libosmocoreHarald Welte1-388/+26
2011-05-22use new libosmogsm ip.access protocol header fileHarald Welte1-87/+1