Commit Graph

233 Commits

Author SHA1 Message Date
Harald Welte d3ff15fc81 use strtol instead of atoi 2010-03-07 18:23:47 +01:00
Ingo Albrecht 48e17f8951 msgb: Buffer formatting and scanning functions. 2010-03-07 18:03:41 +01:00
Harald Welte 622b718195 import some gsm band/arfcn/time related utilities from OsmocomBB 2010-03-07 17:50:21 +01:00
Harald Welte 63d3e396e7 introduce RxLev statistics module, an efficient way for power scan data 2010-03-06 11:34:27 +01:00
Harald Welte 380ae25052 some more ip.access specific ABIS_NM defines 2010-03-06 11:29:07 +01:00
Harald Welte d9abf01436 mark some occasions of bitvec as 'const' as appropriate 2010-03-06 11:28:49 +01:00
Harald Welte 4e1287938e add GSTMAP ARCFCN flag bits 2010-03-04 15:15:37 +01:00
Harald Welte 8c8caaa1ac update GSMTAP to version 0x02 2010-03-04 15:02:54 +01:00
Harald Welte 6fec514d7b fix CCCH parsing 2010-03-04 14:30:15 +01:00
Harald Welte ecf9dd0d96 add new rsl_dec_chan_nr() function 2010-03-04 14:27:48 +01:00
Harald Welte 61e2bfc5f4 import gsm48 utility functions from OpenBSC
* gsm48_generate_lai() gsm48_generate_mid_from_tmsi() gsm48_generate_mid_from_imsi()
* gsm48_cc_msg_names[]
2010-03-04 10:53:03 +01:00
Harald Welte a73e2f9acb import bcd2char() and char2bcd() from OpenBSC 2010-03-04 10:50:32 +01:00
Harald Welte aebe08c71f import gsm_band_name() and gsm_band_parse() from OpenBSC 2010-03-04 10:39:17 +01:00
Harald Welte eb8bf3915c add 'transparent' argument to rsl_rll_push_l3() and rsl_rll_push_l3()
this is required to make those functions useful for OpenBSC, nut just
OsmocomBB
2010-03-04 10:32:09 +01:00
Harald Welte 098cd4b503 fix rsl_enc_chan_nr() for SDCCH4 2010-03-04 10:12:50 +01:00
Harald Welte 4fb20757c6 import some GSM 04.08 utility code from OpenBSC 2010-03-02 23:17:33 +01:00
Harald Welte f08eabf234 add two new RSL utility functions 2010-03-02 21:59:20 +01:00
Harald Welte fdd0a70093 add msgb_l1() and msgb_l1len() inline functions 2010-03-01 22:30:51 +01:00
Harald Welte d284cd9f43 Import value_string utilities and some RSL stuff from OpenBSC 2010-03-01 21:58:31 +01:00
Harald Welte 00096acb8f msgb: add msgb->l1h member 2010-03-01 12:55:47 +01:00
Holger Hans Peter Freyther 8df932a7fd [write_queue] Add a generic write queue class
The write queue can be a dropin replacement for the bsc_fd. It
is featuring two callbacks. One for ready read and one for ready
write. Whenever there is a message in the queue the write_queue
will set the BSC_FD_WRITE flag and then call the write callback.

It will make sure to delete the msgb after the write function
has been called. This class is intended to be be used in the
osmocom, layer2, bsc_msc_ip, bsc_hack and other applications.
2010-02-26 20:30:32 +01:00
Holger Hans Peter Freyther d60c7a895e [timer] Fix compile warning of the timer test 2010-02-26 20:03:13 +01:00
Sylvain Munaut 17a5a28202 msgb.c: Style cleanup in initialization
Don't assign the same var twice & init all from the same source.
2010-02-24 22:57:46 +01:00
Harald Welte ac778fb85d fix msgb_talroom() calculation 2010-02-24 22:54:11 +01:00
Harald Welte f7d797424a Merge remote branch 'origin/master' 2010-02-24 22:52:58 +01:00
Harald Welte 3415d41a8c add msgb and tlv support bits required for openbsc gprs branch 2010-02-21 19:03:41 +01:00
Harald Welte ed71b8c597 add GPL to project source 2010-02-21 09:21:30 +01:00
Harald Welte 5484480211 fix select.c build (config.h) 2010-02-20 22:23:08 +01:00
Harald Welte e94ad58e8e fix config.h directory 2010-02-20 22:06:24 +01:00
Harald Welte 3cae0398ea add missing automake / autoconf files 2010-02-20 21:09:24 +01:00
Harald Welte 26cbdcff24 update gitignore file 2010-02-20 21:07:42 +01:00
Harald Welte 47a0885d78 add missing Makefile.am in include/osmocore/protocol directory 2010-02-20 20:37:26 +01:00
Harald Welte ec8b4501c7 intial checkin of the libosmocore project 2010-02-20 20:34:29 +01:00