Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revert various debian related changes | Holger Hans Peter Freyther | 2011-07-16 | 5 | -12/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The debian related changes were not meant to be comitted and were local experiments. The changes should go through Jan and not this way. Revert "more changes" This reverts commit 96ba20cb44e602abb292b53c9e4f92aa59998df1. Revert "debian: Updates to fix lintian errors" This reverts commit b670c86edd704d45b572b87111f3224abecc4767. Revert "debian: Switch to the 3.0(quilt) format to play with launchpad" This reverts commit 7a91d6071d1ef15e5a05f5feb7f79a06c279c673. Revert "debian: Add new changelog entry for the shlib:Depends change" This reverts commit 54b8c4e0edb2f0f0cde7d28c1715810dd5c6a4b1. Revert "debian: dpkg-buildpackage complains about this here" This reverts commit 4284307ead92f35e844e452c0ff9c73a61038096. Revert "debian: Add a new changelog entry" This reverts commit ae9b220d166dac277a9b9078add20650415d1cb2. | |||||
* | osmo_hexdump: Fix segfault when input is too long. | Holger Hans Peter Freyther | 2011-07-15 | 1 | -0/+2 | |
| | | | | | | | | | | In snprinftf the size is a size_t (unsigned) in case we want to write more than we have available, len_remain will be < 0. This was spotted while removing hexdump from simtrace and comparing it to our implementation. int snprintf(char *str, size_t size, const char *format, ...); | |||||
* | more changes | Holger Hans Peter Freyther | 2011-07-13 | 1 | -21/+3 | |
| | ||||||
* | debian: Updates to fix lintian errors | Holger Hans Peter Freyther | 2011-07-13 | 4 | -17/+16 | |
| | ||||||
* | debian: Switch to the 3.0(quilt) format to play with launchpad | Holger Hans Peter Freyther | 2011-07-13 | 1 | -1/+1 | |
| | ||||||
* | debian: Add new changelog entry for the shlib:Depends change | Holger Hans Peter Freyther | 2011-07-13 | 1 | -0/+6 | |
| | ||||||
* | debian: dpkg-buildpackage complains about this here | Holger Hans Peter Freyther | 2011-07-13 | 1 | -1/+1 | |
| | ||||||
* | debian: Add a new changelog entry | Holger Hans Peter Freyther | 2011-07-13 | 1 | -0/+6 | |
| | ||||||
* | GSM 08.08: Fix generation of CIPHER MODE REJECT | Harald Welte | 2011-07-12 | 1 | -1/+1 | |
| | | | | | The message has a total length of 4 octets, so don't allocate only 3 in the msgb. | |||||
* | gsm 08.08: add value_strings and gsm0808_msg_name() function | Harald Welte | 2011-07-11 | 2 | -0/+89 | |
| | ||||||
* | fix against corrupted output in parallel logging | Harald Welte | 2011-07-02 | 1 | -1/+1 | |
| | | | | | | | | | In 825607672215b7a12ea6e201a89cd5209f6d657f it was attempted to fix a bug previously introduced by logging related changes. The problem is that a va_list can be corrupted after it has been used once, so we need to va_copy before each successive use. And if we copy it, we also need to use the copy, and not the original ;) | |||||
* | lapdm: make sure we flush all queues whenever entering IDLE state | Harald Welte | 2011-06-29 | 1 | -0/+11 | |
| | | | | | this fixes a memory leak where the final UA would always remain in memory after a LAPDm entity has been disconnected. | |||||
* | add msgb_set_talloc_ctx() to set the talloc context for msgb allocations | Harald Welte | 2011-06-29 | 2 | -0/+7 | |
| | ||||||
* | make sure abis_nm <-> osmocom pchan type conversion always works | Harald Welte | 2011-06-29 | 1 | -0/+2 | |
| | ||||||
* | LAPDm: Uplink SACCH frames use format B, not format B4 | Harald Welte | 2011-06-29 | 1 | -5/+12 | |
| | ||||||
* | LAPDm: When Rx DATA from L1, L1 does not know the SAPI | Harald Welte | 2011-06-27 | 1 | -13/+14 | |
| | | | | We have to determine the SAPI ourselves inside the LAPDm header. | |||||
* | Fix the generation of the log_categories string + LAPDM | Harald Welte | 2011-06-27 | 1 | -4/+7 | |
| | | | | | | | | ... I should do more testing :( Conflicts: src/logging.c | |||||
* | logging: make sure to add the internal categories, as intended | Harald Welte | 2011-06-27 | 1 | -0/+6 | |
| | ||||||
* | add LAPDm code from osmocom-bb into libosmocore | Harald Welte | 2011-06-27 | 6 | -3/+2707 | |
| | ||||||
* | logging: introduce library-internal logging categories | Harald Welte | 2011-06-27 | 3 | -27/+104 | |
| | | | | | | | | | | We do this by using a trick: library-internal log categories use negative subsystem numbers, which are converted into positive array indexes at the time of logging. library-internal log categories need to be knwo at compile-time, while application-specified categories now are of unlimited number, as they are dynamically allocated. | |||||
* | import gsm0502_calc_paging_group() from openbsc | Harald Welte | 2011-06-26 | 4 | -1/+48 | |
| | ||||||
* | add some utility functions for paging related calculation (TS 05.02) | Harald Welte | 2011-06-26 | 3 | -8/+43 | |
| | ||||||
* | add gsm48_number_of_paging_subchannels() function | Harald Welte | 2011-06-26 | 2 | -0/+15 | |
| | | | | (from openbsc's rsl_number_of_paging_subchannels) | |||||
* | add MAX() macro as OSMO_MAX | Harald Welte | 2011-06-26 | 1 | -0/+1 | |
| | ||||||
* | merge process.[ch] with application.[ch] | Harald Welte | 2011-06-26 | 6 | -80/+67 | |
| | ||||||
* | gsm/utils: Adding conversion of "mobile power class" to dBm | Andreas Eversberg | 2011-06-26 | 2 | -0/+43 | |
| | | | | | Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | |||||
* | sysinfo: add EXTENDED MEASUREMENT ORDER / MEASUREMENT INFO to SI types | Harald Welte | 2011-06-25 | 2 | -0/+8 | |
| | | | | | those two are used in the RSL SACCH FILLING messages and delivered like SI5 / SI6. | |||||
* | RSL: Fix typo | Harald Welte | 2011-06-25 | 1 | -1/+1 | |
| | ||||||
* | add value_string definitions for RSL message types | Harald Welte | 2011-06-23 | 2 | -0/+77 | |
| | ||||||
* | introduce GSM primitive definitions | Harald Welte | 2011-06-23 | 3 | -1/+32 | |
| | | | | | The idea here is to use the osmocom core primitive code ot abstract out primitives for inter-layer comunication in GSM. | |||||
* | add new 'prim.h' header file for primitives | Harald Welte | 2011-06-23 | 2 | -1/+21 | |
| | ||||||
* | socket: add OSMO_SOCK_F_[CONNECT|BIND|NON_BLOCK] flags | Pablo Neira Ayuso | 2011-06-13 | 3 | -15/+40 | |
| | | | | | | | | This extends the socket infrastructure in libosmocore to allow to create non-blocking sockets. Basically, it replaces the connect0_bind1 parameter by one flags parameter. | |||||
* | Merge branch 'master' of git.osmocom.org:libosmocore | Pablo Neira Ayuso | 2011-06-13 | 6 | -7/+12 | |
|\ | ||||||
| * | add missing #include file to sysinfo.h | Harald Welte | 2011-06-05 | 1 | -0/+1 | |
| | | | | | | | | (otherwise 'struct value_string' would not be defined) | |||||
| * | abis_nm.h: Add include to gsm_utils.h | Harald Welte | 2011-06-05 | 1 | -0/+1 | |
| | | ||||||
| * | socket: getaddrinfo(): set AI_PASSIVE if we want to bind | Harald Welte | 2011-05-31 | 1 | -0/+3 | |
| | | | | | | | | This will tell getaddrinfo() that we want a INADDR_ANY style socket | |||||
| * | abis_nm: Forward declare the used enums | Holger Hans Peter Freyther | 2011-05-31 | 1 | -0/+3 | |
| | | | | | | | | | | This file is using enums in that might or might not be known to the compiler. Forward declare them. | |||||
| * | gsmtap_util: Remove msg_free from the wq call back | Sylvain Munaut | 2011-05-29 | 1 | -3/+0 | |
| | | | | | | | | | | | | write_queue already frees the message after the callback is called. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | |||||
| * | gsm/sysinfo: Fix rsl2sitype array size | Sylvain Munaut | 2011-05-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | 0xff is the maximum value ... so there is 256 elements. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | |||||
| * | gsm/sysinfo: don't include netinet/in.h | Harald Welte | 2011-05-29 | 1 | -1/+0 | |
| | | ||||||
| * | bitvec: add missing stdint.h | Harald Welte | 2011-05-29 | 1 | -0/+1 | |
| | | ||||||
| * | socket: remove unused IPv4 related header includes | Harald Welte | 2011-05-29 | 1 | -2/+0 | |
| | | ||||||
| * | socket: Skip ifa's without ifa->ifa_addr | Harald Welte | 2011-05-24 | 1 | -0/+2 | |
| | | | | | | | | Apparently getifaddrs() returns ifa's without an ifa_addr set. | |||||
* | | Merge branch 'master' of git.osmocom.org:libosmocore | Pablo Neira Ayuso | 2011-05-24 | 9 | -19/+245 | |
|\| | ||||||
| * | Import abis_nm_{chcomb4pchan,pchan4chcomb}() from openbsc | Harald Welte | 2011-05-24 | 3 | -0/+60 | |
| | | ||||||
| * | libosmocore: rename configure.in -> configure.ac | Alexander Huemer | 2011-05-24 | 1 | -0/+0 | |
| | | | | | | | | | | rename autoconf input file to align with osmocom-bb host applications, and because that suffix is preferred nowadays. | |||||
| * | libosmocore: add missing AC_LANG_SOURCE for current autoconf | Alexander Huemer | 2011-05-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | autoconf >=2.68 demands the body of an AC_COMPILE_IFELSE to be wrapped in an AC_LANG_SOURCE macro, otherwise outputs annoying warnings on the invocation of `autoreconf -i`. this patch follows that demand. | |||||
| * | Import sytem information related definitions + code from openbsc | Harald Welte | 2011-05-24 | 5 | -2/+177 | |
| | | ||||||
| * | abis_nm: Mark the structs as extern to avoid compiler warning | Holger Hans Peter Freyther | 2011-05-23 | 1 | -2/+2 | |
| | | | | | | | | warning: array ‘abis_nm_obj_class_names’ assumed to have one element | |||||
| * | abis_nm: remove abis_nm_obj_class_name / abis_nm_adm_state_name | Harald Welte | 2011-05-23 | 2 | -16/+7 | |
| | | | | | | | | | | | | | | | | and export the underlying raw value_string arrays instead: abis_nm_obj_class_names / abis_nm_adm_state_names. This permits the caller to use get_string_value() as well as get_value_string(). |