aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
AgeCommit message (Collapse)AuthorFilesLines
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 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>