aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2010-03-29nat: Keep track of both sides of the connectionHolger Hans Peter Freyther1-0/+2
On a CC message we will need to remeber where the source local reference of the network belonged so we can properly identify the connection when receiving UDT messages.
2010-03-29nat: Move creation of the structs to a separate fileHolger Hans Peter Freyther1-0/+2
This way one can create the bsc_nat structure in unit tests..
2010-03-29nat: Move SCCP patching to a new file, log updatesHolger Hans Peter Freyther1-0/+8
Move patching and reassigning of messages to a new file which will making testing this functionality more easy.
2010-03-26msc: Create a real interface for BSC MSC and start handling reconnectsHolger Hans Peter Freyther1-2/+18
Create a BSC<->MSC interface and use it for the BSC MSC IP and the BSC NAT to reduce code duplication on handling reconnects to the MSC and cleaning up the local state. The code is only partially tested and will contain bugs. Currently both the BSC and the NAT will just exit on connection loss and this way have the current behavior.
2010-03-26bsc_msc_ip: Keep track of active connections so we could clear them.Holger Hans Peter Freyther1-0/+3
Keep track of SCCP connections so we can clear them when the MSC is going down.
2010-03-26nat: Start using a write_queue for the BSC connectionHolger Hans Peter Freyther1-1/+2
We are still writing to the BSC directly and don't make real use of this feature right now but we will need to do it.
2010-03-25channel requests: Add configuration to handle paging any with TCHHolger Hans Peter Freyther1-0/+3
It is possible that the MSC is not sending the channel type it needs for the operations it wants to do. Add a configuration option to assign a TCH in case of paging any requests. It can be a good idea to leave SDCCHs free for location updating requests.
2010-03-25channel request: Store the to be assigned channel type in the GSM NetworkHolger Hans Peter Freyther2-2/+5
Store the mapping from request to channel type in the GSM Network struct as there is some policy involved with handling the request. E.g. in a half rate network we don't want emergy calls to be getting a TCH/F, or we want to have a different policy for early/late assignment of phone calls. Update the table when creating the network and when the neci is changed.
2010-03-24Specify a release reason for the lchanHolger Hans Peter Freyther2-4/+4
In case the put_lchan is making the refcount drop to zero use the release reason specified in the put_lchan call. This is used by the BSC MSC IP implementation for the assignment handling where the old channel is getting closed with a local end release (1).
2010-03-24Fix DNAT debug.h definition and move it to the enum.Holger Hans Peter Freyther1-2/+1
2010-03-24Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther3-2/+21
Keep a static version as the shell script is not dealing well with branch tags/names containing text. Resolve merge conflict in the Makefile.am by adding both sides to the list of sources for the libbsc.a Conflicts: openbsc/configure.in openbsc/src/Makefile.am
2010-03-24Correct the company name. It should be On-Waves (ehf)Holger Hans Peter Freyther2-2/+2
2010-03-24Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther36-3478/+474
* Move to libosmocore * Move to new debugging architecture * Register the BTS types * Has only been compile tested Conflicts: openbsc/include/openbsc/Makefile.am openbsc/include/openbsc/gsm_data.h openbsc/include/openbsc/ipaccess.h openbsc/include/openbsc/mgcp.h openbsc/include/openbsc/msgb.h openbsc/include/openbsc/tlv.h openbsc/src/Makefile.am openbsc/src/abis_rsl.c openbsc/src/bsc_init.c openbsc/src/bsc_mgcp.c openbsc/src/chan_alloc.c openbsc/src/debug.c openbsc/src/gsm_subscriber_base.c openbsc/src/msgb.c openbsc/src/rest_octets.c openbsc/src/sccp/sccp.c openbsc/src/vty/command.c openbsc/src/vty_interface.c openbsc/tests/Makefile.am
2010-03-22GPRS: make NSEI configurable from VTYHarald Welte1-0/+1
2010-03-22GPRS: make NSVC parameters VTY-configurableHarald Welte1-0/+4
2010-03-22Create new gprs-conf branch with the non-SGSN part of the gprs branchHarald Welte2-0/+14
This new gprs-conf branch is intended to contain everything needed to configure GPRS in the nanoBTS, but without implementing the SGSN/GGSN functionality. The SGSN/GGSN development will happen in a branch based on this branch called "gprs-sgsn"
2010-03-22ipa-firmware: Write the firmware parts to a fileHolger Hans Peter Freyther1-0/+1
The first non working version to dump the content of the sdp to the terminal..
2010-03-22ipa-firmware: Remove the part_length from the struct sdp_firmwareHolger Hans Peter Freyther1-2/+1
* The length of the table is not at a fixed position. We will need to read the offset, seek there, read the data, convert it to the host endianes. * Prepare the code to work with offsets of 0...
2010-03-07move large parts of mncc.h and gsm48 encode/decode into libosmocoreHarald Welte1-63/+1
2010-03-04decleare gsm_bts_model_register()Harald Welte1-0/+2
2010-03-04move some gsm48 utility functions to libosmocoreHarald Welte2-9/+0
* gsm48_generate_lai() gsm48_generate_mid_from_tmsi() gsm48_generate_mid_from_imsi() * gsm48_cc_msg_names[]
2010-03-02remove gsm04.08 utility code that has been moved to libosmocoreHarald Welte1-0/+1
2010-03-01value_string functions and some RSL related stuff has moved to libosmocoreHarald Welte1-8/+0
2010-02-26Merge remote branch 'origin/master' into on-waves/mgcpHolger Hans Peter Freyther31-3390/+48
Conflicts: openbsc/include/openbsc/Makefile.am openbsc/src/Makefile.am
2010-02-26[mgcp] Keep track of the local and remote RTP payload typeHolger Hans Peter Freyther1-0/+3
Keep track of which RTP payload type to use for which direction.
2010-02-26[mgcp] Introduce a policy CB for the MGCP protocolHolger Hans Peter Freyther1-0/+13
The are three policies. Accept, Reject and Defer. This will allow to handle network connections and such from the policy callback instead of directly acting on it.
2010-02-26[mgcp] Add a method to free the endpoint.Holger Hans Peter Freyther1-0/+1
2010-02-22[mgcp] Make the creation of the mgcp message public.Holger Hans Peter Freyther1-0/+1
2010-02-22[mgcp] Move away from global variables and split out VTY codeHolger Hans Peter Freyther3-11/+109
In separation of using the MGCP parsing in another context, refactor the code to operate on a struct mgcp_config, split out the vty code from the mgcp_protocol.c, and move the callbacks into the mgcp code. There should be no functional changes.
2010-02-20move GSM protocol definitions to include/osmocore/protocol/*Harald Welte5-2185/+5
2010-02-20finish openbsc / libosmocore separationHarald Welte1-9/+5
* use pkg-config from openbsc to find header and library * move sms and timer tests to libosmocore itself * ensure "make distcheck" works on both packages
2010-02-20split 'libosmocore' from openbsc codebaseHarald Welte27-1207/+26
This library is intended to collect all generic/common funcitionality of all Osmocom.org projects, including OpenBSC but also OsmocomBB The library currently includes the following modules: bitvec, comp128, gsm_utils, msgb, select, signal, statistics, talloc, timer, tlv_parse, linuxlist msgb allocation error debugging had to be temporarily disabled as it depends on 'debug.c' functionality which at the moment remains in OpenBSC
2010-02-16Install gsm_04_08.h and required headers into a openbsc/Holger Hans Peter Freyther1-0/+3
2010-02-12Move debug.c into the liblaf0rge1.a tooHolger Hans Peter Freyther1-2/+3
The msgb class is using the debug framework and needs to be able to output data. We would need a way to add custom areas or to have the struct of areas outside of the default debug.c... but this can happen at a later point.
2010-02-12[msgb] Make it possible to include it directly and from liblaf0rgeHolger Hans Peter Freyther1-1/+2
* include <sys/types.h> to have a definition of the u_intX_t types * include "linuxlist.h" via local includes so it can be found from the liblaf0rge directory where <openbsc/ does not exit.
2010-02-10misc: Include the linuxlist header via a local includeHolger Hans Peter Freyther1-1/+1
This is needed for the lib where the include directory is not called openbsc/.
2010-02-09Create a liblaforge with OpenBSC utility functions to be used for other projectsHolger Hans Peter Freyther1-3/+6
2010-02-09[tlv] Implement a variant for the IDTAG list for the IPAHolger Hans Peter Freyther1-0/+13
Implement a helper that will allow to easily fill the tag list with data.
2010-02-09[ipaccess] Make the IPA version of LTV public.Holger Hans Peter Freyther1-0/+3
2010-02-09[nat] Intercept the PAGING message and then forward it to the BSCs with that LACHolger Hans Peter Freyther1-0/+2
* Provide access to the GSM0808 TLV attributes so we can use it in the nat code. * Read the PAGING message, if it is paged by LAC we go through each LAC and then attempt to find the proper BSC connection and then send the message to that BSC.
2010-02-09[nat] Implement token based identification.Holger Hans Peter Freyther1-0/+5
Based on the token the NAT/MUX is capable of figuring out which LAC this BSC is supposed to satisfy. This will be needed for messages like paging that can be done by LAC.
2010-02-09[tlv] Implement a variant for the IDTAG list for the IPAHolger Hans Peter Freyther1-0/+13
Implement a helper that will allow to easily fill the tag list with data.
2010-02-09[ipaccess] Make the IPA version of LTV public.Holger Hans Peter Freyther1-0/+2
2010-02-08[nat] Add VTY support to the BSC nat applicationHolger Hans Peter Freyther1-0/+40
* Create struct bsc_nat and move the various lists into this structure * Create the VTY code * Call the VTY init and parsing code * Create functions to create the types.. * Add some stuff into the bsc_connection to be used for the NAT with proper config files. E.g. to close the connection if the BSC does not respond to a given command.
2010-02-07[ipa] Make sending of ID REQ public...Holger Hans Peter Freyther1-0/+1
Make sending of the ID Request message public. We are going to use this in the BSC NAT code to ask for querying the BSC.
2010-02-07[ipaccess] Create a method to send the ID ACK messagesHolger Hans Peter Freyther1-0/+1
2010-02-07[telnet] Remove ancient #define...Holger Hans Peter Freyther1-3/+0
2010-02-07[telnet] Remove ancient #define...Holger Hans Peter Freyther1-3/+0
2010-02-07[nat] Move the structs to the header fileHolger Hans Peter Freyther1-0/+30
This way the VTY code can use the structures to implement the show functionality.
2010-02-07[ipa] Make sending of ID REQ public...Holger Hans Peter Freyther1-0/+1
Make sending of the ID Request message public. We are going to use this in the BSC NAT code to ask for querying the BSC.