aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
AgeCommit message (Collapse)AuthorFilesLines
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 Freyther34-3394/+94
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-14Merge branch 'on-waves/sccp'Holger Hans Peter Freyther1-0/+20
2010-02-14[sccp] Make the bitfields work on big endian machines tooHolger Hans Peter Freyther1-0/+20
* Use the endian.h to fogure out for which endianess we are building and then use the bitfields in reverse order
2010-02-12Merge branch 'on-waves/sccp'Holger Hans Peter Freyther1-1/+22
2010-02-12[sccp] Make the file includable outside of OpenBSCHolger Hans Peter Freyther1-2/+2
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[sccp] Install the static sccp library and the headersHolger Hans Peter Freyther1-1/+2
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-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-03Merge branch 'master' into on-waves/sccpHolger Hans Peter Freyther30-150/+968
2010-02-03[mgcp] Refer to the right Company in the Copyright/Copyleft lineHolger Hans Peter Freyther1-1/+1
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 Freyther1-2/+10
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 Freyther1-0/+8
* 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] Prepare to do MGCP over TCP and inside the bsc_msc_ip processHolger Hans Peter Freyther1-2/+8
* 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-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 Freyther1-0/+6
Add a small helper to determine the type of a message
2010-01-28[gsm48] Allow to send the assignment command on a different lchanHolger Hans Peter Freyther1-1/+1
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-10[OML] parse attributes depending on BTS typeHarald Welte2-2/+14
Some NM attributes are defined differently depending on the BTS type. Having one big nm_att_tlvdef[] table for all BTS types is no longer sufficient. This patch * introduces 'struct gsm_bts_model' to describe a BTS model * adds definitions of gsm_bts_model for BS-11 and nanoBTS * changes the abis_nm_tlv_parse() function: include a bts pointer
2010-01-10TLV: add function to patch a tlv definition tableHarald Welte1-0/+3
2010-01-07introduce new gsm_bts_trx_by_nr() functionHarald Welte1-0/+1
2010-01-07bis_nm_ipaccess_set_nvattr() executes on a TRX, not a BTSHarald Welte1-1/+1
2010-01-07[abis_nm] Add abis_nm_bs11_set_pll function to change the set/work valueDaniel Willmann1-0/+1
Whether this function changes the set or the work value depends on your type of login. In FACTORY login it changes the set value, in FIELD login it changes the work value (which is what is used by the BS11 to tune the frequency).
2010-01-07[abis_nm] Add abis_nm_bs11_infield_logon to logon as user fieldDaniel Willmann1-0/+1
As this user you are able to set the PLL work value which is especially useful if your BS11 got detuned by an inaccurate oscillator in your E1 card.
2010-01-07[abis_nm] Add generic abis_nm_bs11_logon functionDaniel Willmann1-0/+1
Factoring out common logon functionality will allow us to logon as different user. abis_nm_bs11_factory_logon now uses this function.
2010-01-07[signal] Differentiate paging success from expiration in SS_PAGINGSylvain Munaut1-1/+2
This is useful information to know and actually fixes a segfault in rllp.c where lchan is accessed even tough it could be NULL in case of failure. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03gsm_data: Move auth related structure earlierSylvain Munaut1-20/+22
This is gonna be needed by the next commit ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03encryption: Import a GPL comp128 implementationSylvain Munaut1-0/+22
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03gsm_04_08: Specify key_seq when calling gsm48_tx_mm_auth_reqSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03db: Add methods to set auth{info,tuple} for a subscriberSylvain Munaut1-0/+4
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03db: Add declaration for get_auth{info,tuple_for_subscriberSylvain Munaut1-0/+6
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03gsm_data: Fix sres to be 4 bytesSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03db: Add issued/use_count/key_seq fields to AuthTuplesSylvain Munaut1-0/+2
Theses will be useful to know if we can reuse the tuples or if we should renew. The 'issued' is currently purely informative. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03abis_nm: Introduce & use a nm_is_running function to test gsm_nm_stateSylvain Munaut1-0/+1
This returns true if the gsm_nm_state can be considered 'running'. Note that we also accept availability==0xff (which is a code for no value) because according to 12.21 it is perfectly valid. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>