Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | logging: Don't forget to save "logging filter all 1" | Harald Welte | 2012-10-22 | 1 | -0/+4 |
| | | | | | | | Prior to this fix, a persistent file or syslog log configuration didn't work across an application re-start, as the "logging filter all 1" was never saved and thus no messages were logged. | ||||
* | Doc: Adding new parameter descriptions in gprs_bssgp_bss.c | Andreas Eversberg | 2012-09-30 | 1 | -1/+9 |
| | |||||
* | Fix: Correcting bssgp_tx_fc_bvc, bssgp_tx_fc_ms, bssgp_tx_ul_ud | Andreas Eversberg | 2012-09-30 | 3 | -11/+30 |
| | |||||
* | Fix: gprs_ns_destroy() now frees all NSVCs and its timers | Andreas Eversberg | 2012-09-29 | 1 | -4/+14 |
| | | | | | Freeing memory of registered timers and file descriptors cause corrupt lists. | ||||
* | logging: Modify the testcase to excercise Nico's fix | Holger Hans Peter Freyther | 2012-09-27 | 1 | -1/+1 |
| | |||||
* | logging: Move the logging test from OpenBSC into libosmocore | Holger Hans Peter Freyther | 2012-09-27 | 6 | -2/+94 |
| | | | | | Add a testcase for the logging facility. The test is coming from the OpenBSC code. | ||||
* | logging.c: Do not crash on empty category name | Nico Golde | 2012-09-27 | 1 | -5/+7 |
| | | | | | log_parse_category_mask(), skip log category name right away if name is NULL to prevent passing a NULL ptr to strlen. | ||||
* | gsm_utils.c: in 7bit decoding, first check if the last character was an ↵ | Nico Golde | 2012-09-21 | 1 | -5/+5 |
| | | | | extension character before doing anything else | ||||
* | gsm_utils: Fix up coding style in previous patch | Harald Welte | 2012-09-20 | 1 | -2/+2 |
| | | | | 'if' is not a function, so we have space before parenthesis. | ||||
* | build: fix directory creation for core headers, introduced by d471a219. | Nico Golde | 2012-09-20 | 1 | -1/+1 |
| | |||||
* | gsm_utils.c: cleanup + do not use dynamic memory when decoding 7bit messages | Nico Golde | 2012-09-20 | 1 | -14/+13 |
| | |||||
* | Fix build with dpkg-buildpackage. | Max | 2012-09-17 | 2 | -0/+11 |
| | |||||
* | git: Ignore generated tests executables | Holger Hans Peter Freyther | 2012-09-11 | 1 | -0/+2 |
| | |||||
* | vty: Include osmocom/core/utils.h for the value_string struct | Holger Hans Peter Freyther | 2012-09-11 | 1 | -0/+1 |
| | |||||
* | tests: Make the gb test work with srcdir != builddir | Holger Hans Peter Freyther | 2012-09-11 | 4 | -53/+56 |
| | | | | | | | * Disable color and printing the filename of the stderr log target, update the results * Add the .ok, .err and .sh files to the extra_dist * Execute the shell script from the source directory | ||||
* | logging: Introduce a print_filename flag for the logtarget | Holger Hans Peter Freyther | 2012-09-11 | 2 | -5/+20 |
| | | | | | | Introduce a print_filename attribute for each logtarget. Initialize it with 1 to be backward compatible with earlier versions. The bit is taken from an existint bitfield. There were at least six bits left of the byte. | ||||
* | vty: Address compiler warning about the const qualifier | Holger Hans Peter Freyther | 2012-09-11 | 1 | -1/+1 |
| | | | | | vty.c: In function 'vty_out_newline': vty.c:294:12: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] | ||||
* | vty: Address compiler warning about tolower | Holger Hans Peter Freyther | 2012-09-11 | 1 | -0/+1 |
| | | | | | | | Include ctype.h to have a declaration of tolower. utils.c: In function 'vty_cmd_string_from_valstr': utils.c:95:6: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] | ||||
* | gsm: Address compiler warning about unused variable 'z' | Holger Hans Peter Freyther | 2012-09-11 | 1 | -3/+4 |
| | | | | | | | | The comment explains why we don't care about the content of z, stop storing it. gsm_utils.c: In function 'gsm_7bit_encode': gsm_utils.c:253:13: warning: variable 'z' set but not used [-Wunused-but-set-variable] | ||||
* | logging: Mark the log_info_cat pointer as consts | Holger Hans Peter Freyther | 2012-09-11 | 2 | -3/+4 |
| | | | | | | Applications should keep the log area in a static const area. Mark the pointer as const to address compiler warnings in OpenBSC, cast the const away for the osmo_log_info as it is not declared as const. | ||||
* | Gb: Add functions for sending flow control messages from BSS side | Harald Welte | 2012-09-10 | 2 | -0/+113 |
| | |||||
* | Gb: Add header file for BSS-side BSSGP functions | Harald Welte | 2012-09-10 | 3 | -0/+69 |
| | | | | .. not sure how we could have missed that so far. | ||||
* | libosmogb: make build conditional, disable in embedded build | Harald Welte | 2012-09-08 | 2 | -0/+11 |
| | | | | | when we build for osmocom-bb cross-compilation, we don't have sockets nor netinet/in.h and thus NS/BSSGP make no sense... | ||||
* | backtrace: don't use fprintf, but printf (for osmocom-bb) | Harald Welte | 2012-09-08 | 1 | -1/+1 |
| | |||||
* | msgb: msgb_get() is supposed to get bytes from END, msgb_pull() from HEAD | Harald Welte | 2012-09-08 | 1 | -3/+34 |
| | | | | | | msgb_get() has been wrong all the time, despite the documentation being correct. If you've used the broken msgb_get() before, you have to change your code now, sorry. | ||||
* | Merge branch 'bssgp_fc' | Harald Welte | 2012-09-07 | 10 | -6/+705 |
|\ | |||||
| * | BSSGP: print per-bvc flow control parameters on vty | Harald Welte | 2012-09-07 | 1 | -1/+12 |
| | | |||||
| * | BSSGP: make bvc_ctx->fc a dynamic talloc allocation | Harald Welte | 2012-09-07 | 3 | -56/+58 |
| | | | | | | | | | | this ensures that we can talloc the flow-control queue entries as siblings off the bvc_ctx. | ||||
| * | GPRS BSSGP test: integrate into autotest | Harald Welte | 2012-09-07 | 4 | -0/+223 |
| | | | | | | | | we use a smalle shell script to iterate over multiple tests | ||||
| * | BSSGP flow-control: Add unit test for algorithm tests | Harald Welte | 2012-09-07 | 2 | -1/+172 |
| | | |||||
| * | BSSGP flow-control: various fixes | Harald Welte | 2012-09-07 | 3 | -15/+49 |
| | | | | | | | | | | | | | | * add more comments on units of struct members * make sure to parsre FC-BVC message correctly * add error message in case user passes PDU larger than bucket size * add new function to initialize flow control struct | ||||
| * | libosmogb: Port BSSGP flow control from openbsc/laforge/bssgp_fc branch | Harald Welte | 2012-09-07 | 3 | -4/+262 |
|/ | | | | | | | | 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 |
| | |||||
* | BSSGP: fix unused variable compiler warnings | Harald Welte | 2012-09-07 | 1 | -8/+2 |
| | |||||
* | libosmogb: build without strict aliasing rules | Harald Welte | 2012-09-07 | 2 | -2/+2 |
| | | | | | | This allows us to reliably do the trick with casting structures like libgb_msgb_cb to the msgb->cb[] array. Shamelessly stolen from the Linux kernel. | ||||
* | gsmtap: add minimal support for encapsulating UMTS RRC in GSMTAP | Harald Welte | 2012-09-02 | 1 | -0/+7 |
| | |||||
* | libosmogsm: Back-port SMS related fixes from openbsc | Harald Welte | 2012-08-29 | 2 | -1/+35 |
| | | | | | | | | This was fixed in 9c3dc90d16a40789081c84e46620f4d66689fec1 of openbsc.git, after the sms code had been migrated here: introduce HAVE_TM_GMTOFF_IN_TM Not all architectures have the tm.tm_gmtoff member. This fixes cygwin builds. | ||||
* | Use package version since git info won't be available. | Eric Butler | 2012-08-26 | 2 | -1/+15 |
| | |||||
* | Fix debian package building. | Eric Butler | 2012-08-26 | 5 | -8/+11 |
| | | | | | | * Removed log file * Add 'git' add 'libdpkg-perl' to build dependencies * Disable tests (one of them is failing) | ||||
* | misc: Fix make distcheck of libosmocore by adding the result to the dist | Holger Hans Peter Freyther | 2012-08-25 | 1 | -1/+2 |
| | | | | Add the new result file to the EXTRA_DIST. | ||||
* | 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 | 7 | -6/+314 |
| | | | | Also adds a test case for both encoder and decoder of this IE | ||||
* | gsm48_ie: annotate functions with chapter numbers from 04.08 spec | Harald Welte | 2012-08-24 | 1 | -29/+29 |
| | |||||
* | 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 | 2 | -0/+59 |
| | | | | | 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. | ||||
* | increaes libosmocgsm LIBVERSIN due to gsm_decode_lai() change | Harald Welte | 2012-08-03 | 1 | -1/+1 |
| | |||||
* | serial: don't set O_NDELAY, as it is more or less O_NONBLOCK | Harald Welte | 2012-08-03 | 1 | -1/+1 |
| | | | | | Applications like osmocon will set O_NONBLOCK themselves or have it done indirectly by registering it with libosmocore/select.c code. | ||||
* | gb: Make suspend_ref a plain uint8_t instead of a uint8_t* | Holger Hans Peter Freyther | 2012-08-03 | 2 | -2/+2 |
| | | | | | | 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. | ||||
* | libgb: Link to the libraries used by libgb | Holger Hans Peter Freyther | 2012-08-02 | 1 | -1/+4 |
| | | | | | The Mandriva linker appears to be more strict in enforcing the as-needed rules. Link to the libraries that are used by libgb. |