Holger Hans Peter Freyther
f5284ae1cf
ipa: Reduce the throttling of the IPA msges
...
This code used to be a sleep, it was changed to be a timer by Andreas
but this timer does not seem to have any use. When doing the sw load
this timer is increasing the upload time dramatically, reduce it to
make it work faster.
2010-03-24 08:33:22 +01:00
Holger Hans Peter Freyther
d512e454b3
Correct the company name. It should be On-Waves (ehf)
2010-03-24 06:16:24 +01:00
Holger Hans Peter Freyther
22481bf76d
Merge remote branch 'origin/master' into on-waves/bsc-master
...
* Move to libosmocore
* Move to new debugging architecture
* Register the BTS types
* Has only been compile tested
Conflicts:
openbsc/include/openbsc/Makefile.am
openbsc/include/openbsc/gsm_data.h
openbsc/include/openbsc/ipaccess.h
openbsc/include/openbsc/mgcp.h
openbsc/include/openbsc/msgb.h
openbsc/include/openbsc/tlv.h
openbsc/src/Makefile.am
openbsc/src/abis_rsl.c
openbsc/src/bsc_init.c
openbsc/src/bsc_mgcp.c
openbsc/src/chan_alloc.c
openbsc/src/debug.c
openbsc/src/gsm_subscriber_base.c
openbsc/src/msgb.c
openbsc/src/rest_octets.c
openbsc/src/sccp/sccp.c
openbsc/src/vty/command.c
openbsc/src/vty_interface.c
openbsc/tests/Makefile.am
2010-03-24 06:16:04 +01:00
Holger Hans Peter Freyther
ff9d8b42e6
ipa: Make it possible to specify -w and -f in any order
...
Currently one has to put -w in front of -f to really write the
firmware file to disk. Change the config handling to first take
all parameters and then execute on them. This means -f can now
be used with any other parameter.
2010-03-24 05:27:58 +01:00
Holger Hans Peter Freyther
dc6af631e5
ipa: Use two defines instead of magic numbers
...
We spearate OML/RSL by putting a magic number into the priv_nr. Use
a define instead of ordinary integers.
2010-03-24 05:07:50 +01:00
Holger Hans Peter Freyther
354ef81d80
ipaccess: Handle the case of replacing RSL connections
...
Fix a infinite loop when establishing a new RSL connection and the
BSC is identifying itself with a unit id of an already established
RSL connection. The infinite loops happens because we are corrupting
the the linuxlist inside the bsc_fd when registering the bfd twice.
Due the lack of proper authentication favor the new RSL connection
as the real one and close the previous one.
2010-03-24 04:44:50 +01:00
Holger Hans Peter Freyther
b2eb83fa95
Create a dummy m4 directory to make autoreconf --install --force work
...
Even when removing AC_CONFIG_MACRO_DIR aclocal insisted that it
needs to have a m4 directory. Make it happy by providing one. As git
is not tracking directories I needed to add a dummy file.
2010-03-24 02:55:33 +01:00
Harald Welte
7f0f8b92ce
depend on libosmocore 0.1.0
...
this creates a hard dependency to a certain base version of the library
2010-03-23 00:38:32 +08:00
Harald Welte
bb60e225a1
Merge commit '4cd3d8a2c7982ba11d05d2500b1bfca44f440d1e'
2010-03-23 00:37:52 +08:00
Harald Welte
4cd3d8a2c7
add git-version-gen magic to automatically generate package version
2010-03-23 00:30:19 +08:00
Harald Welte
505117b778
bump version to 0.1.0
2010-03-23 00:23:23 +08:00
Harald Welte
5a29c7fa89
automatically include program version and print it from vty and --version
2010-03-23 00:09:32 +08:00
Harald Welte
351ec2a178
Add 'libosmocore/' from commit '045cc22baeb7f12dcb0022b79a1984d86e922870'
...
git-subtree-dir: libosmocore
git-subtree-mainline: e164d29e7f
git-subtree-split: 045cc22bae
openbsc/0.9.0
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