aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
AgeCommit message (Collapse)AuthorFilesLines
2012-05-02bsc: Auto RF Off in case of missing MSC connectionHolger Hans Peter Freyther2-0/+4
For short IP failures we want the RF to stay up and wait for the re-connect but in case the A-link is gone too long it is good to switch off the RF and wait for commands to enable it again.
2012-05-02bsc: Use the BSC RF CTRL to change the RF state of the TRXsHolger Hans Peter Freyther1-0/+1
Use the delayed scheduling feature of the osmo_bsc_rf class to avoid crashing the site controller of the nanoBTS.
2012-05-02audio: Make the BSC handle the new mr_config request of the BSC APIHolger Hans Peter Freyther2-0/+9
Handle the mr_config request and set the AMR multirate config for the given MSC. Initialize the mr_config with the AMR5.9 default we have been using until now.
2012-05-02audio: From RTP point of view we can use one payload for HR/FR AMRHolger Hans Peter Freyther1-2/+1
Remove the separation of half-rate and full-rate AMR. The used rate can be found inside the AMR payload. The signalling of what kind of traffic channel is used can be done with the GSM 08.08 Chosen Channel IE in the Assignment Complete message. This way I can use a fixed payload type in the MGCP GateWay but have a mixed TCH/F and TCH/H config. E.g. use TCH/F FR3 for some subscribers when connected to MSC A but use AMR5.9 on a TCH/F for MSC B when all TCH/Hs are gone.
2012-05-02audio: Remove the hardcoding of the RTP PayloadHolger Hans Peter Freyther1-1/+0
The MGCP config must be correct and use 99 for RTP AMR.
2012-05-02bsc: Inspect a CC Setup message and attempt to reroute the trafficHolger Hans Peter Freyther1-0/+7
Inspect the CC Setup messages and if the dialed number is matching the regexp of the local MSC the connection will be rerouted. The original MSC will get a GSM0808 CLEAR REQUEST, a new connection with a CC Setup message will be opened.
2012-05-02bsc: Look for CM Service Requests with emergency causeHolger Hans Peter Freyther1-0/+1
Look for emergency calls and send them to a MSC that can handle them properly.
2012-05-02bsc: Introduce a local MSC type and forbid it from being selectedHolger Hans Peter Freyther1-0/+7
2012-05-02bsc: Hand the msc_connection to the UDT handling, pass it to pagingHolger Hans Peter Freyther1-1/+1
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-05-02bsc: Move the finding of a MSC into the filter codeHolger Hans Peter Freyther1-0/+1
For responding to paging on the right link we will need to figure out if the msg is a paging response.
2012-05-02bsc: Select a MSC in a round-robin fashionHolger Hans Peter Freyther1-1/+2
Select a MSC, add it to the back of the list after we have selected it.
2012-05-02bsc: Allow to configure more than one MSC in the VTYHolger Hans Peter Freyther1-0/+1
2012-05-02bsc: Prepare to have multiple MSC connectionsHolger Hans Peter Freyther1-3/+11
We now have a list of MSCs but in the code we will try to access the MSC with the nr 0.
2012-05-02bsc: Move more things to use osmo_msc_data* directlyHolger Hans Peter Freyther1-1/+1
2012-05-02bsc: Move away from ->bsc.msc to use the selected MSCHolger Hans Peter Freyther1-1/+3
For multiple MSCs we should only have one place where the MSC is selected and the rest will extract it from somewhere.
2012-05-02bsc: Create a osmo_bsc_data and embed osmo_msc_dataHolger Hans Peter Freyther3-5/+15
We want to have multiple MSCs but we also have some data that is only present on a per BSC basis. Right now the MSC data is not allocated with talloc, so we have some change in the talloc contexts.
2012-05-02misc: Move the bsc_parse_reg to libcommom and name it gsm_parse_regHolger Hans Peter Freyther2-1/+9
Move the regexp parsing code from the NAT to libcommon as it will be used by the NAT and BSC code. This also adds the #include <regex.h> include to gsm_data. This header should be split up.
2011-08-26libctrl, osmo-bsc: Get rid of net prefixDaniel Willmann1-1/+0
net is now implicit in the root node
2011-08-26osmo-bsc: Include rf stati in the location-state TRAP as wellDaniel Willmann1-0/+25
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>
2011-08-22ctrl: Add a function to create the cmdHolger Hans Peter Freyther1-0/+1
2011-08-22gsm_data: Include a structure for the geographical location in gsm_btsDaniel Willmann1-0/+18
2011-08-22libctrl: Improve error handling if controlif setup failsDaniel Willmann1-1/+1
2011-08-22osmo-bsc: Put the control commands in osmo_bsc_ctrl.cDaniel Willmann1-0/+1
2011-08-22libctrl: Mark the cmd set/get/verify functions staticDaniel Willmann1-8/+8
2011-07-28libctrl: Add trap helper functionDaniel Willmann1-0/+1
2011-07-28libctrl: Add function ctrl_cmd_send_to_allDaniel Willmann1-0/+1
Sends a command to all ctrl connections except the one it originated from.
2011-07-28libctrl: Change controlif_setup so it returns the ctrl handleDaniel Willmann3-1/+15
nat: Catch up with controlif_setup API change We now save a control handle reference in the nat osmo-bsc: Catch up with controlif_setup API change We now save a control handle reference in the gsm network
2011-07-27GPRS: Fix buffer overflow in case of very long MS RA CAP IEHarald Welte1-1/+1
The MS Radio Access Capability IE can be _very_ long in some recent high-end mobile phones, way beyond the old 14-byte limit. We increase our array to 52 bytes, and make sure not to overflow that buffer.
2011-07-23fix some header file related issues preventing lcr from compilingHarald Welte1-4/+6
2011-07-19libcommon: Add DCTRL logging destination for libctrl related messagesDaniel Willmann1-0/+1
2011-07-19paging: Add method to find the paging data for a given subscriberHolger Hans Peter Freyther1-0/+2
2011-07-19mgcp: Implement RSIP based on a trunk levelHolger Hans Peter Freyther1-1/+1
Implement the RSIP spec extension to work on the specified trunk instead of hardcoding it to the virtual trunk.
2011-07-19bsc: Call the RF Control interface ctrl all the wayHolger Hans Peter Freyther1-1/+1
We had the rf_ctrl_name and the rf_ctl pointer, make both use the word ctrl.
2011-07-16db: use ANSI (void) function declarationsHarald Welte1-2/+2
2011-07-13controlif: declare controlif_setup() in control_cmd.hHarald Welte1-0/+3
this avoids us to copy+paste external declarations over all 'main' files.
2011-07-13nat: Use libctrl and add command forwarding to osmo-bscDaniel Willmann1-0/+22
Passes commands beginning with "bsc.<num>" to the bsc that is responsible for LAC <num>.
2011-07-13libctrl: Add ctrl_cmd_cpy() to copy a commandDaniel Willmann1-0/+1
2011-07-13libctrl: Add macros to help define commandsDaniel Willmann1-0/+69
2011-07-13Add libctrl, an SNMP-like control interfaceDaniel Willmann1-0/+81
In contrast to the VTY interface the control interface is meant to be used by programs. This patch adds basic support, no commands are defined.
2011-06-29properly reset the MO state of all MO on Abis disconnect0.9.14Harald Welte1-0/+5
When we loose the A-bis link, we should properly re-set the administrative, operational and availability state of all MOs
2011-06-29add lchan->meas for BTS side codeHarald Welte1-0/+38
TODO: move all of the BTS side per-lchan data behind a 'void *role' pointer like 'struct gsm_bts'
2011-06-26move gsm 05.02 related calculations into libosmocoreHarald Welte1-3/+0
2011-06-26use new gsm48_number_of_paging_subchannels from libosmocoreHarald Welte1-1/+0
2011-06-26system information related bits for osmo-btsHarald Welte1-1/+9
2011-06-25move {ts,lchan}2chan_nr() functions to gsm_data_shared.cHarald Welte2-1/+5
... this way osmo-bts can use them
2011-06-07add back-pointer for l1 as part of BTS role.Harald Welte1-0/+4
2011-06-06add mo->bts member so we can discover which BTS a MO belong stoHarald Welte1-0/+1
2011-06-06move objclass2{nmstate,mo,}obj() to gsm_data_shared.c (and prefix)Harald Welte1-1/+12
2011-06-05split gsm_data.c in gsm_data_shared.c and gsm_data.cHarald Welte2-9/+14
This facilitates the use of gsm_data.c from osmo-bts
2011-06-05abis_nm.h: Use osmocom/core/abis_nm.hHarald Welte1-2/+1