AgeCommit message (Collapse)AuthorFilesLines
2011-07-13debian: Updates to fix lintian errorsHolger Hans Peter Freyther4-17/+16
2011-07-13debian: Switch to the 3.0(quilt) format to play with launchpadHolger Hans Peter Freyther1-1/+1
2011-07-13debian: Add new changelog entry for the shlib:Depends changeHolger Hans Peter Freyther1-0/+6
2011-07-13debian: dpkg-buildpackage complains about this hereHolger Hans Peter Freyther1-1/+1
2011-07-13debian: Add a new changelog entryHolger Hans Peter Freyther1-0/+6
2011-07-12GSM 08.08: Fix generation of CIPHER MODE REJECTHarald Welte1-1/+1
The message has a total length of 4 octets, so don't allocate only 3 in the msgb.
2011-07-11gsm 08.08: add value_strings and gsm0808_msg_name() functionHarald Welte2-0/+89
2011-07-02fix against corrupted output in parallel loggingHarald Welte1-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 ;)
2011-06-29lapdm: make sure we flush all queues whenever entering IDLE state0.3.4Harald Welte1-0/+11
this fixes a memory leak where the final UA would always remain in memory after a LAPDm entity has been disconnected.
2011-06-29add msgb_set_talloc_ctx() to set the talloc context for msgb allocationsHarald Welte2-0/+7
2011-06-29make sure abis_nm <-> osmocom pchan type conversion always worksHarald Welte1-0/+2
2011-06-29LAPDm: Uplink SACCH frames use format B, not format B4Harald Welte1-5/+12
2011-06-27LAPDm: When Rx DATA from L1, L1 does not know the SAPIHarald Welte1-13/+14
We have to determine the SAPI ourselves inside the LAPDm header.
2011-06-27Fix the generation of the log_categories string + LAPDMHarald Welte1-4/+7
... I should do more testing :( Conflicts: src/logging.c
2011-06-27logging: make sure to add the internal categories, as intendedHarald Welte1-0/+6
2011-06-27add LAPDm code from osmocom-bb into libosmocore0.3.3Harald Welte6-3/+2707
2011-06-27logging: introduce library-internal logging categoriesHarald Welte3-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.
2011-06-26import gsm0502_calc_paging_group() from openbsc0.3.2Harald Welte4-1/+48
2011-06-26add some utility functions for paging related calculation (TS 05.02)Harald Welte3-8/+43
2011-06-26add gsm48_number_of_paging_subchannels() functionHarald Welte2-0/+15
(from openbsc's rsl_number_of_paging_subchannels)
2011-06-26add MAX() macro as OSMO_MAXHarald Welte1-0/+1
2011-06-26merge process.[ch] with application.[ch]Harald Welte6-80/+67
2011-06-26gsm/utils: Adding conversion of "mobile power class" to dBmAndreas Eversberg2-0/+43
Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-06-25sysinfo: add EXTENDED MEASUREMENT ORDER / MEASUREMENT INFO to SI typesHarald Welte2-0/+8
those two are used in the RSL SACCH FILLING messages and delivered like SI5 / SI6.
2011-06-25RSL: Fix typoHarald Welte1-1/+1
2011-06-23add value_string definitions for RSL message typesHarald Welte2-0/+77
2011-06-23introduce GSM primitive definitionsHarald Welte3-1/+32
The idea here is to use the osmocom core primitive code ot abstract out primitives for inter-layer comunication in GSM.
2011-06-23add new 'prim.h' header file for primitivesHarald Welte2-1/+21
2011-06-13socket: add OSMO_SOCK_F_[CONNECT|BIND|NON_BLOCK] flagsPablo Neira Ayuso3-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.
2011-06-13Merge branch 'master' of git.osmocom.org:libosmocorePablo Neira Ayuso6-7/+12
2011-06-05add missing #include file to sysinfo.h0.3.1+deb2Harald Welte1-0/+1
(otherwise 'struct value_string' would not be defined)
2011-06-05abis_nm.h: Add include to gsm_utils.hHarald Welte1-0/+1
2011-05-31socket: getaddrinfo(): set AI_PASSIVE if we want to bindHarald Welte1-0/+3
This will tell getaddrinfo() that we want a INADDR_ANY style socket
2011-05-31abis_nm: Forward declare the used enumsHolger Hans Peter Freyther1-0/+3
This file is using enums in that might or might not be known to the compiler. Forward declare them.
2011-05-29gsmtap_util: Remove msg_free from the wq call backSylvain Munaut1-3/+0
write_queue already frees the message after the callback is called. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-29gsm/sysinfo: Fix rsl2sitype array sizeSylvain Munaut1-1/+1
0xff is the maximum value ... so there is 256 elements. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-29gsm/sysinfo: don't include netinet/in.hHarald Welte1-1/+0
2011-05-29bitvec: add missing stdint.hHarald Welte1-0/+1
2011-05-29socket: remove unused IPv4 related header includesHarald Welte1-2/+0
2011-05-24socket: Skip ifa's without ifa->ifa_addrHarald Welte1-0/+2
Apparently getifaddrs() returns ifa's without an ifa_addr set.
2011-05-24Merge branch 'master' of git.osmocom.org:libosmocorePablo Neira Ayuso9-19/+245
2011-05-24Import abis_nm_{chcomb4pchan,pchan4chcomb}() from openbscHarald Welte3-0/+60
2011-05-24libosmocore: rename configure.in -> configure.acAlexander Huemer1-0/+0
rename autoconf input file to align with osmocom-bb host applications, and because that suffix is preferred nowadays.
2011-05-24libosmocore: add missing AC_LANG_SOURCE for current autoconfAlexander Huemer1-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.
2011-05-24Import sytem information related definitions + code from openbscHarald Welte5-2/+177
2011-05-23abis_nm: Mark the structs as extern to avoid compiler warning0.3.1+deb1Holger Hans Peter Freyther1-2/+2
warning: array ‘abis_nm_obj_class_names’ assumed to have one element
2011-05-23abis_nm: remove abis_nm_obj_class_name / abis_nm_adm_state_nameHarald Welte2-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().
2011-05-23rename abis_nm_adm_name() to abis_nm_adm_state_name()Harald Welte2-2/+2
2011-05-23Merge branch 'master' of git.osmocom.org:libosmocorePablo Neira Ayuso14-107/+891
2011-05-22abis_nm: import definitions and common code on A-bis OML from OpenBSCHarald Welte4-2/+432