summaryrefslogtreecommitdiffstats
path: root/openbsc/tests/libiudummy
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-02 02:37:39 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-16 15:32:33 +0100
commite48c9d13ae37545fecbd9ddde5f326c12ebb9f93 (patch)
tree9154286a8a3f558386a6792dc11790ed94022507 /openbsc/tests/libiudummy
parent443a180a81ec7c592a5f754a7aec78db497f940f (diff)
Make the code work so that the msc_vlr tests pass
Diffstat (limited to 'openbsc/tests/libiudummy')
-rw-r--r--openbsc/tests/libiudummy/iudummy.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/openbsc/tests/libiudummy/iudummy.c b/openbsc/tests/libiudummy/iudummy.c
index d2d0d5930..9dae94116 100644
--- a/openbsc/tests/libiudummy/iudummy.c
+++ b/openbsc/tests/libiudummy/iudummy.c
@@ -8,6 +8,7 @@
struct msgb;
struct ue_conn_ctx;
struct gsm_auth_tuple;
+struct RANAP_Cause;
int iu_tx(struct msgb *msg, uint8_t sapi)
{
@@ -26,7 +27,7 @@ int iu_tx_sec_mode_cmd(struct ue_conn_ctx *uectx, struct gsm_auth_tuple *tp,
int iu_page_cs(const char *imsi, const uint32_t *tmsi, uint16_t lac)
{
LOGP(DLGLOBAL, LOGL_INFO, "iu_page_cs() dummy called, NOT paging\n");
- return 0;
+ return 23;
}
int iu_page_ps(const char *imsi, const uint32_t *ptmsi, uint16_t lac, uint8_t rac)
@@ -54,3 +55,9 @@ int iu_tx_common_id(struct ue_conn_ctx *uectx, const char *imsi)
LOGP(DLGLOBAL, LOGL_INFO, "iu_tx_common_id() dummy called, NOT sending CommonID\n");
return 0;
}
+
+int iu_tx_release(struct ue_conn_ctx *ctx, const struct RANAP_Cause *cause)
+{
+ LOGP(DLGLOBAL, LOGL_INFO, "iu_tx_release() dummy called, NOT sending Release\n");
+ return 0;
+}