aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2012-11-06debian: Move debian directory to ease building packagesHolger Hans Peter Freyther22-509/+0
This is required to have git-buildpackage be able to create tarballs from the git repository and was done by Jan in the debian branch as well.
2012-11-02sms_queue: It is a bad idea to detach a subscriber on failed deliveryHolger Hans Peter Freyther1-13/+0
It is a bad idea to detach a subscriber. The subscriber will not be reachable until the next periodic updating cycle. In case we have too many failed deliveries we will need to reduce the period for the LU and implement a subscriber purging task. This is a preparation for the 29C3 and a problem Jolly experience with his type writer system.
2012-10-30mgcp: Fix the log message. This is inside the MDCX printing routineHolger Hans Peter Freyther1-1/+1
2012-10-29nat: Make MGCP helper routine static as it is internal to the MGCP codeHolger Hans Peter Freyther1-1/+1
2012-10-29nat: Document the high level goal of the MGCP/NAT routinesHolger Hans Peter Freyther1-2/+26
Provide some high level documentation that might help to understand what this code is supposed to be doing.
2012-10-27Set byte order defines when compiled on OSXTobias Engel2-2/+14
Byte order defines have a DARWIN prefix on OSX so the values openbsc expects are set from their Darwin counterparts when compiled on OSX.
2012-10-22si: Partially implement the range encoding for the SI.Holger Hans Peter Freyther12-222/+642
I saw the old copy of the "Appendix J" code too late and I have discovered some quirks and I am more familar with my implementation. Most noticable 'w' only needs to be as big as the input arfcn but requires the 'w' to be initialized. The power_of_2 implementation differs as well (mine matches the output of wirehsark). The f0 could be chosen in a better way but right now picking the lower bound is the easiest. It is not clear if to use modulo if the range is chosen in the middle. This can be improved in the future. Right now I have no bit fiddling for range128, 256 and 1024 as I was running out of time.
2012-10-18libbsc: fix message leaks on several error pathsPablo Neira Ayuso1-5/+9
This patch fixes several leak of msgbs in uncommon error paths. Add break at the end of default to make Holger and Peter happy ;-)
2012-10-18Allow setting of Control Channel Description parameters via VTYAndreas Eversberg3-4/+66
2012-10-09bsc: Do not print "SI 18" but SI2ter when the SI generation failsHolger Hans Peter Freyther1-2/+2
2012-10-08SI13: Set alpha value to a safer default of 0 instead of 10Harald Welte1-1/+1
alpha=0 (the new value) doesn't reduce MS transmission power during GPRS as much as we did with alpha=10. This is to optimize for coverage and to keep GPRS working at all cost, and not care about MS battery life time or uplink interference in surrounding cells. FIXME: This should be made configurable via the VTY and the normal default (unless configured otherwise by vty/config file) should be '6'.
2012-10-08bsc_init: Don't drop all BTSs because a single BTS had an errorHarald Welte1-6/+8
2012-10-04tests: Remove the debug/logging test as it is in libosmocore nowHolger Hans Peter Freyther4-51/+1
2012-09-29Fix: T3192 and T3193 must be similarAndreas Eversberg3-3/+3
In order to keep mobile at PACCH as long as possible the timer T3192 is set to 1500ms. This reduces the probablity of long lasting assignment process on CCCH for subsequent downlink TBFs.
2012-09-20mgcp: Add the disable color option to the mgcp binaryHolger Hans Peter Freyther2-1/+6
2012-09-20systemd: Add service units for the BSC, NITB and MGCPHolger Hans Peter Freyther3-0/+28
Add simple systemd service units.
2012-09-19nncc_builtin: send CHAN MODE MODIFY after CALL PROCEEDINGHarald Welte1-6/+6
This is specified in fifugre 7.10c of 3GPP TS 04.08.
2012-09-17abis_nm: Provide a reason when an invalid channel configuration is usedHolger Hans Peter Freyther1-14/+42
Provide a human readable reason the channel combination is not allowed.
2012-09-17abis_nm: Log an error when the channel combination can not be set.Holger Hans Peter Freyther1-1/+1
2012-09-11bsc: Add vty code for allowing emergencyHolger Hans Peter Freyther1-0/+14
2012-09-11bsc: Add vty function for the MSC typeHolger Hans Peter Freyther1-0/+20
2012-09-11bsc: Look for CM Service Requests with emergency causeHolger Hans Peter Freyther3-2/+25
Look for emergency calls and send them to a MSC that can handle them properly.
2012-09-11bsc: Introduce a local MSC type and forbid it from being selectedHolger Hans Peter Freyther2-0/+9
2012-09-11Merge branch 'feature/multiple-msc-connections'Holger Hans Peter Freyther8-54/+174
2012-09-11bsc: Attempt to respond to paging to the MSC that pagedHolger Hans Peter Freyther1-4/+67
Inspect the message and see if it is a paging response, then try to find the MSC that has paged this subscriber and select this as the target MSC, also move the MSC to the back of the list for 'load balancing'.
2012-09-11bsc: Hand the msc_connection to the UDT handling, pass it to pagingHolger Hans Peter Freyther3-13/+12
Pass the osmo_msc_data to the paging sub system, change the code to pass the osmo_msc_data instead of network + bsc_msc_conn.
2012-09-11bsc: Move the finding of a MSC into the filter codeHolger Hans Peter Freyther3-20/+21
For responding to paging on the right link we will need to figure out if the msg is a paging response.
2012-09-11bsc: Select a MSC in a round-robin fashionHolger Hans Peter Freyther3-10/+35
Select a MSC, add it to the back of the list after we have selected it.
2012-09-11bsc: Allow to configure more than one MSC in the VTYHolger Hans Peter Freyther3-26/+56
2012-09-11msc: Only kill connections belonging to the given MSCHolger Hans Peter Freyther1-2/+4
When a MSC connection drops, only kill the connections that belong to the given MSC and not all other connections.
2012-09-11gbproxy: Address two unaligned memory access warningsHolger Hans Peter Freyther1-8/+14
The lines 461 and 303 were producing unaligned memory access as the BVCI was not aligned properly. Introduce a tlvp_val16_unal to read 16bit from the data, use memcpy to the stack to make sure that it is working in the aligned and unaligned case.
2012-09-11osmo-bsc: Command bts_connection_status with TRAPSDaniel Willmann1-0/+75
2012-09-11osmo-bsc: Introduce command msc_connection_status and send TRAPs for itDaniel Willmann2-2/+67
2012-09-11nat: Change the ctrl command pathDaniel Willmann1-13/+12
The commands net.<netid>.bsc.<bscid>.* are now forwarded to the appropriate osmo-bsc. <netid> for now is just 0. <bscid> is not the LAC anymore (since that could be ambiguous), but instead the number as configured in bsc-nat.cfg
2012-09-11libctrl, osmo-bsc: Get rid of net prefixDaniel Willmann3-13/+5
net is now implicit in the root node
2012-09-11osmo-bsc: Include rf statistics in the location-state TRAP as wellDaniel Willmann3-0/+113
The first fields are still the location up to the height. The next field is "operational" if any of the trx are operational, otherwise "inoperational" The second to last field contains "locked" if all of the trx are in the admin state, otherwise "unlocked". The last field represents the rf policy currently in effect. It is one of (on|off|grace|unknown). <tstamp>,<valid>,<lat>,<lon>,<height>,<oper>,<admin>,<policy>
2012-09-11osmo-bsc: Prepare to send more than just the location in the TRAPDaniel Willmann1-1/+24
2012-09-11ctrl: Use strtol instead of atoi to detect conversion errorsDaniel Willmann1-10/+27
2012-09-11ctrl: Improve error messages in ctrl_cmd_handleDaniel Willmann1-12/+28
2012-09-11ctrl: Change the paths to bts.%i. instead of bts%iDaniel Willmann1-6/+18
2012-09-11ctrl: Do not allow to set the RF Lock for a single trxHolger Hans Peter Freyther1-40/+0
The ip.access nanoBTS has issues if the admin changes are called too often in too little time. This will lead to a situation where the site manager will fail to start properly. Remove the TRX code as the RF Control class does not support setting this per TRX.
2012-09-11osmo-bsc: Change variable name to better reflect current/last locationDaniel Willmann1-48/+43
2012-09-11gsm_data: Include a structure for the geographical location in gsm_btsDaniel Willmann2-0/+20
2012-09-11ctrl: Improve error handling if controlif setup failsDaniel Willmann6-19/+53
2012-09-11osmo-bsc: Put the control commands in osmo_bsc_ctrl.cDaniel Willmann4-259/+315
2012-09-11osmo-bsc: Only send a TRAP if the location changesDaniel Willmann1-4/+14
2012-09-11osmo-bsc: Add support for traps to the location commandDaniel Willmann1-1/+31
2012-09-11osmo-bsc: Allow location tstamp to be zero if fix is invalidDaniel Willmann1-2/+2
2012-09-11osmo-nitb: Update control interface API in osmo-nitbDaniel Willmann1-1/+1
2012-09-11nat: Add support for traps to the natDaniel Willmann1-0/+7