aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-05-14[VTY] Remove OpenBSC specific node-exit handling from src/vtyHarald Welte11-49/+83
The idea is to move the VTY code into libosmocore at some point, and for that we need to eliminate OpenBSC specifics from it
2010-05-14VTY: Introduce common code to add 'description' to objects like BTSHarald Welte5-19/+92
There is now an option to add a human-readable description to objects that are configured in the VTY.
2010-05-14DB: don't use reserved "index" word in SQL table field nameHarald Welte1-2/+2
2010-05-14[GPRS] gb_proxy: Initiate RESET procedure on persistent NS-VC at startupHarald Welte5-15/+41
Some BSS that connect to the proxy do not continue to perform the RESET procedure after a timeout. In order to resurrect them, we simply start a RESET procedure.
2010-05-14[GPRS] Gb_proxy: Support common command line argumentsHarald Welte1-1/+72
This allows us to use a user-specified configuration file
2010-05-13[GPRS] BSSGP: Refuse blocking of signalling BVC; Ignore traffic on blocked BVCHarald Welte1-0/+22
2010-05-13[GPRS] BSSGP: Make implementation more robustHarald Welte1-97/+216
We now actually are much more in line with what the specification says. We track the blocked/unblocked state, we don't accept signalling messages on PTP functional entities (and vice versa), and we don't simply create a BVC context with messages other than BVC-RESET.
2010-05-13[GPRS] LLC: Start using different log levelsHarald Welte1-4/+5
2010-05-13[GPRS] LLC: Use DLLC instead of DGPRSHarald Welte1-9/+9
2010-05-13[GPRS] Add debug sections for LLC and SNDCPHarald Welte3-2/+16
2010-05-13[GPRS] BSSGP: Elaborate more on FIXMEsHarald Welte1-8/+10
And fix mistake regarding FLUSH-LL / FLUSH-LL-ACK direction
2010-05-13[GPRS] Rename gsm_04_08_gprs.c to gprs_gmm.cHarald Welte2-1/+1
GMM refers to GPRS Mobility Management.
2010-05-13[GPRS] BSSGP: add function declarationHarald Welte1-1/+6
2010-05-13[GPRS] LLC: Improve implementation compliance to specHarald Welte2-13/+78
Don't allocate a LLC Entity just because BSSGP passes any random SAPI/TLLI up to us. We can only do this for XID and UI frames of the GMM SAPI. Furthermore, add more comments and debug messages.
2010-05-14ipaccess-config: Silence compiler warning.Holger Hans Peter Freyther1-0/+2
2010-05-14[misc] Silence compiler warning...Holger Hans Peter Freyther1-0/+2
If someone tries to set the type to unknown he should know what he is doing, just silence the warning.
2010-05-14Forward declare make_socket.Holger Hans Peter Freyther1-0/+3
2010-05-14Merge branch 'on-waves/mgcp'Holger Hans Peter Freyther2-28/+8
2010-05-14[mgcp] Make show mgcp available in both modes.Holger Hans Peter Freyther1-1/+1
2010-05-14Merge branch 'master' into on-waves/mgcpHolger Hans Peter Freyther102-641/+8482
2010-05-14[mgcp] Clean up VTY code, the ranges are checked by the VTY code.Holger Hans Peter Freyther1-20/+0
2010-05-14[mgcp] Use A.B.C.D for the ip addresses inside the vty configHolger Hans Peter Freyther1-4/+4
Make the vty code parse the ip addresses for us and validate them for us.
2010-05-14[mgcp] Improve the language of the comments.Holger Hans Peter Freyther1-2/+2
2010-05-14[mgcp] Include stdlib.h for abs.Holger Hans Peter Freyther1-0/+1
2010-05-14[vty] Add power measurements to the one line summary.Holger Hans Peter Freyther1-1/+13
2010-05-14[vty] Add a one line show lchan summary command.Holger Hans Peter Freyther1-0/+19
2010-05-14[vty] Move "show lchan" into a parameterized methodHolger Hans Peter Freyther1-9/+17
I want to have a shorter lchan summary but with the same config parameters. Change the current code to be a method that takes a dump routine as parameter.
2010-05-14[vty] Remove unfinished code from the VTY...Holger Hans Peter Freyther1-27/+0
2010-05-14rach: Allow to set the emergency call bitHolger Hans Peter Freyther1-0/+17
Add the rach emergency call allowed (0|1) setting and implement it by directly manipulating the t2 value. It is the third bit which is set to 0 when emergency calls are enabled and to one if it is only enabled for access classes 11 to 15.
2010-05-14rach: Allow to set the emergency call bitHolger Hans Peter Freyther1-0/+17
Add the rach emergency call allowed (0|1) setting and implement it by directly manipulating the t2 value. It is the third bit which is set to 0 when emergency calls are enabled and to one if it is only enabled for access classes 11 to 15.
2010-05-13[GPRS] NS: Remove 'unknown_nsvc' from list of NS-VCsHarald Welte1-0/+3
2010-05-13[GPRS] Gb Proxy: More verbose loggingHarald Welte1-15/+27
2010-05-13[GPRS] NS: Fix segfault when receiving message from unknown NS-VCHarald Welte3-8/+22
In the previous code we used a static fake_nsvc structure in case we needed to send a message to an unknown NSVC for which we don't have a real 'struct nsvc'. However, since we now have a rate_ctr_group hanging off the nsvc, the fake structure didn't have that. So now we keep a nsi->unknown_nsvc around to be used whenever we need a nsvc but don't have a real one. The gprs_ns_vty.c code explicitly does not list that NSVC in 'show ns'
2010-05-13[GPRS] NS: remove debug statement about l2lenHarald Welte1-1/+0
2010-05-13Merge commit 'cf734784b0433dfa6b77909f83cc3620e523f5d7'Harald Welte2-7/+5
2010-05-13[GPRS] NS: more rate counters for BLOCK / DEAD countHarald Welte2-13/+37
2010-05-13[rate_ctr] Rename group_prefix_fmt to group_name_prefixHarald Welte1-2/+2
2010-05-13rate_counters: Remove group-name-sprintf-with-idx stringHarald Welte2-5/+1
2010-05-13[GPRS] NS: Show statistics on VTY only if requestedHarald Welte1-4/+19
2010-05-13[GPRS] NS: properly assign msgb->l2h to count outgoing bytes correctlyHarald Welte1-1/+2
2010-05-13rate_ctr: Store the numeric index as part of 'rate_ctr_group'Harald Welte2-0/+2
2010-05-13[GPRS] NS: Fix wrong counter use and remove debug statementHarald Welte1-4/+2
2010-05-13Add missing file vty/utils.cHarald Welte1-0/+50
2010-05-13Merge commit '7b45d608872f17ab8b71d53a2d87e5f8d621b007'Harald Welte4-2/+207
2010-05-13[GPRS] SGSN: Add Signal handler and NS VTY supportHarald Welte1-5/+45
2010-05-13[GPRS] NS: Start to use rate_ctr_group code from libosmocoreHarald Welte8-253/+377
Every NS-VC now has a set of counters for incoming and outgoing number of packets and bytes. We also split the VTY part of the gprs_ns.c implementation into gprs_ns_vty.c to make sure the protocol can actually be used without the VTY code being present.
2010-05-13Add new 'rate counter' implementation to libosmocoreHarald Welte4-2/+207
A 'rate counter' is a counter that counts events but also keeps track of the rate of events (per second, minute, hour and day). 'rate counters' are generally abstracted in 'rate counter groups', which are instances of a 'rate counter group description'. This way we can have e.g. a description describing what kind of counters a BTS (or TRX) has - and we can then create one instance of that group for every BTS or TRX that exists.
2010-05-13[GPRS] Gb Proxy: Cosmetic fix of log messageHarald Welte1-1/+2
2010-05-12GPRS: Gb proxy memory leak debugging with SIGUSRHarald Welte1-0/+34
2010-05-12GPRS: We have to do the msgb_free() in NS not Gb ProxyHarald Welte2-5/+5
As only NS-UNITDATA messages are ever passed into the Gb Proxy, we need to do the msgb_free() at a much higher point in the calling stack, i.e. inside the NS protocol layer. This means it is now the same logic as in OpenBSC itself.