Harald Welte
de4599cc35
libgb: make sure all BSSGP functions have bssgp_ prefix
...
We change the minority of functions employing the gprs_bssgp_ prefix to
match with the majority without gprs_ in front.
2012-06-17 13:05:48 +08:00
Harald Welte
8eda90d950
libgb/gprs: don't use log_info from libcommon anymore
2012-06-17 12:58:46 +08:00
Harald Welte
f543036719
libgb: prefix all NS related functions with gprs_
2012-06-17 12:38:07 +08:00
Harald Welte
15a36434e9
libgb: don't call directly into GMM / LLC layer
...
Instead of direct function calls to individual functions, we now
generate primitives (osmo_prim) and send them to one
application-provided function "bssgp_prim_cb()"
2012-06-17 12:17:22 +08:00
Harald Welte
8ef54d112c
libgb: remove dependency of BSSGP to include sgsn/gmm internal structs
2012-06-17 09:31:16 +08:00
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
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
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
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
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
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