aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/vty.c
AgeCommit message (Collapse)AuthorFilesLines
2014-04-06Allow TRX 0..254 at VTY, even if less TRX are availableAndreas Eversberg1-5/+4
Instead of limiting the number of TRX at VTY to the actual number of supported TRX, VTY allows to configure any possible number of TRX. If a TRX is configured, which is not supported by BTS model, an error message is returned, which states that the given TRX is not supported.
2014-04-06Allow one or more TRX to configure via VTYAndreas Eversberg1-2/+4
2014-04-05Move gsmtap VTY commands from osmo-bts-sysmo to common partAndreas Eversberg1-2/+91
2014-04-05Move loopback control VTY commands from osmo-bts-sysmo to common partAndreas Eversberg1-0/+38
2014-03-12misc: Fix the build breakage now that we have btsconfig.hHolger Hans Peter Freyther1-0/+2
Include the btsconfig.h for the PACKAGE_VERSION variable.
2014-03-10agch: Add VTY queue management configurationJacob Erlbeck1-0/+43
This patch adds the following VTY commands to tune AGCH queue handling: agch-queue-management default agch-queue-management threshold THRES low LOW high HIGH Examples: agch-queue-management default Resets queue management to default parameters. agch-queue-management threshold 0 low 25 high 75 Start dropping at 25%, drop all messages above 75% queue length (relative to max queue length corresponding to T3126). Between low and high, drop with a probability interpolated linearly between 0 (low) and 1 (high). agch-queue-management threshold 50 low 0 high 0 Start dropping at 50% and continue until all IMM.ASS.REJ have been removed from the front (output) of the queue Sponsored-by: On-Waves ehf
2014-03-10agch: Add simple countersJacob Erlbeck1-0/+8
Counters are added for the following events (use VTY show to query): - Dropped IMMEDIATE ASSIGN REJECT messages - Merged IMMEDIATE ASSIGN REJECT messages - Rejected AGCH messages - Use of PCH (non-reserved) for AGCH messages - Use of AGCH (reserved) for AGCH messages Sponsored-by: On-Waves ehf
2014-02-24Revert "bts/vty: Use new vty_install_default() function, adjust prompts"Holger Hans Peter Freyther1-4/+35
This reverts commit bbfd21a36cdd10c3b8d83a329042d9ebfb4c5250.
2014-02-22bts/vty: Use new vty_install_default() function, adjust promptsJacob Erlbeck1-35/+4
This patch removes the local 'end' and 'exit' implementations (which aren't used anyway) and uses the generic ones provided by libosmocore instead, which are enabled automatically when vty_install_default() is used. The prompt strings are modified to match those in libosmocore/openbsc. Ticket: OW#952 Sponsored-by: On-Waves ehf
2013-02-04Deprecate the "rtp bind-ip" configuration directiveHarald Welte1-10/+3
Instead of explicitly having to specify the local IP address for RTP sockets in the BTS, we just use "0.0.0.0" instead, which gets translated to INADDR_ANY. We still accept the configuration directive in old config files, but when we write, the line will no longer be re-written to the file. TODO: IMHO, the IPA RSL CRCX/MDCX actually permit the BSC to specify the IP address on the BTS side, and we probably simply ignore this at this point.
2013-01-13paging: De-duplicate paging lifetime and max queue length variablesDaniel Willmann1-10/+6
These attributes are saved in paging_state, we don't need to save them a second time in struct gsm_bts_role_bts. Add get and set methods for these attributes and use them consitently in the VTY code.
2012-11-24Add VTY configuration of paging queue size and lifetime of paging recordsHarald Welte1-2/+45
This may be adding bells and whistles that nobody wants to touch, but at least for current analysis/optimiziation they are useful to have. Later on they should probably be removed again and/or obsoleted by OML messages for configuration of paging behaviour by the BSC.
2012-11-10VTY: print length/depth of paging queue in 'show bts'Harald Welte1-0/+4
2012-07-25vty: Document parameters of the unit-id and the band selectionHolger Hans Peter Freyther1-2/+12
2012-04-19common: Add the copyright text to the vty_app_infoHolger Hans Peter Freyther1-6/+7
This will make app -V print the copyright information like the other applications of our universe. An BTS integration that want to list additionaly copyright holders needs to access the vty_app_info and create a new copyright string.
2011-10-12add VTY based way to set clock calibration of sysmobts L1Harald Welte1-1/+61
2011-09-19fix various compiler warnings across the codeHarald Welte1-0/+2
this deals with unused cocde, unused variables and undeclared symbols in various places.
2011-09-08add commands to configure RTP jitter bufferHarald Welte1-1/+88
there's one global setting for the BTS default value, plus an interactive command to change the buffer of an active lchan on the fly
2011-09-07make sure 'band' will correctly parse the crap that libosmocore generatesHarald Welte1-1/+1
2011-09-04add minimal configuration file supportHarald Welte1-3/+277
this config file allows configuration of unit id, oml ip, and local rtp bind IP.
2011-06-27re-work original osmo-bts with support for sysmocom femtobtsHarald Welte1-0/+61
This code re-works osmo-bts to add support for the upcoming sysmocom BTS. It also tries to add some level of abstraction between the generic part of a BTS (A-bis, RSL, OML, data structures, paging scheduling, BCCH/AGCH scheduling, etc.) and the actual hardware-specific bits. The hardware-specific bits are currently only implemented for the sysmocom femtobts, but should be (re-)added for osmocom-bb, as well as a virtual BTS for simulation purpose later. The sysmocom bts specific parts require hardware-specific header files which are (at least currently) not publicly distributed.