aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
AgeCommit message (Collapse)AuthorFilesLines
2010-04-19[alloc] Assign a TCH for LU when all SDCCHs are occupied.Holger Hans Peter Freyther4-4/+25
When the cell becomes visible we will be bombed with location updating requests and to reduce the load on the network we should assign as many channels for it as possible. During load peek it is even more important than to have a spare voice channel and in general the LU procedure is pretty fast.
2010-04-18GPRS: Fix calculation of 'Extension Length' in GPRS Cell OptionsHarald Welte1-2/+2
The actual 'Extension Length' field in the 'GPRS Cell Options' IE is coded the length - 1, not the full length. Without this fix, the code has an off-by-one error.
2010-04-18GPRS: Indicate the SGSN is Release 99 as this is the first with EDGEHarald Welte1-1/+6
2010-04-18update openbsc.cfg examples for new gprs syntaxHarald Welte2-2/+2
2010-04-18GPRS: Enable EGPRS coding schemes in Cell Attributes if 'gprs mode egprs'Harald Welte1-4/+9
2010-04-18GPRS: actually enable indicating EDGE capability in SI13Harald Welte1-1/+4
2010-04-18GPRS: change 'gprs enabled <0-1>' to 'gprs mode (none|gprs|egprs)'Harald Welte4-19/+45
This causes some config file breakage but sounds like a much cleaner approach than to have two separate config variables for this.
2010-04-18GPRS: Add Support for the GPRS Cell Option Extension Info IEHarald Welte2-2/+35
Extension Information is part of the GPRS Cell Options IE, as specified in Chapter 12.24 of TS 04.60. It is needed for indicating EDGE capabilities of the BTS to the MS. This simply adds the code to encode this IE as part of SI13, but does not actually use the code yet.
2010-04-18add an example config file for nanoBTS multi-trx caseHarald Welte1-0/+97
2010-04-18update the openbts.cfg.nanobts exampleHarald Welte1-3/+38
2010-04-18GPRS: BVCI 0 and 1 are not permitted.Harald Welte1-1/+1
According to TS 08.18, BVCI=0 is for the SIGNALLING entity, and BVCI=1 is for the PTM entity. Both should not be used by the PTP entity that we're configuring here.
2010-04-18BVCI 0 is not within the permitted rangeHarald Welte1-1/+1
2010-04-18nat: Do not use 0/0 for mux/timeslot by defaultHolger Hans Peter Freyther1-0/+1
0 is a valid timeslot and we should not use it... use a negative value to be save.
2010-04-18nat: Clear the connection on a DLCXHolger Hans Peter Freyther1-0/+1
We can forget about the timeslot/multiplex when getting the DLCX. This way we make room for the next connection that might need to reuse this address.
2010-04-18nat: Always initialize the out pointer...Holger Hans Peter Freyther1-0/+2
Always initialize the pointer to a invalid value in case we encounter a parsing error or such.
2010-04-18nat: Return the SCCP Connection again...Holger Hans Peter Freyther1-11/+11
We will reset the multiplex in a DLCX message and then we can reset the multiplex as well...even if the MGCP connection is staying open. or at least this is a theory. The MSC likes to leave a connection open during CallControl when hanging up early enough in the process.
2010-04-18nat: Return the newest SCCP connection...Holger Hans Peter Freyther1-1/+5
In case we have a stale SCCP connection with an Endpoint that we want to reassign...use the newest (last) occurence of that as it is most likely the one we want to handle.
2010-04-18bsc_msc_ip: Print a small status on active connectionsHolger Hans Peter Freyther2-1/+21
This needs to be improved to print TS of the lchan, when the connection was created, when we received the last IT.
2010-04-18nat: Increase the right counter on calls.Holger Hans Peter Freyther1-1/+1
2010-04-18nat: Add new connections to the end of the listHolger Hans Peter Freyther1-1/+1
By adding them to the end the VTY interface will only append connections and not change the order on each invocation.
2010-04-18bssap: Move parsing of paging into the paging section...Holger Hans Peter Freyther1-2/+2
2010-04-18nat: Remove the SHOW_STR from none show commands.Holger Freyther1-3/+3
2010-04-17bsc_msc_ip: Allow to put the MSC address into the network configHolger Hans Peter Freyther3-16/+49
2010-04-17nat: Print the LAC that was searched for and not found.Holger Hans Peter Freyther2-3/+6
2010-04-17nat: Mention when we do not find a BSC for a given token.Holger Hans Peter Freyther1-1/+3
This might help to identify what is wrong with the config of the BSC. Also using the result of TLVP_VAL as a char pointer looks suspicious...
2010-04-17nat: Print the IP address of the BSC that does not respond to the query.Holger Hans Peter Freyther1-1/+6
2010-04-17nat: Make the MSC configurable.Holger Hans Peter Freyther3-1/+13
2010-04-17nat: Move MSC ip address into the config..Holger Hans Peter Freyther4-7/+35
The address can still be specified on the cli and it will overwrite the config in the config file.
2010-04-17Add rf_locked to the configuration writing.Holger Hans Peter Freyther1-0/+3
2010-04-17Use osmocore tlv definition for GSM0808.Holger Hans Peter Freyther3-32/+6
2010-04-17[statistics] Keep track of OML/RSL failures of the BTS.Holger Hans Peter Freyther3-0/+10
2010-04-17[statistics] Keep track of rf failures and rll release failuresHolger Hans Peter Freyther3-1/+9
Add two new counters to count the RF Failures and the RLL Release failure and make them available via the vty interface.
2010-04-17Merge branch 'on-waves/mgcp'Holger Hans Peter Freyther3-11/+19
2010-04-17[mgcp] Fix vty file generation for the BSC nat and other casesHolger Hans Peter Freyther1-6/+8
The current setting was not properly written out, this commit is fixing it. This includes indention, empty bts ip, wrong command for endpoints and the wrong number (+1 as zero is allocated but unused).
2010-04-17Add rf_locked to the configuration writing.Holger Hans Peter Freyther1-0/+3
2010-04-16[mgcp] Fix vty file generation for the BSC nat and other casesHolger Hans Peter Freyther1-6/+8
The current setting was not properly written out, this commit is fixing it. This includes indention, empty bts ip, wrong command for endpoints and the wrong number (+1 as zero is allocated but unused).
2010-04-16nat: Two fixes for the write memory case...Holger Hans Peter Freyther2-2/+2
Add new BSCs to the tail so we keep the sort order when writing them out to the vty, fix the LAC command.
2010-04-15[vty] Separate BSC and MSC statistics. Make it easy to print them.Holger Hans Peter Freyther3-41/+48
Move the statistics command into the MSC part and move the BSC statistics printing into a subroutine.
2010-04-15[mgcp] Only write audio_name/payload when it is actually set.Holger Hans Peter Freyther1-2/+4
2010-04-15[bsc_init] When the RSL/OML connection drops, free all lchansHolger Hans Peter Freyther2-2/+41
Free all allocated channels on the TRX that failed, go through lchan_free to signal higher layers and then force a reset of the channel. Make the TRX and TS unusable by setting the operational set to 0 (not really defined) which should be reset once the RSL is coming up again.
2010-04-15[ipa] Fix the reporting of link down...Holger Hans Peter Freyther1-2/+2
Now bsc_init.c is able to handle the link down messages.
2010-04-15[ipa] Handle losing the RSL/OML connection..Holger Hans Peter Freyther1-26/+121
This is addressing multiple issues regarding the loss of the OML/RSL link to the BTS. 1.) When we lose the OML link, close down all RSL connections on all TRXs (only tested with one TRX) and free the e1inp_line allocated for the OML connection. 2.) When we lose the RSL link on any TRX and we know to which lines this connection belongs, we will close down the OML connection as we have a problem to just reactivate one RSL link. 3.) When we lose the RSL link on any TRX and we do not know where it belongs to we will free the bfd we have allocated in the rsl listen/accept method and we properly close the socket (i could not test this one properly). This is made under the assumption the BTS has not responded to the ID request. 4.) When we already have a bts->oml_link we will throw it away and use the new link (it should not happen) and the same applies to the rsl link.
2010-04-14[bsc_msc_ip] Implement a simple RF lock command interfaceHolger Hans Peter Freyther3-2/+267
Right now this is using unix domain sockets and it only supports query, on and off as commands. In the future we want to have a vty<->snmp bridge or at least more status exposed via snmp.
2010-04-14bsc_msc_ip.c: Create the GSM network earlier, send the reset on each connectionHolger Hans Peter Freyther1-11/+14
Create the GSM network at the end of the init, send the GSM reset on each reconnection and close a small window when we would send a SCCP msg before being authenticated. For that we have introduced an authenticated into the bsc_msc struct and will manage it inside the bsc_msc_ip.c
2010-04-14bsc_msc_ip.c: Set the signal handler earlier..Holger Hans Peter Freyther1-7/+7
We should set this before starting any network operation.
2010-04-14bsc_msc_ip.c: Fix the source comment...Holger Hans Peter Freyther1-1/+1
This file is the bsc_msc_ip process to communicate with a MSC and to implement the GSM 08.08 spec.
2010-04-13[bsc_msc_ip] Fix the name of the process.Holger Hans Peter Freyther1-1/+1
2010-04-13[bsc_msc_ip] Remove the possible dangerous -P option for the BSCHolger Hans Peter Freyther1-2/+1
We always want to handle the CRCX the way we want to without allocating a BSC proxy process. The default value of 1 is fine for the bsc_msc_ip and we should not allow to set it.
2010-04-13nat: Add config option to filter/handle certain imsi'es.Holger Hans Peter Freyther1-0/+74
2010-04-13[statistics] Count the times we lost the connection to the MSC.Holger Hans Peter Freyther1-0/+2