aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2023-05-31 12:02:22 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2023-07-21 13:20:05 +0200
commit65c8f0de946fb61b059bee45abae1372430ddf8b (patch)
tree251efbc52b7f4dd62ab7e6df04349c941f58b288 /tests
parent98e5d6f7c6934aafbf0c290b89d7ee8df8eec182 (diff)
ASCI: Retrieve NCH position from System Information 1
When BCCH INFO is received via RSL message, the rest octet of the System Information 1 message is parsed to get the position of the NCH. The position is stored in the gsm_bts structure. If the position is not present int the rest octet, the stored value is set to negative. Change-Id: I799a27179d478d4ff577d8bc47ae524834851e85 Related: OS#5781
Diffstat (limited to 'tests')
-rw-r--r--tests/paging/paging_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/paging/paging_test.c b/tests/paging/paging_test.c
index 05013d09..26f5728a 100644
--- a/tests/paging/paging_test.c
+++ b/tests/paging/paging_test.c
@@ -134,6 +134,7 @@ static struct gsm_bts_trx *test_is_ccch_for_agch_setup(uint8_t bs_ag_blks_res)
si3.control_channel_desc.bs_ag_blks_res = bs_ag_blks_res;
trx.bts = &bts;
bts.si_valid |= 0x8;
+ bts.asci.pos_nch = -1;
memcpy(&bts.si_buf[SYSINFO_TYPE_3][0], &si3, sizeof(si3));
return &trx;
}