aboutsummaryrefslogtreecommitdiffstats
path: root/src/luop.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-02-20 17:22:56 +0100
committerMax <msuraev@sysmocom.de>2017-03-06 13:58:04 +0100
commit9cacb6f74b73f90d79aa53f707124cceee19f8af (patch)
tree2a990d86bc53fffaf25f1d5a9cbe668515f53c43 /src/luop.c
parent372868baa37010625eb66f3c03677cac743cec5b (diff)
CTRL: add enable/disable packet service cmds
Add commands to enable/disable Packet Service for a given IMSI. Changes are synced to DB and propagated at runtime to SGSN (in case of disable command). Change-Id: I23163ce8667292443ed61cb15c928357dba4b4be Related: OS#1645
Diffstat (limited to 'src/luop.c')
-rw-r--r--src/luop.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/luop.c b/src/luop.c
index ecf31b4..937c02c 100644
--- a/src/luop.c
+++ b/src/luop.c
@@ -266,3 +266,16 @@ void lu_op_tx_insert_subscr_data(struct lu_operation *luop)
lu_op_statechg(luop, LU_S_ISD_SENT);
osmo_timer_schedule(&luop->timer, ISD_TIMEOUT_SECS, 0);
}
+
+/*! Transmit Delete Subscriber Data to new VLR/SGSN */
+void lu_op_tx_del_subscr_data(struct lu_operation *luop)
+{
+ struct osmo_gsup_message gsup;
+
+ fill_gsup_msg(&gsup, luop, OSMO_GSUP_MSGT_DELETE_DATA_REQUEST);
+
+ gsup.cn_domain = OSMO_GSUP_CN_DOMAIN_PS;
+
+ /* Send ISD to new VLR/SGSN */
+ _luop_tx_gsup(luop, &gsup);
+}