diff options
author | Harald Welte <laforge@osmocom.org> | 2024-04-04 02:46:45 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2024-04-13 16:26:05 +0000 |
commit | 7a9e79645c28c45d0ffa82f72bcb541f663814a6 (patch) | |
tree | 0e24779e43b8e73a9b4e3a54e0e5d9090f535073 | |
parent | f95ab2d0a06a2b07d9d4e9221cea17911125a694 (diff) |
hnbgw: Use iddentical LAC/RAC/SAC values
Let's not use different values on RANAP and HNBAP, but derive on from
the other.
Change-Id: If4d82dc350c072e3528097d850304514adf65340
-rw-r--r-- | hnbgw/HNBGW_Tests.ttcn | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn index 97c56447..69ee7b3a 100644 --- a/hnbgw/HNBGW_Tests.ttcn +++ b/hnbgw/HNBGW_Tests.ttcn @@ -895,11 +895,11 @@ function f_hnbap_hnb_register(integer hnb_idx := 0, integer cell_id := 0, boolea timer T := 2.0; HNBAP[hnb_idx].send(ts_HNBAP_HNBRegisterRequest(char2oct("TTCN3-HNB-" & int2str(hnb_idx)), - '00F110'O, + hex2oct(g_hnb_cfg[hnb_idx].lai.mcc_mnc), int2bit(1 + cell_id, 28), - int2oct(2, 2), - int2oct(3, 1), - int2oct(4, 2))); + int2oct(g_hnb_cfg[hnb_idx].lai.lac, 2), + int2oct(0, 1), + int2oct(g_hnb_cfg[hnb_idx].sac, 2))); T.start; alt { @@ -1531,7 +1531,8 @@ testcase TC_rab_release_abnormal() runs on test_CT { g_num_hnbs := 1; f_init(); - vc_conn := f_start_handler_with_pars(refers(f_tc_rab_release), t_pars(8, rab_rel_cause := ts_RanapCause_radio_conn_lost)); + vc_conn := f_start_handler_with_pars(refers(f_tc_rab_release), + t_pars(8, rab_rel_cause := ts_RanapCause_radio_conn_lost)); vc_conn.done; f_shutdown_helper(); |