aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2012-08-24GSM 04.08: Add 'enum gsm48_bcap_speech_ver'Harald Welte1-0/+9
2012-08-24GSM 04.08: Add support for parsing CSD related bearer capabilitiesHarald Welte2-0/+79
Also adds a test case for both encoder and decoder of this IE
2012-08-24GSM 08.58: Add channel modes for transparent data servicesHarald Welte1-4/+20
2012-08-20import vty_cmd_string_from_valstr() from osmo-btsHarald Welte1-0/+5
This function is able to generate a VTY help string based on an array of 'struct value_string'.
2012-08-15utils: Change semantic of OSMO_MAX/OSMO_MIN to match semantic of a functionHolger Hans Peter Freyther1-2/+2
Add parentheses around the OSMO_MAX and OSMO_MIN macro to match the behaviour of calling a function. The current version does not evaluate to what is expected. (OSMO_MAX(3, 2) + 13) currently results in 3 and not 16.
2012-08-03gb: Make suspend_ref a plain uint8_t instead of a uint8_t*Holger Hans Peter Freyther1-1/+1
The OpenSUSE build is not happy about the uint8_t to uint8_t* assignment. As the suspend_ref is a mandatory field we can make it a plain uint8_t. Increase the LIBVERSION as the ABI has changed.
2012-07-18authentication: More documentationHarald Welte1-17/+27
2012-07-14backtrace: Add a variant that uses the libosmocore logging frameworkHarald Welte1-0/+1
I recently discovered that we can only print backtraces to stdout, which is of course useless in a daemon environment. We'd rather want to use the libosmocore logging framework instead.
2012-07-14TLV: add new "vTvLV" type for GANHarald Welte1-1/+97
This new TLV type is specific to TS 44.318. Contrary to the TvLV type of TS 08.16/08.18, it has an inverted meaning of the extension (0x80) bit: * if the extension bit is not set, 1-byte length * if the extension bit is set, 2-byte length Futhermore, it has support for variable-length tags, where the tag part can be optionally two bytes in length. As this esoteric option hasn't been seen in the wild yet, we only add encoding support but skip decoding for now.
2012-07-13import gsm48_decode_lai() function from osmocom-bb/mobile sysinfo.cHarald Welte1-0/+2
2012-07-13timer: Add function osmo_timer_remaining() to determine remainign timeHarald Welte1-1/+3
2012-07-12VTY: Allow to compile vty.h and command.h headers with C++Andreas Eversberg2-3/+11
2012-07-12logging: Fix compile breakage introduced by the warning fixesHolger Hans Peter Freyther1-1/+1
Make sure the declaration and definition match, add const to the functions called by logp/logp2. Compile output: logging.c:317: error: conflicting types for 'logp' ../include/osmocom/core/logging.h:34: note: previous declaration of 'logp' was here logging.c:327: error: conflicting types for 'logp2' ../include/osmocom/core/logging.h:168: note: previous declaration of 'logp2' was here make[3]: *** [logging.lo] Error 1
2012-07-10logging: Avoid compiler warnings when compiling c++ codeAndreas Eversberg1-2/+2
this patch i use to suppress warnings when compiling osmo-pcu (c++). since __FILE__ is constant, the called logging function with parameter "file" must be constant too, in order to avoid compiler warnings.
2012-06-30codec: make data tables constant.Diego Elio Pettenò1-12/+12
When declaring them constant, they are written on the .rodata section instead of .data, which means that they can be mapped directly from disk to memory. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
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ò10-69/+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>
2012-06-29GAN/UMA: use correct IE Identifier foer T3920Harald Welte1-2/+2
As Dieter found out, there has been a mix-up of 3902 with 3920 :/
2012-06-24ganc: add value_strings for GAN message type and protocol discriminatorHarald Welte2-1/+10
2012-06-2444.318: Add missing message typesHarald Welte1-0/+3
2012-06-24Fix bit-endianness in UMA/GAN definitionsHarald Welte1-2/+19
2012-06-2444.318: add structure describing Control Channel Description IEHarald Welte1-0/+19
2012-06-23gsm_44_318: add protocol discriminator enum and data[0] array to hdrHarald Welte1-0/+8
2012-06-23gsm_44_318.h: fix syntax errors in GAN definitionsHarald Welte1-2/+2
2012-06-18linuxrbtree: don't use 'new' as argument name to avoid C++ incompatibilityHarald Welte1-1/+1
2012-06-17libosmogb: move files to proper location and fix build0.5.0Harald Welte9-2/+637
2012-06-17add GPRS/Gb related osmo_prim SAPsHarald Welte1-0/+5
2012-06-16add library VTY nodes for NS and BSSGPHarald Welte1-0/+2
2012-06-16signal: add SS_L_NS as a signal subsystem for NS code in libosmo-gbHarald Welte1-0/+1
2012-04-19add GSM_LCHAN_PDTCHHarald Welte1-0/+1
2012-04-18doc: Fix the Doxygen section endingsSylvain Munaut26-26/+26
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-28vty: Add a function to write the current config to a file.Holger Hans Peter Freyther1-0/+3
2012-03-21auth_milenage/osmo-auc-gen: compute OPC in case only OP is knownHarald Welte1-0/+1
2012-03-16misc: Fix warning when compiling telnet_interface.cHolger Hans Peter Freyther1-0/+1
In file included from telnet_interface.c:30:0: osmocom/core/socket.h:25:4: warning: 'struct osmo_fd' declared inside parameter list [enabled by default] telnet_interface.c: In function 'telnet_init_dynif': telnet_interface.c:84:4: warning: passing argument 1 of 'osmo_sock_init_ofd' from incompatible pointer type [enabled by default] osmocom/core/socket.h:24:5: note: expected 'struct osmo_fd *' but argument is of type 'struct osmo_fd *'
2012-03-01vty/telnet: Add function to allow binding telnet interface to custom ↵Sylvain Munaut1-0/+1
IP/Interface Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-02-08gsmtap: Add GSMTAP_GPRS_CS() / GSMTAP_GPRS_MCS()Harald Welte1-0/+8
As requested by Mike Morrin <Mike.Morrin@ipaccess.com>, we introduce GSMTAP sub-types for all the different GPRS and EGPRS coding schemes. This is neccessary due to the fact that the RLC PDU doesn't contain any explicit indication of the coding scheme used on the radio layer.
2012-02-07libosmocore/gsm: Fixed total size of gsm48_req_refAndreas Eversberg1-3/+3
"__attribute ((packed))" must be defined for unions, in order to make sure that the compiler packs unions.
2012-01-26GSM 08.08: change gsm0808_create_classmark_update() prototypeHarald Welte1-1/+2
The caller explicitly specifies CM2 and CM3, rather than one blob containing both.
2012-01-26gsmtap: make sure we agree with wireshark on GSMTAP channel typesHarald Welte1-2/+2
2012-01-22TLV/msgb: Return first byte of newly-pushed data from msgb_*_push()Harald Welte1-14/+28
The msgb_*_push() functions erroneously returned the firsrt byte after newly-pushed information, which makes no sense at all.
2012-01-14msgb_trim(): actually trim to an absolute length, as the comment statesHarald Welte1-5/+3
The previous commit introduced a new msgb_trim() but the implementation differed from the specification.
2012-01-14msgb: introduce msgb_trim() and msgb_l3trim() to trim msgb'sHarald Welte1-0/+28
2011-12-07auth_core: don't use anonymous unions to make certain gcc versions happyHarald Welte1-1/+1
2011-12-07auth_core: add functions for parsing algorithm namesHarald Welte1-0/+3
2011-12-06Add a generic abstraction for GSM/3G authentication algorithmsHarald Welte2-1/+88
Indiidual algorithms can be implemented as plugins. libosmogsm itself only provides COMP128v1 via this generic interface.
2011-12-06comp128: mark ki and srand as 'const' input parametersHarald Welte1-1/+1
2011-12-01SMS: export gsm411_bcdify() and gsm411_unbcdify() functionsHarald Welte1-0/+6
The same functions are e.g. required by the NITZ code in 04.08, and we don't want copy+paste.
2011-11-24core/conv: Add utility methods to know length of coded/decoded vectorsSylvain Munaut1-0/+6
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-24core/conv: Add support for other termination types (trunc & tail biting)Sylvain Munaut1-6/+25
Note that this breaks the ABI and the low level API. But it shouldn't break the high level API, nor the conv code definitions (because fields default to 0, and for new fields '0' is the previous behavior) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-24core/conv: Minor documentation improvementsSylvain Munaut1-12/+18
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>