aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_vty.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-01License change: We are now AGPLv3+ instead of GPLv2+Harald Welte1-6/+5
The reason for this is quite simple: We want to make sure anyone running a customized version of OpenBSC to operate a network will have to release all custom modifiations to the source code.
2010-12-24subscr: Introduce VTY option to keep subscribers in ram.Holger Hans Peter Freyther1-0/+14
2010-12-24Fix some stupid typos resulting in compile errors.Harald Welte1-2/+2
2010-12-24BSC VTY: Fix off-by-one / segfault in 'show bts NR'Harald Welte1-1/+1
2010-12-24BTS VTY: Order bts-trx-ts-lchan in 'show lchan'Harald Welte1-9/+7
2010-12-24BSC VTY: Print the current mode of a dynamic TCH/F / PDCHHarald Welte1-2/+6
2010-12-24BSC VTY: Change order of elements in 'show timeslot' commandHarald Welte1-2/+2
It's not logical to first show TS, then TRX, then BTS. It should always be ordered from big to small (BTS, TRX, TS)
2010-12-24BSC VTY: Remove extraneous 'else' from write_ts_single()Harald Welte1-1/+1
This caused the E1 parameters not to be displayed in case the channel was using frequency hopping.
2010-12-24BSC VTY: Fix 'show timeslot' command if BTS and/or TRX are specifiedHarald Welte1-5/+25
2010-12-23IMM ASS REJ: Actually add t3122 parsing to vty codeHarald Welte1-0/+1
2010-12-23Use 04.08 IMM ASS REJECT in case we run out of channelsHarald Welte1-0/+2
If the user has a non-zero 'timer t3122' in the config file, we will send an IMM ASS REJECT in case we run out of resources.
2010-12-23Dynamic PDC: Add VTY comand 'bts N trx M timeslot O pdch [de]activate'Harald Welte1-0/+52
On a nanoBTS, this command can be used to manually switch a given 'dynamic pdch/tch' timeslot from one mode into the other. There are no safeguards that the timeslot is not in use at the given time.
2010-12-15bsc_vty: Fix unknown 'use-dtx' config parser errorHarald Welte1-1/+1
commit 5a3a61d88f1231af5dba96050cbc27270765ef23 introduces a DTX attribute which is parsed as dtx-used, but written as use-dtx (and thus causes a parser error).
2010-12-01bsc: Allow to configure Optional Cell Selection params from vtySylvain Munaut1-0/+108
The default values are those where the parameters are encoded as '0' and they're not output in the config file if that case Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-26vty: For ipaccess we will dump if the OML connection is presentHolger Hans Peter Freyther1-2/+6
2010-11-15ipaccess: Fix dropping the OML/RSL connection.Holger Hans Peter Freyther1-4/+3
Use the ipaccess_drop_oml and ipaccess_drop_rsl functions instead of closing the socket and hoping this is picked up somehow. This just leads to some weird hangs. And gdb was not really helpful to say where it was coming from.
2010-11-15paging: Move the paging data into the paging.hHolger Hans Peter Freyther1-0/+1
2010-10-26[vty] First set of fixes for the oml/rsl con droppingHolger Hans Peter Freyther1-4/+7
The code had wrong documentation in the VTY, it crashed when OML or RSL was not up yet. These issues are fixed right now.
2010-10-26[vty] Add ipa specific command to provoke failures to test OML/RSL reconnectHolger Hans Peter Freyther1-0/+50
We need to simulate OML/RSL failure in an easy and fast way and adding a command to do so seems like a good way to achieve this. The command is a bit misplaced, in one way it is no config and does not belong into the config node but then again it does not belong into the VIEW_NODE either as it is manipulating content. On this merge I have changed it to the ENABLE_NODE.
2010-10-12misc: Replace the idiom for replacing a string with a function callHolger Hans Peter Freyther1-10/+2
Remove a lot of code in favor of a new function that is freeing the old string and copying the new one. I should have gotten the context and the strings right.
2010-10-05[VTY] T3212 scaling is 6 minutesDieter Spaar1-2/+2
The scaling of T3212 is in units of 6 minutes, not 10 minutes.
2010-09-06[paging] Only page if we have some free channels right nowHolger Hans Peter Freyther1-0/+16
Only page if we have a load that is acceptable for paging. This option is off by default, and can be enabled per bts. The idea is that when we have no resources right now we will not page as it will only create more RACHs and increase the load. By default we are keeping the old behavior to always page and only by changing a setting one is using the new behavior.
2010-09-06vty: Fix build due to merge issue.Holger Hans Peter Freyther1-0/+1
2010-09-06chan: Add configuration to handle paging any with TCHHolger Hans Peter Freyther1-0/+14
It is possible that the MSC is not sending the channel type it needs for the operations it wants to do. Add a configuration option to assign a TCH in case of paging any requests. It can be a good idea to leave SDCCHs free for location updating requests and use the TCH for SMS-MT and CC-MT.
2010-09-06chan: Store the to be assigned channel type in the GSM Network.Holger Hans Peter Freyther1-0/+1
Store the mapping from request to channel type in the GSM Network struct as there is some policy involved with handling the request. E.g. in a half rate network we don't want emergy calls to be getting a TCH/F, or we want to have a different policy for early/late assignment of phone calls. Update the table when creating the network and when the neci is changed.
2010-09-06bsc_init: Allow DTXu and enable DTXd on RSL (experimental)Holger Hans Peter Freyther1-0/+12
Allow the MS to use uplink discontinous transmission by setting the right bit in the SystemInformation and set DTXd/DTXu on the RSL channel commands. This is configurable via dtx-used (0|1) on the network level and still considered as experimental.
2010-07-30[BSC] use correct 0x2B padding for user-specified SIHarald Welte1-0/+4
2010-07-30[BSC] Add support for configfile-hardcoded System Information messagesHarald Welte1-0/+99
2010-06-28bsc_msc: Remove use_count from the subscriber connectionHolger Hans Peter Freyther1-2/+2
A channel will be released in case of * Errors via the clear_request callback... * no more transactions and operations are going on. This means that if we do something without a transaction the channel might be closed down right away. The bug fix will be to create a transaction/operation.
2010-06-28bsc_api: Allocate the subscriber_connection dynamicallyHolger Hans Peter Freyther1-3/+4
This is a big change to the way we use the subscriber connection. From now on it is is dynamically allocated and we will slowly move from a 1:1 lchan to conn to having more than one lchan per connection. This is the first commit, the subscr_con* methods will move to gsm_data once the use_count is removed from the connection, the freeing of the connection will also change.
2010-06-20[BSC] Make sure we only enable hopping on BTS that support itHarald Welte1-1/+8
2010-06-20[BSC] introduce the concept of 'BTS features'Harald Welte1-1/+15
We can then check if a bts supports a certain feature or not.
2010-06-20[BSC] Implement per-timeslot ARFCN lists for frequency hoppingHarald Welte1-10/+40
We now compute the Cell Channel Description for SI 1 by bit-wise OR of the ARFCN bitmask of each timeslot on all the TRX of the BTS. Also, support generating a GSM 04.08 Channel Description IE for the hopping case (with HSN/MAIO instead of ARFCN). What's still missing now: Sending the 04.08 Mobile Allocation IE
2010-06-20unfinished support for hopping channelsHarald Welte1-0/+59
2010-05-31OML: Introduce minimal VTY command set to interact with OML managed objectsHarald Welte1-0/+2
2010-05-31[rsl] Implement the T3111 timer to delay the RF Channel releaseHolger Hans Peter Freyther1-1/+1
2010-05-27VTY: Fix segfault during 'write file' from vtyHarald Welte1-0/+9
This bug had been introduced by the recent switch to libosmovty
2010-05-25Migrate VTY code to libosmovtyHarald Welte1-4/+5
2010-05-16VTY: separate VTY logging commands and OpenBSC node exit codeHarald Welte1-1/+21
2010-05-16VTY: rename vty_interface.c to bsc_vty.cHarald Welte1-0/+2116
This should reflect the fact that it contains BSC-specific VTY commands.