aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc
AgeCommit message (Collapse)AuthorFilesLines
2011-03-04prefix sub-directories containing libraries with 'lib'Harald Welte28-16338/+0
... and make sure tests work again after restructuring
2011-03-03re-structure the OpenBSC directory layoutHarald Welte38-2672/+16334
The new structure divides the code into a number of libraries for the BSC core functionality, MSC core functionality, Abis transport, TRAU and other bits. This doesn't introduce any functional code change but simply moves around files and alters Makefile.am accordingly. Next step would be to disentangle a lot of the inter-library dependencies and make the individual bits of code more independent.
2011-02-24Use shorter vty_app_info->name for all appsHarald Welte1-1/+1
... as this is now used as SYSLOG ident
2011-02-24rf: Delay execution of commandsHolger Hans Peter Freyther1-18/+35
Delay executing RF commands up to a second. If many commands arrive within a second then just execute the last command.
2011-02-24rf: Verify that the requested mode is entered and drop OML in errorHolger Hans Peter Freyther1-0/+31
Verify that the BTS is following our orders, if we think there was an error we will drop the OML connection.
2011-02-24rf: Remember the last command requested on the RF CMD interfaceHolger Hans Peter Freyther1-0/+5
2011-02-24misc: Compile fixes due 4d54d0b883dcf85cd92290dd4cea51754c70b621Holger Hans Peter Freyther1-1/+0
2011-02-18bsc: Use msg->data and msg->len for the hexdump, pick a better nameHolger Hans Peter Freyther1-3/+3
Rename the method as we send everything to the MSC and not just SCCP. Put alink into the function name. Also use msg->data and msg->len in hexdump as this is what we are sending to the server.
2011-02-18bsc: core-mobile-country-code and core-mobile-network-code range is too smallHolger Hans Peter Freyther1-2/+2
Make both VTY commands have the same range as the normal MCC and NCC command in the config file.
2011-01-16bsc: Initialize the subscr to NULL in the default caseHolger Hans Peter Freyther1-0/+3
The paging response should always have a TMSI or IMSI and we should be able to find the subscriber using that. If no IMSI/TMSI is present and we would still accept the LU we would access the uninitialized memory.
2011-01-07ipa: Only use one IPA number for Osmo extensionsHolger Hans Peter Freyther1-2/+2
Instead of using more numbers from the proto range we will use the 0xee and then have a mini header with our new proto id in there. For a start rename the use types to _OLD.
2011-01-06misc: Fix compiler warning about incompatible pointersHolger Hans Peter Freyther1-1/+1
2011-01-01License change: We are now AGPLv3+ instead of GPLv2+Harald Welte10-60/+50
The reason for this is quite simple: We want to make sure anyone running a customized version of OpenBSC to operate a network will have to release all custom modifiations to the source code.
2010-12-22misc: Include abis_rsl.h to remove some compiler warningsHolger Hans Peter Freyther1-0/+1
This was introduced by a recent change to gsm_data.h to include less header files. We really need to access the RSL information here so it is fine to include the file.
2010-12-15osmo-bsc: Make it compile against paging_request_stop() api changeHarald Welte1-1/+1
The additional msgb argument was introduced by Sylvain in c7ff2572a723e6ace3006e6d7c77c0b19c0e0401
2010-11-26bsc: Add a command to set the ussd_welcome_textHolger Hans Peter Freyther1-0/+17
Make the USSD welcome text configurable.
2010-11-26mid-call: Do not lose the first word of the messageHolger Hans Peter Freyther1-1/+1
2010-11-26mid-call: Make the mid-call behavior the default for switching things offHolger Hans Peter Freyther1-20/+34
When switching the RF off we will always go through the grace period, add a direct off mode to switch it off directly. Make the query return a 'g' if we are in the process of switching things over.
2010-11-26mid-call: Implement a timer to go from grace to off.Holger Hans Peter Freyther1-7/+39
Start the timer... switch it off when we do the final tranistion by a command.
2010-11-26mid-call: Rename ussd-grace to mid-callHolger Hans Peter Freyther2-15/+15
2010-11-26mid-call: Introduce a timeout to switch from grace to rf off.Holger Hans Peter Freyther1-0/+13
2010-11-15bsc: Implement queuing of messages to the MSC before the con is establishedHolger Hans Peter Freyther1-5/+45
2010-11-15bsc: Use the BSC Filter to stop a paging_requestHolger Hans Peter Freyther1-0/+49
2010-11-15bsc: Implement paging by creating a dummy subscr for the pagingHolger Hans Peter Freyther1-2/+14
In the future we should avoid using a gsm_subscriber at all and pass the imsi/tmsi to the paging function directly. For now we can use the old model for paging and go through the gsm_subscriber. This has the benefit of load balancing on the BTS and such.
2010-11-15bsc: The ip.access rtp-payload has no useful meaningHolger Hans Peter Freyther1-15/+0
Sending this as the RTP_PAYLOAD2 will produce a MDCX NACK as we send the RTP_PAYLOAD in the CRCX. It does not seem to be necessary to send anything != 0 for the RTP_PAYLOAD2.
2010-11-15bsc: Add thr audio module to send the MDCX message to the BTSHolger Hans Peter Freyther3-1/+76
2010-11-15bsc: Implement DTAP coming from the MSC and forward to the BSC APIHolger Hans Peter Freyther1-1/+38
2010-11-15bsc: Implement the assignment command to the point of calling into the BSC APIHolger Hans Peter Freyther1-0/+178
2010-11-15bsc: Parse the cipher mode command and pass it to the BSC api.Holger Hans Peter Freyther1-0/+78
2010-11-15bsc: Parse the CLEAR COMMAND and close the lchan and ack thatHolger Hans Peter Freyther1-1/+46
2010-11-15bsc: Make bsc_queue_for_msc work on the osmo_bsc_sccp_conHolger Hans Peter Freyther2-4/+4
The gsm_subscriber_connection can die before the SCCP connection so we should work on the osmo_bsc_sccp_con.
2010-11-15bsc: Work on paging and parsing other messagesHolger Hans Peter Freyther1-1/+140
The paging is not implemented due bad/missing API in the BSC API, the rest are simple stubs to be merged from the on-waves/bsc-master.
2010-11-15bsc: Add module for handling BSSAP inputHolger Hans Peter Freyther3-25/+68
The current implementation is a stub. The code from bssap.c of on-waves/bsc-master will be migrated into this new structure
2010-11-15bsc: Implement sending a SCCP CR with the complete layer3 dataHolger Hans Peter Freyther1-2/+4
2010-11-15bsc: Implement SCCP connection confirmed handling.Holger Hans Peter Freyther1-0/+6
2010-11-15bsc: Implement clearing the SCCP connectionHolger Hans Peter Freyther1-0/+16
2010-11-15bsc: Implement writing out UDT messages to a MSC ConnectionHolger Hans Peter Freyther1-2/+3
2010-11-15bsc: Implement closing the connections when the MSC goes missingHolger Hans Peter Freyther1-8/+40
Refactor the closing code of the CC timeout to a new function, also make sure that the SCCP Connection is forced closed before we destruct the connection for real.
2010-11-15bsc: Implement sending a message toward the MSC.Holger Hans Peter Freyther1-1/+9
2010-11-15bsc: Implement a CC timeout and the IT timeout, prepare the timersHolger Hans Peter Freyther1-0/+37
2010-11-15bsc: Make open/close work on the sccp dataHolger Hans Peter Freyther2-8/+9
2010-11-15bsc: Start to open a SCCP connection and prepare timers and such.Holger Hans Peter Freyther1-4/+58
2010-11-15bsc: Work a bit on opening the SCCP connection to the MSC.Holger Hans Peter Freyther2-6/+60
Most of the code is still stubs but the structure is a lot cleaner than the one in the on-waves/bsc-master branch.
2010-11-15bsc: Add a mobile country code setting for the backbone.Holger Hans Peter Freyther2-1/+16
2010-11-15bsc: Implement scanning and changing messages from the MSCHolger Hans Peter Freyther1-0/+42
This will change the LAI of a LU accept message to the LAI used for the on-air network. It will also detect when to send a welcome ussd to the subscriber.
2010-11-15bsc: Add a method to scan messages coming from the MSC.Holger Hans Peter Freyther1-0/+8
2010-11-15bsc: Look for location updating requests in messagesHolger Hans Peter Freyther1-0/+37
Introduce the SCCP connection data and remember that we were seeing a location updating request from a different LAC.
2010-11-15bsc: Add a hook where we can scan for LU and other messages.Holger Hans Peter Freyther3-1/+37
2010-11-15bsc: Call into the SCCP layer to create a new connection.Holger Hans Peter Freyther2-0/+9
2010-11-15bsc: Reduce duplication with a macro.Holger Hans Peter Freyther1-30/+12