aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-05-02bsc: 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-05-02bsc: 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-05-02bsc: Allow to configure more than one MSC in the VTYHolger Hans Peter Freyther3-26/+56
2012-05-02bsc: Prepare to have multiple MSC connectionsHolger Hans Peter Freyther7-28/+96
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: Use the right connection for outgoing packetsHolger Hans Peter Freyther2-3/+11
This is needed for simple UDT messages where we do not have a SCCP connection.
2012-05-02bsc: Move more things to use osmo_msc_data* directlyHolger Hans Peter Freyther3-5/+3
2012-05-02bsc: Move the bsc_filter to use the osmo_bsc_sccp_conHolger Hans Peter Freyther2-7/+8
2012-05-02bsc: Move away from ->bsc.msc to use the selected MSCHolger Hans Peter Freyther3-15/+20
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: Stop using net->bsc->msc and get the right msc from somewhere elseHolger Hans Peter Freyther2-4/+7
2012-05-02bsc: Create a osmo_bsc_data and embed osmo_msc_dataHolger Hans Peter Freyther15-92/+112
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 Freyther6-33/+43
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-11-04osmo_bsc: Fix bts_connection_status signal always appearing as downdaniel/controlifDaniel Willmann1-1/+3
2011-11-03osmo_bsc: Command bts_connection_status with TRAPSDaniel Willmann1-0/+73
2011-11-03osmo_bsc: Introduce command msc_connection_status and send TRAPs for itDaniel Willmann2-2/+65
2011-08-26nat: 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
2011-08-26libctrl, osmo-bsc: Get rid of net prefixDaniel Willmann3-13/+5
net is now implicit in the root node
2011-08-26bsc: Add a null check and return earlyHolger Hans Peter Freyther1-0/+5
2011-08-26ctrl: Fix leak, check null pointerHolger Hans Peter Freyther1-0/+5
2011-08-26libctrl: Fix a compiler warningDaniel Willmann1-1/+1
2011-08-26osmo-bsc: Whitespace change - fix indentation of struct value_stringDaniel Willmann1-2/+2
2011-08-26osmo-bsc: Include rf stati 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>
2011-08-22osmo-bsc: Prepare to send more than just the location in the TRAPDaniel Willmann1-1/+19
2011-08-22osmo-bsc: Use NM_OPSTATE_* to check for operational attributesDaniel Willmann1-1/+1
2011-08-22ctrl: Use strtol instead of atoi to detect conversion errorsDaniel Willmann1-10/+27
2011-08-22ctrl: Improve error messages in ctrl_cmd_handleDaniel Willmann1-12/+28
2011-08-22ctrl: Change the paths to bts.%i. instead of bts%iDaniel Willmann1-6/+18
2011-08-22ctrl: Add a function to create the cmdHolger Hans Peter Freyther2-0/+13
2011-08-22ctrl: Do not allow to set the RF Lock for a single trxHolger Hans Peter Freyther1-38/+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.
2011-08-22osmo-bsc: Move location command to bts node and use the bts locationDaniel Willmann1-38/+33
2011-08-22osmo-bsc: Change variable name to better reflect current/last locationDaniel Willmann1-15/+15
2011-08-22osmo-nitb: Fix a warning about undefined referenceDaniel Willmann1-0/+1
2011-08-22gsm_data: Include a structure for the geographical location in gsm_btsDaniel Willmann2-0/+20
2011-08-22libctrl: Improve error handling if controlif setup failsDaniel Willmann6-17/+50
2011-08-22osmo-bsc: Put the control commands in osmo_bsc_ctrl.cDaniel Willmann4-269/+308
2011-08-22libctrl: Mark the cmd set/get/verify functions staticDaniel Willmann4-27/+27
2011-08-22nat: Fix error in get_next_free_bsc_idDaniel Willmann1-15/+20
The new function now mimcis the behaviour of assign_src_local_reference from bsc_sccp.c
2011-08-22osmo-bsc: Change the net.location formatDaniel Willmann1-19/+36
The format is now: <tstamp>,<valid>,<lat>,<lon>,<height> <tstamp> is the UNIX time (seconds since 1970-01-01 00:00:00 UTC <valid> is any of the strings "invalid", "fix2d" or "fix3d" The remaining fields are simple floating point numbers. If the values given violate the format a meaningful error message is returned.
2011-08-22libctrl: Don't overwrite error reply if the verify function sets oneDaniel Willmann1-1/+3
2011-08-22libctrl: Bind control interface to localhostDaniel Willmann1-1/+1
2011-08-22osmo-bsc: Only send a TRAP if the location changesDaniel Willmann1-3/+14
2011-08-22osmo-bsc: Allow location tstamp to be zero if fix is invalidDaniel Willmann1-2/+2
2011-08-22contrib/bsc_control.py: Patch by Holger to handle connection resetsDaniel Willmann1-0/+4
2011-08-22osmo-nitb: Update control interface API in osmo-nitbDaniel Willmann1-1/+1
2011-08-22nat: Add support for traps to the natDaniel Willmann1-0/+7
2011-08-22osmo-bsc: Add support for traps to the location commandDaniel Willmann1-1/+23
2011-07-28libctrl: Add trap helper functionDaniel Willmann2-0/+15
2011-07-28libctrl: Add function ctrl_cmd_send_to_allDaniel Willmann2-0/+16
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 Willmann6-17/+26
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-28libctrl: Keep track of connections in struct ctrl_handleDaniel Willmann1-1/+11
2011-07-28libctrl: Use DCTRL as logging destination in libctrlDaniel Willmann2-28/+28