Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libosmogb: Port BSSGP flow control from openbsc/laforge/bssgp_fc branch | Harald Welte | 2012-09-07 | 1 | -0/+37 |
| | | | | | | | | This code is supposed to implement the BSSGP flow control algorithm, both for the per-BSS and for the per-MS flow control. The code currently has no test cases, they will come in a separate commit. | ||||
* | USSD: text is 'char' not uint8_t | Harald Welte | 2012-09-07 | 1 | -1/+1 |
| | |||||
* | gsmtap: add minimal support for encapsulating UMTS RRC in GSMTAP | Harald Welte | 2012-09-02 | 1 | -0/+7 |
| | |||||
* | GSM 04.08: Add 'enum gsm48_bcap_speech_ver' | Harald Welte | 2012-08-24 | 1 | -0/+9 |
| | |||||
* | GSM 04.08: Add support for parsing CSD related bearer capabilities | Harald Welte | 2012-08-24 | 2 | -0/+79 |
| | | | | Also adds a test case for both encoder and decoder of this IE | ||||
* | GSM 08.58: Add channel modes for transparent data services | Harald Welte | 2012-08-24 | 1 | -4/+20 |
| | |||||
* | import vty_cmd_string_from_valstr() from osmo-bts | Harald Welte | 2012-08-20 | 1 | -0/+5 |
| | | | | | This function is able to generate a VTY help string based on an array of 'struct value_string'. | ||||
* | utils: Change semantic of OSMO_MAX/OSMO_MIN to match semantic of a function | Holger Hans Peter Freyther | 2012-08-15 | 1 | -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. | ||||
* | gb: Make suspend_ref a plain uint8_t instead of a uint8_t* | Holger Hans Peter Freyther | 2012-08-03 | 1 | -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. | ||||
* | authentication: More documentation | Harald Welte | 2012-07-18 | 1 | -17/+27 |
| | |||||
* | backtrace: Add a variant that uses the libosmocore logging framework | Harald Welte | 2012-07-14 | 1 | -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. | ||||
* | TLV: add new "vTvLV" type for GAN | Harald Welte | 2012-07-14 | 1 | -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. | ||||
* | import gsm48_decode_lai() function from osmocom-bb/mobile sysinfo.c | Harald Welte | 2012-07-13 | 1 | -0/+2 |
| | |||||
* | timer: Add function osmo_timer_remaining() to determine remainign time | Harald Welte | 2012-07-13 | 1 | -1/+3 |
| | |||||
* | VTY: Allow to compile vty.h and command.h headers with C++ | Andreas Eversberg | 2012-07-12 | 2 | -3/+11 |
| | |||||
* | logging: Fix compile breakage introduced by the warning fixes | Holger Hans Peter Freyther | 2012-07-12 | 1 | -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 | ||||
* | logging: Avoid compiler warnings when compiling c++ code | Andreas Eversberg | 2012-07-10 | 1 | -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. | ||||
* | codec: make data tables constant. | Diego Elio Pettenò | 2012-06-30 | 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> | ||||
* | build: simplify headers management and remove recursion | Diego Elio Pettenò | 2012-06-30 | 9 | -68/+0 |
| | | | | | | | | | | | | 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> | ||||
* | GAN/UMA: use correct IE Identifier foer T3920 | Harald Welte | 2012-06-29 | 1 | -2/+2 |
| | | | | As Dieter found out, there has been a mix-up of 3902 with 3920 :/ | ||||
* | ganc: add value_strings for GAN message type and protocol discriminator | Harald Welte | 2012-06-24 | 2 | -1/+10 |
| | |||||
* | 44.318: Add missing message types | Harald Welte | 2012-06-24 | 1 | -0/+3 |
| | |||||
* | Fix bit-endianness in UMA/GAN definitions | Harald Welte | 2012-06-24 | 1 | -2/+19 |
| | |||||
* | 44.318: add structure describing Control Channel Description IE | Harald Welte | 2012-06-24 | 1 | -0/+19 |
| | |||||
* | gsm_44_318: add protocol discriminator enum and data[0] array to hdr | Harald Welte | 2012-06-23 | 1 | -0/+8 |
| | |||||
* | gsm_44_318.h: fix syntax errors in GAN definitions | Harald Welte | 2012-06-23 | 1 | -2/+2 |
| | |||||
* | linuxrbtree: don't use 'new' as argument name to avoid C++ incompatibility | Harald Welte | 2012-06-18 | 1 | -1/+1 |
| | |||||
* | libosmogb: move files to proper location and fix build | Harald Welte | 2012-06-17 | 9 | -2/+637 |
| | |||||
* | add GPRS/Gb related osmo_prim SAPs | Harald Welte | 2012-06-17 | 1 | -0/+5 |
| | |||||
* | add library VTY nodes for NS and BSSGP | Harald Welte | 2012-06-16 | 1 | -0/+2 |
| | |||||
* | signal: add SS_L_NS as a signal subsystem for NS code in libosmo-gb | Harald Welte | 2012-06-16 | 1 | -0/+1 |
| | |||||
* | add GSM_LCHAN_PDTCH | Harald Welte | 2012-04-19 | 1 | -0/+1 |
| | |||||
* | doc: Fix the Doxygen section endings | Sylvain Munaut | 2012-04-18 | 26 | -26/+26 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | vty: Add a function to write the current config to a file. | Holger Hans Peter Freyther | 2012-03-28 | 1 | -0/+3 |
| | |||||
* | auth_milenage/osmo-auc-gen: compute OPC in case only OP is known | Harald Welte | 2012-03-21 | 1 | -0/+1 |
| | |||||
* | misc: Fix warning when compiling telnet_interface.c | Holger Hans Peter Freyther | 2012-03-16 | 1 | -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 *' | ||||
* | vty/telnet: Add function to allow binding telnet interface to custom ↵ | Sylvain Munaut | 2012-03-01 | 1 | -0/+1 |
| | | | | | | IP/Interface Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | gsmtap: Add GSMTAP_GPRS_CS() / GSMTAP_GPRS_MCS() | Harald Welte | 2012-02-08 | 1 | -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. | ||||
* | libosmocore/gsm: Fixed total size of gsm48_req_ref | Andreas Eversberg | 2012-02-07 | 1 | -3/+3 |
| | | | | | "__attribute ((packed))" must be defined for unions, in order to make sure that the compiler packs unions. | ||||
* | GSM 08.08: change gsm0808_create_classmark_update() prototype | Harald Welte | 2012-01-26 | 1 | -1/+2 |
| | | | | | The caller explicitly specifies CM2 and CM3, rather than one blob containing both. | ||||
* | gsmtap: make sure we agree with wireshark on GSMTAP channel types | Harald Welte | 2012-01-26 | 1 | -2/+2 |
| | |||||
* | TLV/msgb: Return first byte of newly-pushed data from msgb_*_push() | Harald Welte | 2012-01-22 | 1 | -14/+28 |
| | | | | | The msgb_*_push() functions erroneously returned the firsrt byte after newly-pushed information, which makes no sense at all. | ||||
* | msgb_trim(): actually trim to an absolute length, as the comment states | Harald Welte | 2012-01-14 | 1 | -5/+3 |
| | | | | | The previous commit introduced a new msgb_trim() but the implementation differed from the specification. | ||||
* | msgb: introduce msgb_trim() and msgb_l3trim() to trim msgb's | Harald Welte | 2012-01-14 | 1 | -0/+28 |
| | |||||
* | auth_core: don't use anonymous unions to make certain gcc versions happy | Harald Welte | 2011-12-07 | 1 | -1/+1 |
| | |||||
* | auth_core: add functions for parsing algorithm names | Harald Welte | 2011-12-07 | 1 | -0/+3 |
| | |||||
* | Add a generic abstraction for GSM/3G authentication algorithms | Harald Welte | 2011-12-06 | 2 | -1/+88 |
| | | | | | Indiidual algorithms can be implemented as plugins. libosmogsm itself only provides COMP128v1 via this generic interface. | ||||
* | comp128: mark ki and srand as 'const' input parameters | Harald Welte | 2011-12-06 | 1 | -1/+1 |
| | |||||
* | SMS: export gsm411_bcdify() and gsm411_unbcdify() functions | Harald Welte | 2011-12-01 | 1 | -0/+6 |
| | | | | | The same functions are e.g. required by the NITZ code in 04.08, and we don't want copy+paste. | ||||
* | core/conv: Add utility methods to know length of coded/decoded vectors | Sylvain Munaut | 2011-11-24 | 1 | -0/+6 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> |