aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2010-03-22gprs: remove (the already unused) si13_templateHarald Welte1-16/+0
system_information.c and rest_octets.c don't need a template...
2010-03-22GPRS: make NSEI configurable from VTYHarald Welte3-0/+25
2010-03-22GPRS: don't allow VTY configuration of GPRS parameters if GPRS inactiveHarald Welte1-0/+30
2010-03-22GPRS: remove outdated FIXME about patching CGIHarald Welte1-1/+0
2010-03-22GPRS: set SI3 GPRS indicator dependent on bts->gprs.enabledHarald Welte1-1/+3
2010-03-22GPRS: remove "#define GPRS" compile-time defineHarald Welte1-16/+14
It is now possible to enable/disable GPRS support purely based on the vty / config file.
2010-03-22GPRS: make NSVC parameters VTY-configurableHarald Welte3-10/+88
2010-03-22Create new gprs-conf branch with the non-SGSN part of the gprs branchHarald Welte8-22/+270
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: Fix the write out of the firmware partsHolger Hans Peter Freyther2-2/+2
Use the start address inside the header entry, the start is relative to the surrounding SDP record which is located in our base offset, when writing it out also ignore four bytes of something (crc?).
2010-03-22ipa-firmware: Write the firmware parts to a fileHolger Hans Peter Freyther3-5/+61
The first non working version to dump the content of the sdp to the terminal..
2010-03-22ipa-firmware: Add the entry first and then seekHolger Hans Peter Freyther1-3/+4
The sub entry might not be a SDP file so it is best to add the read entry, add it to the list and then attempt to recursively parse this one.
2010-03-22ipa-firmware: Lift the requirement of having a table_offset of zeroHolger Hans Peter Freyther1-8/+4
Make the code work/skip the other table and find the entries at the given offset. This appears to work.
2010-03-22ipa-firmware: Remove the part_length from the struct sdp_firmwareHolger Hans Peter Freyther2-7/+21
* 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-22ipa-firmware: Look at the table offsetHolger Hans Peter Freyther1-0/+7
* The two dummy bytes appear to be an offset, check that they are zero and refuse to work when they are not.
2010-03-22ipa-firmware: Warn/Exit when the required ids can not be found.Holger Hans Peter Freyther1-5/+13
2010-03-22ipa-firmware: Remove dummy check...Holger Hans Peter Freyther1-3/+0
We have derefenced that way before and would have crashed already.
2010-03-22ipa-firmware: The more_more_magic is to indicate the payloadHolger Hans Peter Freyther1-4/+0
* Ignore the value of the field there is no sematnic change to the content of the file..
2010-03-22debug: Use the right enum value for the ref counting group.Holger Hans Peter Freyther1-1/+1
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-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/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-20move GSM protocol definitions to include/osmocore/protocol/*Harald Welte5-2185/+5
2010-02-20finish openbsc / libosmocore separationHarald Welte15-167/+22
* 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 Welte89-4479/+162
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