aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-07-07 20:00:53 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-07-21 21:55:51 +0700
commitb777c0f3ecb8b770f032db449e947f0f9731de11 (patch)
treeba1e306cae248c4171b3b2e98e63904b4e3f9770 /tests
parent9649a42d5a3c24a21c14bb9f54e7c34a398da7b1 (diff)
Move Access Burst link quality handling to L1SAP
Diffstat (limited to 'tests')
-rw-r--r--tests/handover/handover_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c
index a805554e..c9799af7 100644
--- a/tests/handover/handover_test.c
+++ b/tests/handover/handover_test.c
@@ -118,6 +118,8 @@ int main(int argc, char **argv)
/* send access burst with wrong ref */
memset(&nl1sap, 0, sizeof(nl1sap));
osmo_prim_init(&nl1sap.oph, SAP_GSM_PH, PRIM_PH_RACH, PRIM_OP_INDICATION, NULL);
+ /* Report the minimum acceptable value to pass L1SAP checks */
+ nl1sap.u.rach_ind.lqual_cb = bts->min_qual_rach;
nl1sap.u.rach_ind.chan_nr = 0x0a;
nl1sap.u.rach_ind.ra = 42;
l1sap_up(trx, &nl1sap);