aboutsummaryrefslogtreecommitdiffstats
path: root/include/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2016-05-05add new header file for TS 23.003Harald Welte1-0/+1
2016-05-05import gsm_04_08_gprs.[ch] from openbsc.gitHarald Welte1-0/+1
The definitions in this header file (and associated strings in the c file) are generic about the GPRS Layer3 signalling protocols, and thus should be part of the library.
2016-04-29Add code generator for convolutional codesMax Suraev msuraev@sysmocom.de1-0/+1
Add python utility to generate .c code with convolutional encoder/decoder based on polynomial description of the code. If argument given it'll be interpreted as intended output directory, otherwise current working directory is used. Codes for *CCH, CS2/3 and TCH/AFS are generated. Corresponding manual implementations are removed from tests. This introduce build-time dependency on python. The main work for this patch was generously contributed by Sylvain Munaut. Fixes: OS#1629
2016-04-23Add function for appending range1024 to bitvecMax1-0/+1
Add convenience function to append range1024 encoded data (see 3GPP TS 44.018 Annex J) to a given bitvec.
2016-03-17sim: add class_tables / card profilesHarald Welte1-0/+1
The tables permit code to determine the APDU class of an APDU based on it APDU/TPDU header (CLA/INS/P1/P2/P3).
2016-02-25vty: add ctrl section for Control interface bind addressNeels Hofmeyr1-1/+2
This may seem like overkill for a mere const char * config item, but it makes the Control interface VTY commands reusable in any main() scope (inspired by libosmo-abis' VTY config). Add API functions ctrl_vty_init() and ctrl_vty_get_bind_addr(), in new files src/ctrl/control_vty.c and include/osmocom/ctrl/control_vty.h, compiled and/or installed dependent on ENABLE_VTY. Using these functions allows configuring a static const char* with the VTY commands ctrl bind A.B.C.D which callers shall subsequently use to bind the Control interface to a specific local interface address, by passing the return value of ctrl_vty_get_bind_addr() to control_interface_setup(). Add CTRL_NODE to enum node_type, "eating" RESERVED4_NODE to heed that comment on avoiding ABI changes.
2016-02-18Add T4 bit map compression routinesMax1-0/+1
Add bit map encoder and decoder functions: decoder is fully functional while encoder is good enough for testing - no backtracking to find the best possible compression is implemented. If somebody is willing to implement MS side of EDGE than this has to be expanded. Add corresponding tests. N. B: the encoding is implemented according to ETSI TS 44.060 which is slightly different from T4 used for fax according to CCITT G31D (RFC 804). Ticket: OW#2407 Sponsored-by: On-Waves ehf Signed-off-by: Max <msuraev@sysmocom.de>
2015-12-05remove our internal copy of talloc, use system libtallocHarald Welte1-16/+0
Shipping our own private copy of talloc was a good idea in 2008, when it was not readily available on most target platforms. Today, the situation is quite different, as it is a standard library on major Linux distributions.
2015-11-21use system-wide libtalloc with --enable-system-tallocHarald Welte1-1/+14
This introduces a new configure flag by which the libosmocore-internal talloc code is not compiled, but rather a system-wide libtalloc is used. When we started openbsc/libosmocore in 2008, libtalloc was not widely present on systems yet. This has changed meanwhile, and we should simply use the system-wide library
2015-10-29stats: Add the reporting frameworkJacob Erlbeck1-0/+1
This commit provides the stats reporting framework that can manage several types of measurement reporters. Initially support for rate_ctr and the statsd protocol is included. Sponsored-by: On-Waves ehf
2015-10-29stats/vty: Add stats_vty.cJacob Erlbeck1-0/+1
This file will contain the VTY code related to statistics. This commit adds a minimal file with just as single VTY command: - show stats This command shows all statistical values To enable this and future commands, the main program needs to call stats_vty_add_cmds(). Sponsored-by: On-Waves ehf
2015-10-28stats: Add stat_item for value monitoringJacob Erlbeck1-0/+1
This commit adds instrumentation function to gather measurement and statistical values similar to counter groups. Multiple values can be stored per item, which can be retrieved in FIFO order. Getting values from the item does not modify its state to allow for multiple independant backends (e.g. VTY and statd). When a new value is set, the oldest value gets silently overwritten. Lost values are skipped when getting values from the item. Sponsored-by: On-Waves ehf
2015-05-25Add APN utility function to libosmogsmHarald Welte1-0/+1
The current functions are used to 'qualify' an APN from the user-supplied APN name (name identifier) towards the fully-qualified APN name which is used in the .grps DNS zone.
2015-03-22endian: Be able to detect endian on GNU and BSDHolger Hans Peter Freyther1-0/+1
On GNU __BYTE_ORDER and __LITTLE_ENDIAN is defined and the include is "endian.h" on FreeBSD it is "sys/endian.h" and LITTLE_ENDIAN/_LITTLE_ENDIAN and BYTE_ORDER/_BYTE_ORDER is defined. Create a header file that defines OSMO_IS_LITTLE_ENDIAN and OSMO_IS_BIG_ENDIAN and can be used as #if OSMO_IS_LITTLE_ENDIAN do_little_endian #elif OSMO_IS_BIG_ENDIAN do_big_endian #else #error "Unknown endian" #endif
2015-01-01Supplementary Services (de)activation, interrogation addedTobias Engel1-0/+1
These patches enhance the Supplementary Service (SS) processing from only being able to handle USSD to other SS, specifically activation, deactivation and interrogation of those SS. Registration is not yet implemented. include/osmocom/gsm/protocol/gsm_09_02.h has been added with needed values for SS. Modified by Harald Welte to keep the old ussd-only functiosn for API/ABI stability.
2014-12-29add gsm0341_test to generate SMSCB hex stringsHarald Welte1-0/+1
Those hex strings can then be copy+pasted into the OSmoNITB VTY
2014-10-26initial checkin of 'libosmosim'Harald Welte1-1/+2
2014-08-21New <osmocom/ctrl/ports.h> file listing tcp ports for CTRL interfaceHarald Welte1-0/+1
2014-08-21libctrl: autotools build system integrationHarald Welte1-0/+2
Now we actually build the recently-imported libctrl
2014-08-21new <osmocom/vty/ports.h> file listing VTY tcp portsHarald Welte1-1/+2
imported from http://openbsc.osmocom.org/trac/wiki/PortNumbers
2014-08-20ipa: rename functions for consistencyHarald Welte1-1/+1
As we are breaking builds by moving functions from libosmo-abis to libosmocore anyway, we might as well give functions more appropriate names. ipaccess is a company, while IPA is the multiplex protocol, and CCM is the protocol used for establishing identities on the IPA multiplex.
2014-08-20import various generic IPA related functions from libosmo-abisHarald Welte1-0/+1
libosmo-abis is about forming A-bis interfaces/lines by means of E1 or the IPA multiplex (or possibly other link layers). The IPA multiplex is used in other contexts, such as the Control interface, or the A interface. In that context, it makes sense to have generic IPA related functions in libosmocore.
2014-08-18osmocore: Add function osmo_macaddr_parse() to parse ETH MAC addressHarald Welte1-0/+1
2014-06-16gsm: Add Kasumi cipher implementationSylvain Munaut1-1/+3
Submitted-by: Max <max.suraev@fairwaves.co> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-16core: Add generic LE/BE load/store uint type convertors and use them in msgbMax1-0/+7
Submitted-by: Max <max.suraev@fairwaves.co> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-11-03implement COMP128 version 2 and 3 A3/A8 algorithmKevin Redon1-0/+1
simple copy into C from reversed code from www.hackingprojects.net
2013-09-04sms: Implement encoding the address as alphanumeric typeHolger Hans Peter Freyther1-0/+1
The number of digits is the number of used octets times two (two digits per octet). The result has been successfully dissected by wireshark. It has not been tested with real phones.
2013-08-14core: Move OSMO_DEPRECATED to new core/defs.h fileJacob Erlbeck1-0/+1
Add a new core/defs.h file for definitions that can be used from within header files without including prototypes and extern declarations. It's primarily meant for macro definitions and basic typedefs. Move the definition of OSMO_DEPRECATED there and use compiler version info to avoid compiler errors.
2013-07-06Remove osmo_phsap_prim from lapdm.h and move to a seperate header fileAndreas Eversberg1-0/+1
2013-03-13add new gsm/meas_rep.h file for shared/common measurement report stuffHarald Welte1-0/+1
2013-03-13Add smpp34_osmocom.h for Osmocom SMPP vendor additions0.6.0Harald Welte1-0/+1
2013-02-27Added a ring buffer log target to store the last N log messages.Katerina Barone-Adesi1-0/+2
The log target can be used via log alarms and show alarms. Why? This feature was proposed/requested at http://openbsc.osmocom.org/trac/wiki/Tasks/ErrorLogTarget All messages use the same amount of space, prioritizing simplicity.
2012-09-20build: fix directory creation for core headers, introduced by d471a219.Nico Golde1-1/+1
2012-09-10Gb: Add header file for BSS-side BSSGP functionsHarald Welte1-0/+1
.. not sure how we could have missed that so far.
2012-06-30build: use the standard AM_V_GEN definition for output.Diego Elio Pettenò1-2/+1
This actually allows for the command to be printed if using `make V=1` Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-06-30build: simplify headers management and remove recursionDiego Elio Pettenò1-1/+104
There is no real reason to keep the include directory a multi-level recursion, so instead declare everything within include (so that we can use proper nobase_ declarations) and be it. Please note that since we removed the sub-Makefile.am, ./configure will not create the directory structure for us on out-of-tree builds, so we have to make sure the directory we're generating to exists first. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2011-03-23include: reorganize headers file to include/osmocom/[gsm|core]0.2.0Pablo Neira Ayuso1-1/+1
This patch moves all GSM-specific definitions to include/osmocom/gsm. Moreover, the headers in include/osmocore/ have been moved to include/osmocom/core. This has been proposed by Harald Welte and Sylvain Munaunt. Tested with `make distcheck'. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2010-05-25Create libosmovty as library from OpenBSC VTY functionsHarald Welte1-1/+1
2010-02-20add missing automake / autoconf filesHarald Welte1-0/+1