aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-02-12[sccp] Install the static sccp library and the headersHolger Hans Peter Freyther5-4/+16
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-09liblaforge: Fix the .pc file. The preferred way to include is <laf0rge/foo.h>Holger Hans Peter Freyther1-1/+1
2010-02-09liblaf0rge: Make the other targets depend on the liblaforge...Holger Hans Peter Freyther5-9/+9
Everything is linking fine here.
2010-02-09Create a liblaforge with OpenBSC utility functions to be used for other projectsHolger Hans Peter Freyther5-4/+24
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[bsc] Allow to set a EGSM900, RGSM900 ARFCNHolger Hans Peter Freyther1-2/+4
For R-GSM900 the channels 955-1023 are within the 900er band. The System Information Type generation can not cope with these channels yet.
2010-02-09[ipaccess] Make the IPA version of LTV public.Holger Hans Peter Freyther2-2/+5
2010-02-07[ipa] Make sending of ID REQ public...Holger Hans Peter Freyther2-1/+7
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 Freyther2-1/+8
2010-02-07[telnet] Remove ancient #define...Holger Hans Peter Freyther1-3/+0
2010-02-03[sccp] Slightly improve the log messageHolger Hans Peter Freyther1-1/+1
2010-02-03[sccp] Refer to the right Company in the Copyright/Copyleft lineHolger Hans Peter Freyther2-2/+2
Use On-Waves instead of the name I made up from the domain name.
2010-02-03Merge branch 'master' into on-waves/sccpHolger Hans Peter Freyther137-1568/+20990
2010-02-03Merge branch 'on-waves/mgcp'Holger Hans Peter Freyther3-3/+3
2010-02-03[mgcp] Refer to the right Company in the Copyright/Copyleft lineHolger Hans Peter Freyther3-3/+3
Use On-Waves instead of the name I made up from the domain name.
2010-02-03[mgcp] Make the mgcp_protocol generate a struct msgb*Holger Hans Peter Freyther3-62/+91
Do not directly send data from inside the mgcp_protocol.c implementation. Instead allocate and return a struct msgb*. The caller can then either wrap that into the IPA protcol or directly send it over the UDP socket.
2010-02-03[mgcp] Prepare the in process MGCP handling by adding callbacksHolger Hans Peter Freyther2-0/+24
* Call a callback when the endpoint was created, modified or deleted. This can be used by the BSC MUX to send a MGCP packet over TCP to the right the BSC to allocate the endpoint there with the right data, or it can be used in the BSC to send the right commands to the BTS.
2010-02-03[mgcp] Replace DEBUGP with the LOGP statementHolger Hans Peter Freyther1-39/+44
* Classify messages as LOGL_INFO or LOGL_ERROR
2010-02-03[mgcp] Prepare to do MGCP over TCP and inside the bsc_msc_ip processHolger Hans Peter Freyther4-1040/+1133
* Separate main process and protocol handling into two parts. * Change the protocol handling to work with UDP and TCP connection * This will allow to speak MGCP over TCP between the BSC MUX and the real BSC.
2010-02-02[mgcp] Rename the source to mgcp_main.cHolger Hans Peter Freyther2-1/+1
2010-02-01[mgcp] Move the MGCP procoess into a sub directoryHolger Hans Peter Freyther2-1/+1
2010-02-01[mgcp] In forward mode we need to rediscover the BTS more oftenHolger Hans Peter Freyther1-1/+1
In plain forward mode we don't have DLCX which will clean and reset the configuration. We will need to remember the last GSM BTS port and send data to it.
2010-02-01[mgcp] Handle BTS and NET being on the same hostHolger Hans Peter Freyther1-4/+5
* Do not only check the IP but also the port to figure out where to send the data * Do not memset the endp->remote inside the bind_rtp but from inside the crcx as this will be modified by the MDCX
2010-02-01[mgcp] Warn about unknown messages...Holger Hans Peter Freyther1-1/+3
2010-02-01[mgcp] Allow to forward to a different portHolger Hans Peter Freyther1-7/+23
2010-02-01[mgcp] Rename rtp and rtcp variables to net_rtp and net_rtcpHolger Hans Peter Freyther1-11/+11
Rename the variables to refer to the fact that they are the ports of the remote. So we have: rtp_port as the local address we are binding to net_rtp for the network rtp bsc_rtp for the bsc rtp
2010-02-01[mgcp] Make it possible to not specify a bts ipHolger Hans Peter Freyther1-7/+8
This way the mgcp will allow anyone to be the BTS.. in the future we might need to communicate things properly between BSC and MGCP.
2010-01-29[sccp] Implement sccp_parse_header to be used by the NAT code.Holger Hans Peter Freyther1-0/+35
2010-01-29[sccp] Split Connection DT1 into two partsHolger Hans Peter Freyther1-38/+46
This is the last of supported messages to be split into a parse and handle routine. Now all parse routines can be used by the NAT.
2010-01-29[sccp] Split Connection Release Complete into two partsHolger Hans Peter Freyther1-15/+22
2010-01-29[sccp] Split Connection Confirm handling into two partsHolger Hans Peter Freyther1-27/+40
2010-01-29[sccp] Split Connection Refused into two partsHolger Hans Peter Freyther1-25/+39
2010-01-29[sccp] Split Connection Released into two partsHolger Hans Peter Freyther1-24/+38
Split the Connection Released into header parsing and into acting on the parsed result. This is part of the NAT work.
2010-01-29[sccp] Separate connection parsing and policy for connection requestHolger Hans Peter Freyther1-48/+60
The same concept as with the previous patch, make the reject method work on the source local reference instead of passing it the header.
2010-01-29[sccp] Move the UDT parsing to a new methodHolger Hans Peter Freyther1-50/+89
Separate SCCP UDT parsing and handling into two methods. This way the parsing can be reused by the BSC NAT.
2010-01-29[sccp] Invent new API to be used by the BSC NATHolger Hans Peter Freyther1-1/+16
I want to reuse the SCCP code for header parsing in the BSC NAT to identify data and patch the source local reference. To do this the current handle_* methods will be changed into two parts one is strictly parsing the other is handling the parsed data.
2010-01-29[sccp] Add a utility for the nat..Holger Hans Peter Freyther2-0/+14
Add a small helper to determine the type of a message
2010-01-28[gsm48] Use optional Chan Mode 1 for the assignment commandHolger Hans Peter Freyther1-0/+2
Specify how we intend to use the assigned channel. This is needed to make CC with early assignment work properly.
2010-01-28[gsm48] Allow to send the assignment command on a different lchanHolger Hans Peter Freyther2-3/+3
Change the signature to take the lchan were the message is supposed to be sent and the lchan which is supposed to be assigned.
2010-01-28[rsl] Send the MultiRateConfig in the RSL Channel Activate msgHolger Hans Peter Freyther1-0/+4
If the lchan has AMR as speech codec we also need to send the multirate config IE in the channel activation. This is already done for the RSL Channel Modify message.
2010-01-23Make sure select() callbacks are not called multiple timesAndreas Eversberg1-3/+9
the unix select function returns a set of file descriptors to be handled. the result-loop (the loop after the select()) is called again, if more than one descriptor is removed by the callback funtion. this may lead to a another call to the callback function, because the bits of the FD_SETs do not change and still set. i think we must clear these bits, if they are handled, so the handler will not be called twice in case of a "restart" of that loop.
2010-01-14Register GSM_BTS_TYPE_UNKNOWN in bsc_hack.cDaniel Willmann3-1/+44
The way the VTY configuration sytem works is that it first registers a BTS of type GSM_BTS_TYPE_UNKNOWN and then sets the type correctly (after encountering the type statement). This makes sure that registering a BTS of type UNKNOWN succeeds.
2010-01-14[vty_interface.c]: Warn if no BTS could be allocatedDaniel Willmann1-1/+4
2010-01-12update copyright statementsHarald Welte2-3/+3
* include 2010 * add Andreas Eversberg and Sylvain
2010-01-12Merge remote branch 'goeller/master'Harald Welte4-27/+76
2010-01-12Fix allocation of BTS from VTYlaforge1-1/+1
In 39315c47989326275823d1589425ee62d15bc823 we introduced per-bts OML attribute parser definitions and disallowed a BTS of type unknown. However, the VTY code first allocates a BTS with unknown type.
2010-01-11Merge branch 'on-waves/mgcp'Holger Hans Peter Freyther1-25/+69
2010-01-11[bsc_mgcp] Set the right remote rtp and rtcp portHolger Hans Peter Freyther1-0/+2
* It is the same as local endpoint port