aboutsummaryrefslogtreecommitdiffstats
path: root/bts/BTS_Tests_SMSCB.ttcn
AgeCommit message (Collapse)AuthorFilesLines
2020-03-28BTS_Tests_SMSCB: use existing tr_PAG_REQ1 and t_MI_NoIdentityVadim Yanitskiy1-29/+3
Change-Id: I018e1d875c85fe3958fd184fe0d2b0f56d1e343a
2020-03-28library/GSM_RR_Types: do not duplicate Mobile Identity recordsVadim Yanitskiy1-6/+8
All the records related to Mobile Identity IE (see 3GPP TS 24.008, section 10.5.1.4) are defined in [1], so there is no real need to dumplicate them. Moreover, most of the related templates in library/L3_Templates.ttcn are based on these records. [1] titan.ProtocolModules.MobileL3_v13.4.0/src/MobileL3_CommonIE_Types.ttcn Change-Id: I27c2743c59db770d6f7e9447dc8c1f539b228ced
2019-09-06bts: Test if BTS forwards ETWS Primary Notification to PCUHarald Welte1-0/+30
All MS/UE must be notified of ETWS Primary Notifiations. Depending on their state, the notification goes different paths: * CS dedicated mode: BSC sends it as L3 message over LAPDm / DCCH * CS/PS idle mode: BTS sends paging messages on PCH * PS TBF active: PCU send Packet Application Info This tests the last of the three methods by checking that a ETWS Primary Notification sent on RSL to the BTS is received by the PCU socket. Change-Id: I2661df7f7d870a0ac1c89bb8a85df81644b00b0a Related: OS#4047, OS#4048 Depends: osmo-bts Ic0b3f38b400a0ca7e4089061ceb6548b0695faa6
2019-09-05bts: Add test for ETWS Primary Notification via P1 Rest OctetsHarald Welte1-0/+175
Change-Id: I247ea0f336e4ae9eecb1e8166f2326bdd2c299f4 Related: OS#4047
2019-06-02bts: don't require users to pass test case name to f_init()Harald Welte1-4/+4
The f_init() function itself can very well derive the identity using the built-in testcasename() function. There's no need asking users to do that - many of them don't do it in the first place :/ Change-Id: I17a61a84fba4df31b8baab1f631c8aa55d894dbd
2019-05-27Fix use of osmocom-extended RSL Channel NumbersHarald Welte1-4/+14
Bring our TTCN-3 view of how RSL channel numbers are defined in sync with that of our other implementations (BTS, libosmocore, trxcon, ...) Change-Id: I48908058ac2501a3b5ae7c74e4e8527cbaee1b01 Related: OS#4027
2019-05-27L1CTL: Add support for CCCH_MODE_COMBINED_CBCHHarald Welte1-1/+1
In OsmocomBB/trxcon Change-Id Ia94ebf22a2ec439dfe1f31d703b832ae57b48ef2 we introduced a new mode CCCH_MODE_COMBINED_CBCH to indicate that the channel combination is a CCCH+SDCCH/4 with one SDCCH stolen for CBCH. Let's make sure we actually use that mode in our CBCH related tests Change-Id: I27ee2c81bec7175c1ea09d4f3f6037f2866fe242
2019-05-27cosmetic: Update copyright statement, license notice and SPDXHarald Welte1-0/+2
Some of our files didn't have a copyright notice at all, let's add it. Also, update the notices in other files and ensure a SPDX identifier is present in all but the most trivial files. Change-Id: If7fa19ce484b415bc645e39b3d0d666b44b5f0fd
2019-05-21bts: Add tests for CBCH LOAD IND (underflow, overflow)Harald Welte1-5/+186
Change-Id: Ia0a82771ba2912ef06fb0d9ee0816e8150701005 Related: OS#4011
2019-05-21bts: Add TC_sms_cb_cmd_sdcch{4,8}_extd_multiHarald Welte1-0/+18
Those tests verify operation of the EXTENDED CBCH. Change-Id: I06c193d59f21472fb5e4c69a7af1ccb18fba7487 Related: OS#4011 Related: OS#3535
2019-05-21bts: Test case for mixed NORMAL and DEFAULT SMSCBHarald Welte1-0/+19
This adds TC_sms_cb_cmd_sdcch{4,8]_default_and_normal() which test the correct behavior in case of a DEFAULT SMSCB and normal one-shot SMSCBs. Change-Id: I0782b121cd69158903b09f935b298ddbf5a9ffb5 Related: OS#4011
2019-05-21bts: Refactor code to support mixed DEFAULT + NORMAL and EXTENDED CBCHHarald Welte1-62/+218
The existing code structure could only test for normal messages with a NULL default, but didn't handle situations where normal and/or schedule messages were superimposed on top of DEFAULT messages. Also, prepare the infrastructure for testing both CBCH BASIC and CBCH EXTENDED. No new tests are introduced, the code should behave identical before and after this patch. Change-Id: I144c7d833b79c648b1ac69a6155f3603025ede5c Related: OS#4011
2019-05-21bts: Test for removal of CBCH DEFAULT messageHarald Welte1-0/+52
Add a new testcase TC_sms_cb_cmd_sdcch4_default_then_null() which first installes a DEFAULT message, verifies that, then removes the default message and verifies only NULL CBCH blocks are sent anymore. Change-Id: I9608d42a164a6210f100d10cb3ccfb7735975011 Related: OS#4011
2019-05-21bts: Add TC_sms_cb_cmd_cbch_sdcch{4,8}_default_onlyHarald Welte1-12/+105
Add a most basic CBCH DEFAULT message test: Ensure *only* the default message is sent if a default is set. Related: OS#4011 Change-Id: Iab03fa88b759759a493516d43090c4df63f7b06f
2019-05-21bts: Add TC_sms_cb_cmd_cbch_sdcch{4,8}_multi()Harald Welte1-0/+36
These new tests verify that multiple SMSCB commands are equeued, and that each related message is sent exactly once. Change-Id: Ice22fd2689a42c3b1951a02e65664102d4eaccc2 Related: OS#4011
2019-05-21bts: CBCH related tests for OsmoBTSHarald Welte1-0/+347
This introduces a set of CBCH related tests for osmo-bts. Warning: Those tests currently require a patched trxcon to work. Related: OS#4011 Change-Id: I955b4000c12180a39b0205b69b7b2c8cee8c9da3