aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_hack.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-26move log/debug codebase to libosmocoreHarald Welte1-10/+10
The logging/debugging code is generic enough to move it into libosmocore while keeping OpenBSC specific definitions in openbsc itself. This commit uses the logging support present in libosmocore-0.1.2, you will have to update your library to this version.
2010-03-25bsc_hack: Add other known options to the listHolger Hans Peter Freyther1-1/+3
2010-03-25bsc_hack: Add option to set the global log level.Holger Hans Peter Freyther1-1/+6
2010-03-24Make the compiler happy and use a putsHolger Hans Peter Freyther1-1/+1
2010-03-24Move the copyright and version header to bsc_init.cHolger Hans Peter Freyther1-10/+2
The copyright/version will be used from within the VTY code which might be linked into binaries even when bsc_hack.c is not linked into it.
2010-03-23automatically include program version and print it from vty and --versionHarald Welte1-2/+28
2010-02-20split 'libosmocore' from openbsc codebaseHarald Welte1-2/+2
This library is intended to collect all generic/common funcitionality of all Osmocom.org projects, including OpenBSC but also OsmocomBB The library currently includes the following modules: bitvec, comp128, gsm_utils, msgb, select, signal, statistics, talloc, timer, tlv_parse, linuxlist msgb allocation error debugging had to be temporarily disabled as it depends on 'debug.c' functionality which at the moment remains in OpenBSC
2010-01-14Register GSM_BTS_TYPE_UNKNOWN in bsc_hack.cDaniel Willmann1-0/+2
The way the VTY configuration sytem works is that it first registers a BTS of type GSM_BTS_TYPE_UNKNOWN and then sets the type correctly (after encountering the type statement). This makes sure that registering a BTS of type UNKNOWN succeeds.
2010-01-12update copyright statementsHarald Welte1-1/+1
* include 2010 * add Andreas Eversberg and Sylvain
2010-01-10[OML] parse attributes depending on BTS typeHarald Welte1-0/+6
Some NM attributes are defined differently depending on the BTS type. Having one big nm_att_tlvdef[] table for all BTS types is no longer sufficient. This patch * introduces 'struct gsm_bts_model' to describe a BTS model * adds definitions of gsm_bts_model for BS-11 and nanoBTS * changes the abis_nm_tlv_parse() function: include a bts pointer
2009-12-24vty: sub-divide talloc contexts and include them in talloc reportHarald Welte1-0/+6
The VTY code makes so many allocations that a full report is simply too long to provide any useful information. So we sub-divide it in multiple contexts, and report only one level deep at SIGURS1. We also introduce SIGUSR2 for the full detailed VTY report.
2009-12-23[statistics] Do the syncing to db from within the bsc_hackHolger Hans Peter Freyther1-0/+23
Change the counters_store_db function to be a generic for_each function taking a function pointer and data. Use that in bsc_hack to store it to the DB. This is removing the DB requirement and will allow to handle the counter values in different ways without making the counter list public. I verified that the syncing is still taking place.
2009-12-22Import the new logging architectureHolger Hans Peter Freyther1-3/+11
This is the new logging architecture, including * support for multiuple logging targets like stderr and vty * log levels in addition to categories/subsystems * filtering based on imsi, i.e. only see events for one subscriber * dynamically change log level for each category for each vty
2009-12-20remove hand full of 'extern ipacc_rtp_direct' definitionsHarald Welte1-1/+0
and instead declare it in gsm_data.h
2009-12-19add --help message about --rtp-proxy argumentHarald Welte1-0/+1
2009-12-17[handover] first functional handover implementationHarald Welte1-0/+1
With this commit, we can successfully hand over a channel from one cell to another cell. We implement asynchronous intra-BSC (but inter-BTS) handover. Changes: * introduce new DHO log category * extend rsl_chan_activate_lchan() with argument for HO reference * introduce actual minimal handover decision making in handover_decision.c * various fixes to bsc_handover_start() in handover_logic.c
2009-12-06location updating reject cause now specified on VTY rather than command line ↵Harald Welte1-5/+0
argument
2009-12-06[bsc_hack] Ignore the sigpipe...Holger Hans Peter Freyther1-0/+1
We might read or write on the OML link when the BTS is reset and will get SIGPIPE interrupt and be gone... Just ignore the SIGPIPE we will get the "exception" on the next run of bsc_select and kill the (old) OML link.
2009-12-01Introduce new S_GLOBAL_SHUTDOWN signalHarald Welte1-0/+2
This is used to notify various parts of OpenBSC that we're shutting down.
2009-08-17[bsc_init] Create a bsc_init.c that can be used for setting up hings.Holger Hans Peter Freyther1-1076/+20
Share the initialization and bootstraping of the network by moving the code to a new file and making boostrap_network and shutdown_net external. Cleanup the header list after the move and remove trailing whitespace.
2009-08-17actual code running at end of har2009Harald Welte (local)1-0/+13
2009-08-16trigger RRLP position requests after paging succeeded and after subscriber ↵Harald Welte (local)1-0/+1
attach
2009-08-15move talloc context creation out of on_dso / constructorsHarald Welte (local)1-0/+1
the various constructors get called in a non-obvious, linker determined order, which makes certain objects disappear from the talloc report. This change moves the talloc context creation into a new talloc_ctx.c file
2009-08-14allow vty to set periodic location updating timer t3212Harald Welte (local)1-2/+1
2009-08-13Merge commit 'har/laforge'Daniel Willmann1-5/+2
2009-08-13disable emergency call bit (i.e. cell does not support emergency call)Harald Welte1-4/+4
2009-08-13fix token auth implementationHarald Welte (local)1-0/+1
2009-08-13replace the command line option -a with the auth-policy config optionJan Luebbe1-4/+0
2009-08-13add 'ms max power' vty command to set the maximum MS power in dBmHarald Welte (local)1-1/+1
2009-08-12add help message about timestamp optionHarald Welte1-0/+1
2009-08-12patch power reduction into NM attributesHarald Welte1-0/+4
2009-08-12patch the SI and NM attr tables independentlyHarald Welte1-23/+39
2009-08-12set nominal TRX power for BS-11 and nanoBTSHarald Welte (local)1-0/+9
2009-08-12implement bts->cell_barred feature, configurable in VTYHarald Welte (local)1-0/+16
2009-08-10Merge commit 'origin/master'Harald Welte1-3/+4
2009-08-10bsc_hack.c: Unconditionally listen for the nanoBTSHolger Hans Peter Freyther1-3/+4
As proposed on the mailinglist, initialize the socket once and wait for the nanoBTS to connect.
2009-08-10BS11: send measurement report every 5 SACCH framesHarald Welte1-1/+1
2009-08-10perform A-bis OML configuration based on config fileHarald Welte1-124/+77
This means that the config file is now finally the central source of not only the E1 configuration on the BSC, but also the E1 and GSM channel configuration on the BTS.
2009-08-10bsc_hack.c: Explain why the program will exit...Holger Hans Peter Freyther1-1/+3
2009-08-10bsc_hack.c: Allow to use a different file for the config fileHolger Hans Peter Freyther1-2/+8
2009-08-09chane TRX0/TS0 channel combination to not include a CBCHHarald Welte1-3/+3
We don't support CBCH anyway, and using CBCH will reduce the number of uesable SDCCH/4 channels to 3 on TS0
2009-08-09Merge branch 'master' into config_fileHarald Welte1-0/+5
Conflicts: openbsc/src/vty_interface.c
2009-08-09move ms_pwr utility function to gsm_utils.cHarald Welte1-1/+2
also, they should both take the gsm_band parameter, not a BTS
2009-08-09configure MS CCH max power IEI of SI3 and SI4 to 20dBM (100mW)Harald Welte1-0/+4
2009-08-08the actual config file code (not just config files)Harald Welte1-169/+38
this was missing from commit a08a9acdb6bff0ee4fdf0f58b78b6525017a1f9f
2009-08-07in case of SIGABRT, don't exit(0) and thus prevent creating a core fileHarald Welte1-1/+3
2009-08-06introduce '-2' commandline option for second BS-11Harald Welte1-4/+27
Using this option, you can use two BS-11 connected to the same E1 link. The first BS-11 needs to have BPORT0 and BPORT1 objects created with E1 Line Configuration attribute "multi-drop". The second BS-11 is configured with only BPORT0 in star configuration, and needs to have the OML signalling on TS6 instead of TS1. Also, a kernel patch providing a second virtual E1 interface is needed.
2009-08-06shut down the OML (and thus the BTS) when bsc_hack is terminated with ctrl+cHarald Welte1-2/+6
2009-08-06only set BCCH INFO on first TRX (C0) of BTSHarald Welte1-4/+6
2009-08-06use HARDCODED_BTSn_TS defines from bsc_hack.cHarald Welte1-19/+36