Harald Welte
351ec2a178
Add 'libosmocore/' from commit '045cc22baeb7f12dcb0022b79a1984d86e922870'
...
git-subtree-dir: libosmocore
git-subtree-mainline: e164d29e7f
git-subtree-split: 045cc22bae
2010-03-22 22:25:13 +08:00
Harald Welte
e164d29e7f
gprs: remove (the already unused) si13_template
...
system_information.c and rest_octets.c don't need a template...
2010-03-22 19:04:46 +08:00
Harald Welte
a5731cffc4
GPRS: make NSEI configurable from VTY
2010-03-22 19:02:04 +08:00
Harald Welte
94036700c1
GPRS: don't allow VTY configuration of GPRS parameters if GPRS inactive
2010-03-22 19:02:04 +08:00
Harald Welte
84c6f310ed
GPRS: remove outdated FIXME about patching CGI
2010-03-22 19:02:04 +08:00
Harald Welte
1f89329f45
GPRS: set SI3 GPRS indicator dependent on bts->gprs.enabled
2010-03-22 19:02:04 +08:00
Harald Welte
fa58625e3b
GPRS: remove "#define GPRS" compile-time define
...
It is now possible to enable/disable GPRS support purely based on
the vty / config file.
2010-03-22 19:02:04 +08:00
Harald Welte
af387633db
GPRS: make NSVC parameters VTY-configurable
2010-03-22 19:02:04 +08:00
Harald Welte
97a282b037
Create new gprs-conf branch with the non-SGSN part of the gprs branch
...
This new gprs-conf branch is intended to contain everything needed
to configure GPRS in the nanoBTS, but without implementing the SGSN/GGSN
functionality.
The SGSN/GGSN development will happen in a branch based on this branch
called "gprs-sgsn"
2010-03-22 19:02:04 +08:00
Holger Hans Peter Freyther
d859a24f7d
ipa-firmware: Fix the write out of the firmware parts
...
Use the start address inside the header entry, the start is relative
to the surrounding SDP record which is located in our base offset, when
writing it out also ignore four bytes of something (crc?).
2010-03-22 11:50:30 +01:00
Holger Hans Peter Freyther
38722cca48
ipa-firmware: Write the firmware parts to a file
...
The first non working version to dump the content of the sdp
to the terminal..
2010-03-22 11:22:54 +01:00
Holger Hans Peter Freyther
f63bf4d8f1
ipa-firmware: Add the entry first and then seek
...
The sub entry might not be a SDP file so it is best to add the
read entry, add it to the list and then attempt to recursively
parse this one.
2010-03-22 10:14:46 +01:00
Holger Hans Peter Freyther
e6678dcedb
ipa-firmware: Lift the requirement of having a table_offset of zero
...
Make the code work/skip the other table and find the entries
at the given offset. This appears to work.
2010-03-22 10:05:26 +01:00
Holger Hans Peter Freyther
57e9300142
ipa-firmware: Remove the part_length from the struct sdp_firmware
...
* The length of the table is not at a fixed position. We will need
to read the offset, seek there, read the data, convert it to the
host endianes.
* Prepare the code to work with offsets of 0...
2010-03-22 09:59:57 +01:00
Holger Hans Peter Freyther
c88181a7df
ipa-firmware: Look at the table offset
...
* The two dummy bytes appear to be an offset, check that
they are zero and refuse to work when they are not.
2010-03-22 09:51:43 +01:00
Holger Hans Peter Freyther
6e79b54d7b
ipa-firmware: Warn/Exit when the required ids can not be found.
2010-03-22 09:50:56 +01:00
Holger Hans Peter Freyther
622ab49311
ipa-firmware: Remove dummy check...
...
We have derefenced that way before and would have crashed already.
2010-03-22 09:28:50 +01:00
Holger Hans Peter Freyther
91ed1f75c4
ipa-firmware: The more_more_magic is to indicate the payload
...
* Ignore the value of the field there is no sematnic change
to the content of the file..
2010-03-22 09:27:43 +01:00
Holger Hans Peter Freyther
8e9559d2e1
debug: Use the right enum value for the ref counting group.
2010-03-22 07:49:12 +01:00
Holger Hans Peter Freyther
045cc22bae
osmocore: Add a direct l4h to the union of l4h pointers
...
This is needed for the BSSAP code of the On Waves/BSC master branch
2010-03-22 03:11:10 +01:00
Harald Welte
cbc8062ef8
fix compiler warnings (itsme <itsme@xs4all.nl>)
...
* added several 'const' for strings.
* added 'extern' to declarations of rsl_rlm_cause_strs
2010-03-22 08:28:44 +08:00
Holger Hans Peter Freyther
6214b92f81
gsm48.h: Make the array extern to a silence a linker warning
...
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld:
Warning: size of symbol `rsl_rlm_cause_strs' changed from 8 in ./openbsc/src/libbsc.a(abis_rsl.o)
to 120 in /usr/local/lib/libosmocore.so
spotted and sent to the list by Andreas
2010-03-11 14:42:41 +01:00
Harald Welte
61b4232c63
update README with information about nanoBTS and libosmocore
2010-03-09 12:38:31 +01:00
Holger Hans Peter Freyther
a49951fed7
write_queue: Make the bfd cb public so it can be used in a different context
...
* I'm doing a nonblocking connect and for this I need to select
on writable and the first thing I need to do is to check the
SOL_SOCKET SO_ERROR state. I realize this by setting a different
cb on the embedded bfd during setup and then go back to the real
implementation.
2010-03-08 14:32:39 +01:00
Harald Welte
55c8f35e53
move large parts of mncc.h and gsm48 encode/decode into libosmocore
2010-03-07 23:40:35 +01:00
Harald Welte
1e9086684f
import GSM04.08 encode/decode functions and mncc.h from openbsc
2010-03-07 23:39:54 +01:00
Harald Welte
f8b2ba7dc8
add option --disable-tests to disable building of test binaries
2010-03-07 20:33:59 +01:00
Harald Welte
cbb29f7c94
add --disable-talloc option to build without talloc support
2010-03-07 20:24:30 +01:00
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
fbda4e1fb0
decleare gsm_bts_model_register()
2010-03-04 11:04:52 +01:00
Harald Welte
afedeabd91
move some gsm48 utility functions to libosmocore
...
* gsm48_generate_lai() gsm48_generate_mid_from_tmsi() gsm48_generate_mid_from_imsi()
* gsm48_cc_msg_names[]
2010-03-04 10:55:40 +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
fbc5ca080b
move gsm_band_name() and gsm_band_parse() to libosmocore
2010-03-04 10:39:50 +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
3c9c5f941d
rsl: use the rsl_rll_push_l3() and rsl_rll_simple() functions of libosmocore
2010-03-04 10:33:10 +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
474d19f5c0
remove gsm04.08 utility code that has been moved to libosmocore
2010-03-02 23:18:30 +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