Daniel Willmann
4bcc1c37b8
Add documentation for the control interface protocol
2011-07-13 14:06:18 +02:00
Harald Welte
7d33bdf962
osmo-bsc: Some more logging (LOGL_INFO).
2011-07-12 00:05:11 +02:00
Harald Welte
75413c4928
osmo-bsc: Add missing return statement causing CIPH MODE REJ
...
due to a missing return statement, we ran into the 'reject' case
of bssmap_handle_cipher_mode(). Due to another bug in libosmocore,
the reject message was corrupted (fixed in libosmocore commit
0c83670a595a278b7d1fb7b21b2eacab84d3c031)
2011-07-12 00:03:43 +02:00
Harald Welte
376f782e28
osmo_bsc_msc: use DMI consistnetly for debugging packet payload
2011-07-11 18:19:33 +02:00
Harald Welte
cccd301499
bsc/msc bssap: some logging clean-up
...
* the DEBUG level will print hex-dumps of messages
* all other messages are INFO or higher
* print human-readable name of BSSMAP message types
2011-07-11 18:18:35 +02:00
Harald Welte
9f32a8a3c1
use the recently introduced gsm0808_bssmap_name() of libosmogsm
...
This allows human-readable printing of message types on the A interface.
2011-07-11 17:56:50 +02:00
Harald Welte
a0d9db99cb
add sample osmo-bsc configuration file
2011-07-01 21:33:46 +02:00
Holger Hans Peter Freyther
3d331c0062
misc: Link to libosmogsm after adding our static libraries
...
GCC 4.6.0 and LD.BFD 2.21 on ARM somehow fail to resolve
the dbi symbols when we have the library in front of the
static libraries, move them to the back.
Without this patch the tlv_def_patch symbol and the
gsm48_construct_ra.
2011-06-30 21:41:08 +02:00
Holger Hans Peter Freyther
f5bbb1eb71
misc: Link to -ldbi after adding our static libraries
...
GCC 4.6.0 and LD.BFD 2.21 on ARM somehow fail to resolve
the dbi symbols when we have the library in front of the
static libraries, move them to the back.
2011-06-30 20:32:33 +02:00
Holger Hans Peter Freyther
784ca9c179
bsc: Require osmo-sccp 0.0.6 and update the API
2011-06-30 20:30:39 +02:00
Harald Welte
b7849987e5
properly reset the MO state of all MO on Abis disconnect
...
When we loose the A-bis link, we should properly re-set the
administrative, operational and availability state of all MOs
2011-06-29 16:49:03 +02:00
Harald Welte
c7921c9205
add lchan->meas for BTS side code
...
TODO: move all of the BTS side per-lchan data behind a 'void *role'
pointer like 'struct gsm_bts'
2011-06-29 10:39:27 +02:00
Harald Welte
e86b3ebf2e
Revert "HACK: disable NM_ATTR for CELL GLOBAL ID for sysmo-bts"
...
This reverts commit 8b65ab9d91
, which
should never have been committed to master. In fact, it is not even
needed anymore with recent osmo-bts code.
2011-06-27 21:15:59 +02:00
Harald Welte
23cf666359
update debug_test with logging system changes
...
Thanks to Konrad Meier
2011-06-27 14:23:40 +02:00
Harald Welte
e31816c83b
make channel_test build again
2011-06-26 14:55:06 +02:00
Harald Welte
c90499bb28
move gsm0502_calc_paging_group() to libosmocore
2011-06-26 14:54:55 +02:00
Harald Welte
1cf43ece12
generalize function for calculation of the paging group
2011-06-26 14:43:46 +02:00
Harald Welte
bc82f92a8d
move gsm 05.02 related calculations into libosmocore
2011-06-26 14:41:58 +02:00
Harald Welte
457a081379
use new gsm48_number_of_paging_subchannels from libosmocore
2011-06-26 14:21:43 +02:00
Harald Welte
2c1ae479ab
system information related bits for osmo-bts
2011-06-26 14:13:37 +02:00
Harald Welte
1a07e21eaf
osmo-bsc: bring in sync with recent NM MO changes
2011-06-25 21:10:23 +02:00
Harald Welte
f6093a4d0e
move {ts,lchan}2chan_nr() functions to gsm_data_shared.c
...
... this way osmo-bts can use them
2011-06-25 10:02:33 +02:00
Harald Welte
8b65ab9d91
HACK: disable NM_ATTR for CELL GLOBAL ID for sysmo-bts
...
Do not commit this to master. It disables a non-standard IE in the BTS
attributes.
2011-06-09 11:03:49 +02:00
Harald Welte
d134cc7d9d
add back-pointer for l1 as part of BTS role.
2011-06-07 00:12:53 +02:00
Harald Welte
df680288a9
initialize NM state for all objects to known state
2011-06-07 00:12:34 +02:00
Harald Welte
850dc6bbfa
gsm_data_shared: make sure to initialzie the MO obj_class/obj_inst
2011-06-06 20:31:15 +02:00
Harald Welte
32bc11698a
add mo->bts member so we can discover which BTS a MO belong sto
2011-06-06 18:58:48 +02:00
Harald Welte
978714d752
move objclass2{nmstate,mo,}obj() to gsm_data_shared.c (and prefix)
2011-06-06 18:31:20 +02:00
Harald Welte
28307643d7
gsm_data: don't free a bts that's not even allocated yet
2011-06-06 17:52:56 +02:00
Harald Welte
5ac0179f47
make sure to include gsm_data.h, not gsm_data_shared.h
2011-06-06 17:52:38 +02:00
Harald Welte
3300c01e82
split gsm_data.c in gsm_data_shared.c and gsm_data.c
...
This facilitates the use of gsm_data.c from osmo-bts
2011-06-05 13:31:33 +02:00
Harald Welte
472e7e937c
abis_nm.h: Use osmocom/core/abis_nm.h
2011-06-05 11:24:08 +02:00
Harald Welte
135a648ad7
Introduce per-ts TSC
...
This allows us to configure a TSC for each timeslot, not just one globally for
the entire BTS.
2011-06-03 14:03:27 +02:00
Harald Welte
d64c0bca17
gsm_data_shared: introduce 'struct gsm_abis_mo'
...
... as a common wrapper around nm_attr and nm_state
2011-06-03 14:03:27 +02:00
Harald Welte
6be350c045
split gsm_data.h in gsm_data_shared.h and gsm_data.h
...
gsm_data.h is the part that contains BSC-specific data, whereas
gsm_data_shared.h is now shareda with osmo-bts
2011-06-03 14:03:27 +02:00
Harald Welte
b96be39d47
gsm_data: Use osmocom/gsm/sysinfo.h
...
and include rest_octets.h only in case of BSC
2011-06-03 14:03:27 +02:00
Harald Welte
bb6034e2d8
add HSL femtocell openbsc.cfg example
2011-06-03 14:02:56 +02:00
Holger Hans Peter Freyther
9bdf5a9ef7
mgcp: Fix a typo in the function name
2011-06-02 19:04:22 +02:00
Holger Hans Peter Freyther
e36b487958
nat: Add VTY code to configure the SMSC rewriting
2011-06-01 20:47:01 +02:00
Holger Hans Peter Freyther
acc4031cf5
nat: Look into the TPDU/SMS-SUBMIT and use the TP-DestAddress for matches
...
Match the used SMSC and the destination of the SMS and change
the SMSC address if both are matched.
2011-06-01 20:45:12 +02:00
Holger Hans Peter Freyther
9c20571280
nat: Patch the destination SMS address of a message
...
Use the same filtering infrasturcture to patch the SMSC
address in a CP-DATA/RP-DATA message. Add a very simple
testcase for this code.
2011-06-01 20:45:03 +02:00
Holger Hans Peter Freyther
2e2ff34021
nat: Move the common new message generation code into the base method
2011-06-01 20:41:46 +02:00
Holger Hans Peter Freyther
df8e6e9e4a
nat: Prepare to patch more than the CC Setup message
...
Refactor the code to allow having different handlers. The goal
is to be able to patch some SMS messages too.
2011-06-01 20:41:30 +02:00
Holger Hans Peter Freyther
ad75eababc
nat: Allow to have a regexp to match the MSISDN
...
The idea that MCC and MNC is enough to classify a subscriber
turns out to be wrong. Certain operatos license a number range
of IMSIs to others. When we see a '^' in the MCC field we treat
it as a regexp. The code now turns the MCC/MNC into a regexp
for the IMSI. It is not using extended POSIX regexp to match
the behavior of the access list.
2011-06-01 20:40:35 +02:00
Holger Hans Peter Freyther
384ef09920
nat: Add a test utility for the number rewriting
2011-05-31 00:37:48 +02:00
Holger Hans Peter Freyther
1d54c40dd6
nat: Allow to rewrite any non international number
...
Remove the arteficial limitation of the number format
of an unknown number.
2011-05-31 00:37:48 +02:00
Holger Hans Peter Freyther
20102b0c82
nat: Refactor the number patching code into a new method
...
Separate the code to patch the code and the code to find a
new number based on the old number. This will allow to add
multiple targets for number changing.
2011-05-31 00:37:47 +02:00
Holger Hans Peter Freyther
f2c1f25612
abis: Get the structs and values from libosmocore
...
Remove the forward declarations for functions and structs
that have been moved to libosmocore.
2011-05-31 00:37:47 +02:00
Holger Hans Peter Freyther
4e318f5938
misc: Provide a uninstall-hook to remove the extra files
...
Fix make distcheck to uninstall files that were installed
by our custom hook.
This is fixing:
ERROR: files left after uninstall:
./share/doc/openbsc/examples/osmo-bsc_mgcp/mgcp.cfg
./share/doc/openbsc/examples/osmo-nitb/nanobts/openbsc.cfg
./share/doc/openbsc/examples/osmo-nitb/nanobts/openbsc-multitrx.cfg
./share/doc/openbsc/examples/osmo-nitb/bs11/openbsc-1bts-2trx.cfg
./share/doc/openbsc/examples/osmo-nitb/bs11/openbsc.cfg
./share/doc/openbsc/examples/osmo-nitb/bs11/openbsc-1bts-2trx-hopping.cfg
./share/doc/openbsc/examples/osmo-nitb/bs11/openbsc-2bts-2trx.cfg
./share/doc/openbsc/examples/osmo-nitb/rbs2308/openbsc.cfg
2011-05-31 00:37:47 +02:00
Harald Welte
4e4fa4ce9b
move some more abis_nm related code into libosmocore
...
This syncs openbsc.git with libosmocore.git commit rev
11c7193ad8ceb4f3898799dc44b700b8b93a59b8
2011-05-24 17:24:44 +02:00