path: root/openbsc/src/libmsc/gsm_04_08.c
diff options
authorNeels Hofmeyr <>2016-05-30 21:44:32 +0200
committerNeels Hofmeyr <>2016-11-12 15:50:37 +0100
commite77b1837869e5482bab28d921b4a64574b19de69 (patch)
treeb6d0421c45491d46a9685e62f3c905ff68958e88 /openbsc/src/libmsc/gsm_04_08.c
parentfec0a31f41b2996f5756835273c4e8d019bb924d (diff)
cut off libbsc paging, pending paging in libmsc
Temporarily disable all paging to be able to link libmsc without libbsc. Skip the paging part of channel_test because the paging is now disabled. In osmo-nitb, paging is done on BSC level and MSC level "at the same time". When the new CSCN is fully operational, paging will be controlled separately on the MSC level, and the BSC (RNC) level will be instructed over an IuCS or A-interface to negotiate paging with the MS (UE). This MSC level paging does not yet exist and will be added in subsequent commits. Change-Id: I8b6920ddc54fc3f2876a59664e6722666d8a8a4a
Diffstat (limited to 'openbsc/src/libmsc/gsm_04_08.c')
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 813daa4b3..3a7196198 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -1178,7 +1178,6 @@ static int gsm48_rx_rr_pag_resp(struct gsm_subscriber_connection *conn, struct m
uint8_t mi_type;
char mi_string[GSM48_MI_SIZE];
struct gsm_subscriber *subscr = NULL;
- int rc = 0;
resp = (struct gsm48_pag_resp *) &gh->data[0];
gsm48_paging_extract_mi(resp, msgb_l3len(msg) - sizeof(*gh),
@@ -1213,8 +1212,14 @@ static int gsm48_rx_rr_pag_resp(struct gsm_subscriber_connection *conn, struct m
/* We received a paging */
conn->expire_timer_stopped = 1;
+#if 0
+ TODO implement paging response in libmsc!
+ Excluding this to be able to link without libbsc:
rc = gsm48_handle_paging_resp(conn, msg, subscr);
return rc;
+ return -ENOTSUP;
static int gsm48_rx_rr_app_info(struct gsm_subscriber_connection *conn, struct msgb *msg)