aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2010-04-20Versioning for the bsc_msc_ipon-waves/0.3.99Holger Hans Peter Freyther1-1/+1
2010-04-20[vty] Allow to set the RACH NM attributes on a per BTS basisHolger Hans Peter Freyther4-0/+51
Be able to tune the RACH settings of the BTS via the vty interface, by default they are initialized to -1 which means we will use the content of the static array (BTS default) and can be changed via the VTY interface. I have verified the setting on the nanoBTS with wireshark and I have tested writing the config file.
2010-04-20[paging] Implement the counting for TCH/H and TCH/FHolger Hans Peter Freyther1-4/+11
Add some code to count TCH/H and TCH/F and also handle the neci bit of the network. Our channel allocator will allocate a TCH/F if we request a TCH/H but can not allocate it.
2010-04-20[paging] Only page if we have some free channels right nowHolger Hans Peter Freyther4-0/+67
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.
2010-04-20Version bump for On-Waveson-waves/0.3.98.2Holger Hans Peter Freyther1-1/+1
* Revert RTP_PAYLOAD change as it does not work on AMR * Change paging to not send it as a bulk...
2010-04-20Revert "ipaccess: Send RTP Payload IE for CRCX & MDCX"Holger Hans Peter Freyther4-56/+8
This is causing a regression with AMR audio. The nanoBTS is sending a MDCX NACK with Cause 0x52. Reverting this commit makes it work again. This reverts commit b54dda4cefe89665d98074cf3767858fa6ecdb6e.
2010-04-20[paging] Continuisly send paging commands.Holger Hans Peter Freyther1-22/+24
Instead of throwing a huge pile of paging commands to the BTS we will submit one paging command every half second. This way we can have different messages between the paging commands.
2010-04-20[paging] When giving credit try to send out paging requests too.Holger Hans Peter Freyther1-0/+2
Make sure the paging timer is restarted after giving some credit and send out paging requests.
2010-04-20[paging] Revert the paging band aid.Holger Hans Peter Freyther1-6/+1
2010-04-19Increase the minor version as this is a band-aid..Holger Hans Peter Freyther1-1/+1
2010-04-19BAND AID... Reduce the delay timer, reduce number of paging requests we sendHolger Hans Peter Freyther2-2/+8
This is a band aid and not a proper fix. Reduce the time between two IPA commands even if it is breaking rugby sized BTSs, limit the paging commands we send during one iteration through the event loop. This should prevent us from killing ourselves in a RACH loop.
2010-04-19bsc_msc_ip: Crash fix on MO-Call starting with a SDCCHHolger Hans Peter Freyther2-3/+6
We do not assing a GSM Subscriber to Mobile Originated calls, when requesting a SDCCH and then starting call control we will crash here due trying to copy a NULL subscriber from the lchan to the other. We do not need to know the IMSI at the BSC so it is okay to not copy the subscriber around, we could even kill all subscriber handling in the future.
2010-04-19[paging] When we ran down to 0 available paging slots start a credit timerHolger Hans Peter Freyther2-9/+18
It might be that we run down to zero available slots but the BTS might not send us a load indication. This can happen if we think we send paging requests and the BTS disagrees and considers them as errors and does not count the paging message. When we drop to zero we will start a credit timer to give us extra credit after six seconds, if we get a CCCH load indication before we will stop the timer.
2010-04-19Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther18-57/+375
Conflicts: openbsc/include/openbsc/abis_rsl.h openbsc/include/openbsc/mgcp.h openbsc/src/abis_rsl.c openbsc/src/chan_alloc.c openbsc/src/handover_logic.c openbsc/src/mgcp/mgcp_network.c openbsc/src/vty/command.c openbsc/src/vty_interface.c
2010-04-19Increase the version.on-waves/0.3.98Holger Hans Peter Freyther1-1/+1
2010-04-19RSL: inmplement ip.access paging load indication 'below threshold'Harald Welte1-0/+4
This is an ip.access specific 08.58 oddity. It reports 0xffff available paging buffers if the paging load is below the 12.21 CCCH LOAD INDICATION THRESHOLD. We use 50, since that is what it reports if the threshold == 0.
2010-04-19[vty] Count pending paging requests for the vtyHolger Hans Peter Freyther3-1/+18
Implement a method to count the number of pending paging requests per bts and print it on the VTY. This helps to see how big the backlog of requests is for a given BTS.
2010-04-19nat: Make sccp/bsc show connections more Cisco like...Holger Hans Peter Freyther1-4/+4
Second attempt to use a syntax more comparable to 'Cisco', I have never used such a system... let us see how this is going.
2010-04-19[vty] Allow to allocate TCH/H and TCH/F too for testing purposes.Holger Hans Peter Freyther1-2/+10
2010-04-19[vty] Add a test command to allocate all SDCCHHolger Hans Peter Freyther1-0/+23
2010-04-19[alloc] Assign a TCH for LU when all SDCCHs are occupied.Holger Hans Peter Freyther5-5/+26
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 Welte5-20/+55
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 Welte3-2/+46
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: Fix the test case by allocating a config.Holger Hans Peter Freyther1-0/+1
For the statistics we do need to have an allocated config, otherwise we will nicely crash.
2010-04-18nat: Return the SCCP Connection again...Holger Hans Peter Freyther3-14/+14
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 Freyther4-16/+51
2010-04-17nat: Print the LAC that was searched for and not found.Holger Hans Peter Freyther4-7/+11
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 Freyther4-1/+14
2010-04-17nat: Move MSC ip address into the config..Holger Hans Peter Freyther5-7/+37
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