diff options
author | Harald Welte <laforge@osmocom.org> | 2020-11-12 19:48:31 +0100 |
---|---|---|
committer | daniel <dwillmann@sysmocom.de> | 2020-11-16 19:13:26 +0000 |
commit | 4d112c926c9981517b26a320ab33e1f3460d4f2e (patch) | |
tree | 597985c40174633ab5f795d1a883c1be6649a639 /fr | |
parent | e582f20aa3018ff133d863807bdc3ffbb255e62c (diff) |
BSSGP_Emulation: Allow a "CreateCb" to handle unknown inbound TLLI
The existing BSSGP Code assumed that the TLLIs were always known "a
priori" by the test case. With the newly-introduced create_cb,
the user can provide a function to handle any incoming messages for an
unknown TLLL. The default handler behaves like before: fail +
terminate.
Change-Id: Ice0e145f5a6518ff79547dd851042b7965f38e00
Diffstat (limited to 'fr')
-rw-r--r-- | fr/FR_Tests.ttcn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fr/FR_Tests.ttcn b/fr/FR_Tests.ttcn index b220bb96..9f9b70e0 100644 --- a/fr/FR_Tests.ttcn +++ b/fr/FR_Tests.ttcn @@ -66,7 +66,8 @@ function f_gen_bvc(integer base, integer idx) return BssgpBvcConfig { }, cell_id := base + 600 + idx }, - depth := BSSGP_DECODE_DEPTH_LLC + depth := BSSGP_DECODE_DEPTH_LLC, + create_cb := refers(BSSGP_Emulation.DefaultCreateCallback) }; return bvc; } |