Harald Welte
ea19c97816
import gsm0502_calc_paging_group() from openbsc
2011-06-26 14:47:16 +02:00
Harald Welte
94df39e905
add some utility functions for paging related calculation (TS 05.02)
2011-06-26 14:40:12 +02:00
Harald Welte
2aee7b14ca
add gsm48_number_of_paging_subchannels() function
...
(from openbsc's rsl_number_of_paging_subchannels)
2011-06-26 14:20:04 +02:00
Andreas Eversberg
2a68c7c8cd
gsm/utils: Adding conversion of "mobile power class" to dBm
...
Written-by: Andreas Eversberg <jolly@eversberg.eu>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-06-26 11:41:48 +02:00
Harald Welte
620f7ab350
sysinfo: add EXTENDED MEASUREMENT ORDER / MEASUREMENT INFO to SI types
...
those two are used in the RSL SACCH FILLING messages and delivered
like SI5 / SI6.
2011-06-25 21:39:18 +02:00
Harald Welte
cf7e5dad45
add value_string definitions for RSL message types
2011-06-23 20:44:03 +02:00
Sylvain Munaut
f2699501bc
gsm/sysinfo: Fix rsl2sitype array size
...
0xff is the maximum value ... so there is 256 elements.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-29 15:39:48 +02:00
Harald Welte
8c6be75d4f
gsm/sysinfo: don't include netinet/in.h
2011-05-29 15:37:49 +02:00
Harald Welte
11c7193ad8
Import abis_nm_{chcomb4pchan,pchan4chcomb}() from openbsc
2011-05-24 17:22:55 +02:00
Harald Welte
b5503136fa
Import sytem information related definitions + code from openbsc
2011-05-24 15:01:53 +02:00
Harald Welte
ea4b12aa5d
abis_nm: remove abis_nm_obj_class_name / abis_nm_adm_state_name
...
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-23 20:41:31 +02:00
Harald Welte
61dc63e354
rename abis_nm_adm_name() to abis_nm_adm_state_name()
2011-05-23 20:30:17 +02:00
Harald Welte
f7a1bcce0c
abis_nm: import definitions and common code on A-bis OML from OpenBSC
2011-05-22 22:45:16 +02:00
Harald Welte
7533705ab1
libosmocore: bump library interface version to '1' for new osmo_ names
2011-05-08 14:35:40 +02:00
Pablo Neira Ayuso
2c34867fc3
plugin: use namespace prefix osmo_*
...
Summary of changes:
s/plugin_load_all/osmo_plugin_load_all/g
2011-05-07 13:00:52 +02:00
Pablo Neira Ayuso
87f7b25e56
utils: use namespace prefix osmo_*
...
Summary of changes:
s/bcd2char/osmo_bcd2char/g
s/char2bcd/osmo_char2bcd/g
s/hexparse/osmo_hexparse/g
s/hexdump/osmo_hexdump/g
s/hexdump_nospc/osmo_hexdump_nospc/g
s/ubit_dump/osmo_ubit_dump/g
s/static_assert/osmo_static_assert/g
2011-05-07 13:00:51 +02:00
Sylvain Munaut
f1d3344781
gsm/a5: Add a A5 1&2 implementation
...
It's always useful to have around
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-04-26 14:40:49 +02:00
Pablo Neira Ayuso
36bdf2cb73
bitvec: add bitvec_find_first_bit_pos() from gsm/rxlev_stat.c
...
This patch adds bitvec_find_bit_pos() to bitvec.c where it really
belongs to. Before this patch used to be part of gsm/rxlev_stat.c
2011-03-28 20:00:45 +02:00
Pablo Neira Ayuso
8341934844
include: reorganize headers file to include/osmocom/[gsm|core]
...
This patch moves all GSM-specific definitions to include/osmocom/gsm.
Moreover, the headers in include/osmocore/ have been moved to
include/osmocom/core.
This has been proposed by Harald Welte and Sylvain Munaunt.
Tested with `make distcheck'.
Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-03-23 18:09:28 +01:00
Pablo Neira Ayuso
fba495e5f6
This patch moves the GSM-specific functions to the new library
...
libosmogsm which is provided by libosmocore.
I have also moved generate_backtrace() to backtrace.c instead
of gsm_utils.c, otherwise the timer and msgfile tests depend on
libosmogsm.
Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-03-23 18:08:08 +01:00