aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-03-14Merge branch 'master' into gprsobsolete/gprsHarald Welte5-692/+108
2010-03-09update README with information about nanoBTS and libosmocoreHarald Welte1-8/+20
2010-03-07move large parts of mncc.h and gsm48 encode/decode into libosmocoreHarald Welte3-684/+86
2010-03-04Merge remote branch 'origin/master' into gprsHarald Welte25-1253/+1098
2010-03-04decleare gsm_bts_model_register()Harald Welte1-0/+2
2010-03-04move some gsm48 utility functions to libosmocoreHarald Welte6-180/+19
* gsm48_generate_lai() gsm48_generate_mid_from_tmsi() gsm48_generate_mid_from_imsi() * gsm48_cc_msg_names[]
2010-03-04move gsm_band_name() and gsm_band_parse() to libosmocoreHarald Welte1-54/+2
2010-03-04rsl: use the rsl_rll_push_l3() and rsl_rll_simple() functions of libosmocoreHarald Welte1-28/+10
2010-03-02remove gsm04.08 utility code that has been moved to libosmocoreHarald Welte2-122/+15
2010-03-01value_string functions and some RSL related stuff has moved to libosmocoreHarald Welte3-258/+6
2010-02-26Merge remote branch 'origin/on-waves/sccp'Holger Hans Peter Freyther2-0/+123
2010-02-26Merge remote branch 'origin/on-waves/mgcp'Holger Hans Peter Freyther8-611/+911
2010-02-26Merge remote branch 'origin/master' into on-waves/sccpHolger Hans Peter Freyther108-6810/+261
2010-02-26Merge remote branch 'origin/master' into on-waves/mgcpHolger Hans Peter Freyther112-7032/+677
Conflicts: openbsc/include/openbsc/Makefile.am openbsc/src/Makefile.am
2010-02-26[misc] Add LIBOSMOCORE_CFLAGS to the includesHolger Hans Peter Freyther5-3/+5
2010-02-26[sccp] Implement parsing the rather easy IT messages.Holger Hans Peter Freyther2-0/+123
2010-02-26[mgcp] Patch the rtp payload depending on the direction.Holger Hans Peter Freyther1-0/+36
The RTP header code is taken from the rtp_proxy, we will need to figure out how to unite these properly in the long run.
2010-02-26[mgcp] Keep track of the local and remote RTP payload typeHolger Hans Peter Freyther2-2/+11
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 Freyther2-0/+68
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] Fix two bugs in the protocol handlingHolger Hans Peter Freyther1-1/+3
In case of a wrongly formatted AUEP, CRCX, DLCX, MDCX the transaction id pointer was a dangling pointer... Initialize the transaction id to a static string.. Also fix a off by one bug. We want to extract four elements from the MGCP message and not only 3... So a short AUEP message made it us read too many things.
2010-02-26[mgcp] Switch logging from notice to debugHolger Hans Peter Freyther1-3/+3
2010-02-26[mgcp] Add a method to free the endpoint.Holger Hans Peter Freyther2-12/+26
2010-02-26[rtp] Describe the struct in a way that it will work for Big Endian tooHolger Hans Peter Freyther1-0/+10
Play with the right bits on PPC.
2010-02-26[mgcp] Print the rtp_port number, do not assume it was already assigned.Holger Hans Peter Freyther1-1/+1
2010-02-22[mgcp] Move the network bits to a separate file...Holger Hans Peter Freyther3-186/+224
This change separates the protocol from the actual network code (bind, forward data). This will allow to more easily hook up the RTP code from OpenBSC and to not use local sockets at all.
2010-02-22[mgcp] Make the creation of the mgcp message public.Holger Hans Peter Freyther2-3/+4
2010-02-22[mgcp] Cleanup the code. send_ was a misleading nameHolger Hans Peter Freyther1-22/+22
The send_ methods stopped to send the MGCP messages but was changed to actually just create a msgb_ that can be sent to a mediagateway. Rename the methods now.
2010-02-22[mgcp] Move away from global variables and split out VTY codeHolger Hans Peter Freyther7-417/+547
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-21Merge branch 'master' into gprsHarald Welte114-7396/+1519
This includes the import of the libosmocore split Conflicts: openbsc/include/openbsc/gsm_04_08.h openbsc/include/openbsc/msgb.h openbsc/include/openbsc/tlv.h openbsc/src/Makefile.am openbsc/src/abis_nm.c openbsc/src/input/ipaccess.c openbsc/src/rest_octets.c openbsc/src/system_information.c
2010-02-20remove libosmocore from openbscHarald Welte40-6905/+0
From now on, you will have to obtain, build and install libosmocore before being able to build openbsc. Sorry for that. But I hope it's a small price to pay for having no code duplication with our work on the phone side GSM stack!
2010-02-20update .gitignore fileHarald Welte1-2/+1
2010-02-20make sure libosmocom builds when cross-compiling for ARM without OSHarald Welte4-0/+15
This is required to build the library and be able to use it from within OsmocomBB.
2010-02-20u_int8_t -> uint8_tHarald Welte1-4/+4
2010-02-20convert from u_int*_t to u_int*_t (stdint.h format)Harald Welte5-126/+132
2010-02-20change from u_int* to uint* (stdint.h)Harald Welte10-97/+99
2010-02-20move GSM protocol definitions to include/osmocore/protocol/*Harald Welte12-2185/+2262
2010-02-20add gsmtap.hHarald Welte2-1/+64
2010-02-20add .gitignore to libosmocomHarald Welte1-0/+23
2010-02-20finish openbsc / libosmocore separationHarald Welte22-59/+49
* 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 Welte96-201/+289
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-20Merge branch 'on-waves/sccp'Holger Hans Peter Freyther1-1/+1
2010-02-20[sccp] Use msgb->l2h instead of msgb->data for CRHolger Hans Peter Freyther1-1/+1
Using msgb->data only works as long as msgb->data == msgb->l2h.. In the case of receiving a MSU unit from a E1 link, or even receiving the IPA header we will have some non SCCP data at msgb->data and then cast garbage to what we think is making sense.. Use msgb->l2h and everything is fine.
2010-02-19ipaccess.c: Fix some resource leaks in error conditions.Holger Hans Peter Freyther1-0/+13
* Close the socket when the bind is failing. * Close the socket when the listen is failing. * Close the socket then the bsc_register_fd is failing. * Return an error when the socket call is not returning a socket.
2010-02-16Install gsm_04_08.h and required headers into a openbsc/Holger Hans Peter Freyther2-1/+4
2010-02-14Merge branch 'on-waves/sccp'Holger Hans Peter Freyther2-0/+21
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-12[sccp] Set the data_len when parsing UDT messages as wellHolger Hans Peter Freyther1-0/+1
For UDT the msgb_l3len can be safely used but it is better to set it to data_len for everyone..
2010-02-12Merge branch 'on-waves/sccp'Holger Hans Peter Freyther3-217/+388
2010-02-12[sccp] Make the file includable outside of OpenBSCHolger Hans Peter Freyther3-6/+9
2010-02-12Move debug.c into the liblaf0rge1.a tooHolger Hans Peter Freyther2-4/+5
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.