Harald Welte
cca4963c58
libgb: Remove dependency to openbsc/debug.h
2012-06-16 17:53:38 +08:00
Harald Welte
4f5883bc6e
libgb: remove dependencies to openbsc/vty.h and openbsc/gsm_data.h
...
Rather than using openbsc internal data/functions, we now use only
internal and libosmocore-provided ones.
2012-06-16 16:59:50 +08:00
Harald Welte
4fcdd76073
libgb: Use library SS_L_NS instead lf local SS_NS
...
which removes some further dependencies of libgb to openbsc internal
code and data.
2012-06-16 16:40:42 +08:00
Harald Welte
605ac5d1e7
libgb: move GPRS specific msgb CB definitions to separate header
2012-06-16 16:09:52 +08:00
Harald Welte
73952e3ab4
split libgb into a separate library for outside use
...
This also removes the dependency to osmo_sock() inside libcommon and
replaces it with osmo_sock_* from libosmocore
2012-06-16 15:14:00 +08:00
Holger Hans Peter Freyther
1e57eb6112
misc: Deal with smatch warnings about the bitfields
...
Use unsigned ints for the bitfield.
2012-03-02 14:14:33 +01:00
Holger Hans Peter Freyther
52746469ff
misc: Use msgb_free for freeing the messages
2012-03-01 20:30:32 +01:00
Holger Hans Peter Freyther
58e6d96d68
abis: gsm_data_shared.h includes libosmo-abis header, add abis to cflags
...
gsm_data_shared.h includes e1_input.h of libosmo-abis, add the
LIBOSMOABIS_CFLAGS to Makefile.am, remove AM_LDFLAGS at the same
time as we only build .a archives.
2012-01-15 17:52:02 +01:00
Alexander Huemer
322f60aeb6
fix two mistakes in AM_LDFLAGS
2011-11-25 09:43:45 +01:00
Harald Welte
85fc31416b
BSSGP: Add functions required for true BSS-side BSSGP implementation
...
The BSS-side of BSSGP requires quite a number of additional functions
for sending unidirectional messages that a SGSN never sends.
This is a first step into completing the BSSGP implementation and making
it ready to be used from osmo-bts and other BTS-side GPRS
implementations.
2011-11-25 08:58:40 +01:00
Harald Welte
eb3ccf6489
BSSGP: add more doxygen comments
2011-11-25 08:15:42 +01:00
Harald Welte
2861007a40
GPRS: add new bssgp_create_cell_id(), opposite of bssgp_parse_cell_id()
2011-11-24 21:33:16 +01:00
Harald Welte
a9f23c8291
GPRS NS: Add some doxygen API documentation
2011-11-24 21:33:16 +01:00
Holger Hans Peter Freyther
887934e28d
gb_proxy: Make sure each parameter has some sort of documentation
2011-11-06 21:41:51 +01:00
Harald Welte
086fe32234
bssgp: make comments more explicit, include 'Rx' in received messages
2011-08-19 16:45:19 +02:00
Harald Welte
cbf443ca72
Merge branch 'master' of git.osmocom.org:openbsc
2011-08-19 16:44:00 +02:00
Harald Welte
bf21a4fef5
Merge branch 'master' of git.osmocom.org:openbsc
2011-07-29 11:44:28 +02:00
Holger Hans Peter Freyther
c8f257bdf3
Merge branch 'daniel/controlif'
2011-07-19 20:08:07 +02:00
Harald Welte
d83d1b6a03
gprs_bssgp_util.c: orig_msg == NULL is not supported
...
we need it for deriving the NSEI anyway.
Detected by Smatch
2011-07-16 13:45:10 +02:00
Harald Welte
e43f06d14c
Merge branch 'daniel_ctrlif'
2011-07-13 14:52:51 +02:00
Pablo Neira Ayuso
2b88a2a957
src: use namespace prefix osmo_signal*
...
Summary of changes:
s/signal_cbfn/osmo_signal_cbfn/g
s/register_signal_handler/osmo_signal_register_handler/g
s/unregister_signal_handler/osmo_signal_unregister_handler/g
s/dispatch_signal/osmo_signal_dispatch/g
2011-05-06 12:12:31 +02:00
Pablo Neira Ayuso
bfadfb771d
src: use namespace prefix osmo_fd* and osmo_select*
...
Summary of changes:
s/struct bsc_fd/struct osmo_fd/g
s/bsc_register_fd/osmo_fd_register/g
s/bsc_unregister_fd/osmo_fd_unregister/g
s/bsc_select_main/osmo_select_main/g
2011-05-06 12:11:23 +02:00
Pablo Neira Ayuso
2b15952a37
src: use namespace prefix osmo_timer* for timer functions
...
Summary of changes:
s/struct timer_list/struct osmo_timer_list/g
s/bsc_add_timer/osmo_timer_add/g
s/bsc_schedule_timer/osmo_timer_schedule/g
s/bsc_del_timer/osmo_timer_del/g
s/bsc_timer_pending/osmo_timer_pending/g
s/bsc_nearest_timer/osmo_timers_nearest/g
s/bsc_prepare_timers/osmo_timers_prepare/g
s/bsc_update_timers/osmo_timers_update/g
s/bsc_timer_check/osmo_timers_check/g
2011-05-06 12:11:06 +02:00
Holger Hans Peter Freyther
128e25cc27
Merge branch 'pablo/cleanups'
2011-04-07 23:28:43 +02:00
Pablo Neira Ayuso
c0d04310f3
libcommon: socket: extend make_sock() prototype
...
This patch extends the make_sock() prototype so you can fully set
the fields priv_nr and data of the bsc_fd structure.
This is the first step to get rid of the internal make_sock()
implementation that ipaccess-proxy uses.
This patch includes a minor cleanup to pass INADDR_ANY instead
of zero, if you do not want to bind the socket to one specific
address.
2011-04-05 18:33:24 +02:00
Pablo Neira Ayuso
167281ec50
src: include new file osmocom/vty/misc.h for vty_out_rate_ctr_group()
...
This uses the new include file for vty_out_rate_ctr_group() which
available in libosmocore.
2011-03-28 20:01:03 +02:00
Pablo Neira Ayuso
ff663237b5
src: use new library libosmogsm and new path to headers in libosmocore
...
libosmogsm is a new library that is distributed in the libosmocore.
Now, openbsc depends on it. This patch gets openbsc with this
change.
This patch also rewrites all include path to the new
osmocom/[gsm|core]
Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-03-23 18:17:56 +01:00
Harald Welte
85e109711d
prefix sub-directories containing libraries with 'lib'
...
... and make sure tests work again after restructuring
2011-03-04 13:23:09 +01:00
Harald Welte
393becc8b8
Move 'Gb' protocol stack into its own src/gb subdirectory
2011-03-03 23:45:28 +01:00
Harald Welte
43ae94efcb
LOGGING: make sure to make the 'logging filter' compatible with vty log cfg
...
Recent libosmocore introdues a way how log targets can be configured from
the VTY.
This commit makes the 'log filter (imsi|nsvc|bvc)' compatible with it.
2011-02-18 21:10:05 +01:00
Harald Welte
c081b2b037
Merge branch 'rbs2000'
2011-02-13 15:50:43 +01:00
Harald Welte
e4cbb3f0f2
License change: We are now AGPLv3+ instead of GPLv2+
...
The reason for this is quite simple: We want to make sure anyone
running a customized version of OpenBSC to operate a network will
have to release all custom modifiations to the source code.
2011-01-01 15:39:34 +01:00
Holger Hans Peter Freyther
467cef4193
Merge branch 'zecke/sms-queue'
2010-12-26 09:42:19 +01:00
Holger Hans Peter Freyther
6202282bed
Merge branch 'zecke/subscr'
2010-12-24 21:43:14 +01:00
Holger Hans Peter Freyther
d539a2911a
Merge branch 'zecke/e1_speed'
2010-12-21 13:54:45 +01:00
Dieter Spaar
d2b13fceed
Add mandatory routeing area IE to SUSPEND-NACK
2010-12-12 15:46:00 +01:00
Holger Hans Peter Freyther
654f043ef7
Merge branch 'zecke/osmo-bsc'
2010-11-15 20:07:10 +01:00
Holger Hans Peter Freyther
bffdda462f
Merge branch 'zecke/mgcp-transcoder'
2010-11-02 19:41:42 +01:00
Holger Hans Peter Freyther
176931c3c9
Merge branch 'zecke/number-rewrite'
2010-10-27 12:41:19 +02:00
Holger Hans Peter Freyther
56425184b2
Merge branch 'zecke/ussd-side-channel'
2010-10-27 12:37:42 +02:00
Holger Hans Peter Freyther
32930b6f85
Merge branch 'zecke/ussd-side-channel'
2010-10-25 21:08:37 +02:00
Holger Hans Peter Freyther
12ca0301c9
Merge branch 'zecke/mgcp-transcoder'
2010-09-20 02:59:25 +08:00
Holger Hans Peter Freyther
5a33ea9d24
Merge branch 'zecke/imsi-filter'
2010-09-15 19:00:53 +08:00
Holger Hans Peter Freyther
966e595692
Merge branch 'on-waves/nat-alloc-bsc-endpoints'
2010-09-01 19:10:17 +08:00
Harald Welte
f47df64a3b
[GPRS NS] Fix memory leak in gprs_ns_sendmsg() error path
...
When gprs_ns_sendmsg() succeeds in sending the message, we free()d the
msgb after transmitting it on the socket. However, if the NS-VC is
blocked or some other error condition exists, we returned an error
code but didn't free the msgb.
This resulted in an error leak which is now being addressed.
2010-08-09 21:15:40 +08:00
Holger Hans Peter Freyther
7bb0eb9ef5
Merge branch 'on-waves/mgcp'
2010-08-03 03:05:33 +08:00
Harald Welte
b73631455b
[gprs] BSSGP: Fix null pointer dereference
...
Zecke has found this using "make CC="clang --analyze"
2010-07-23 22:00:45 +02:00
Holger Hans Peter Freyther
a1726e9f6b
Merge branch 'on-waves/mgcp'
2010-07-23 18:59:52 +08:00
Holger Hans Peter Freyther
0bfe1eb569
Merge branch 'on-waves/sccp'
2010-07-23 18:42:27 +08:00
Harald Welte
0e43007f78
[SGSN] BSSGP: Print TLLI as hex value like everwhere else
2010-06-30 09:01:35 +02:00