summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
46 hoursBTS_Tests: make ts_LapdmAddr / ts_LAPDm_AB more friendlyHEADmasterVadim Yanitskiy1-7/+15
Change-Id: I35f84ebd6cb884f3ab63d1c2b77d8ed61acd5c74
3 daysgbproxy: Make sure all BssgpCfg have a valid create_cbHarald Welte1-1/+12
We cannot specify create_cb function references from the config file, so let's patch them into the data structure at start-up. Change-Id: Idac9e97dde62b61d0423fdde16e3bd700d5287c0
3 daysgbproxy: Use "force-unconifgured" als on BSS-side NSEsHarald Welte1-0/+1
Any NSE should be unconfigured at start up of the test case in order to avoid any state leakage from previous test executions into the newly-started test case. Change-Id: I1dd491d5bce17b4602f1e26b42df003f1627714a
4 daysRSPRO_Server: Ignore any ID RESP messages from the client for nowHarald Welte1-0/+1
More recent clients start to send ID RESP, which was not the case at the time the TTCN3 test suite was written. As we don't really want to test the IPA CCM behavior, but we want to test the actual remsim functionality, we can simply ignore any such responses. Change-Id: Id557ea9c540bf96465e7f18da87719888dd7a318
4 daysgbproxy: Test for sizes up to 1600 bytes, not just 1024 bytesHarald Welte1-2/+7
The NS specs state up to 1600 bytes "gross NS size" must be supported, at least by the underlying FR layer. Let's test up to that. Let's also speed things up by using 4-byte size increments, and print the size of the current message. Change-Id: I76358323e79cfc3d0e9c979c716b7a552f3b8e3b
4 daysgbproxy: Add test suite cfg and osmo-gbproxy.cfg for FR testingHarald Welte2-0/+122
Change-Id: I1faae88c82e8d54b4d4af88e9a9236877c913752
4 daysbsc: add tests with nonzero AMR start-modeNeels Hofmeyr1-0/+12
This test shows that in current osmo-bsc, the start-mode fails to propagate to the MultiRate Config IE, the only start-mode so far has always been zero. Change-Id: I75515baf8cda04567cad8a93c5aa88361c2d259f
5 dayspcu: Introduce test TC_mcs_max_dlPau Espin Pedrol1-12/+53
Change-Id: If6c58cc18b537c4a1354f1b8263db8321347fbd7
5 daysbsc: add TC_assignment_codec_amr_startmode_cruftNeels Hofmeyr1-0/+37
Make sure that when a 'start-mode auto' is set, that the previous start mode setting does not linger in the unused bits. - after I577ff590d7588fd7e3ee4846c7955ab8f84cf2b1, osmo-bsc sets its ICMI bit properly, but passes this test only because it *always* sends smod (start-mode) bits as zero. - in I49691df01745a7c485bf165e897872c35fc4b147, the smod bits are properly sent on RSL, but this test shows that when ICMI becomes zero for 'start-mode auto', the smod bits will remain whatever start-mode was set in the previous osmo-bsc config. Instead, osmo-bsc should clear the smod bits for 'start-mode auto' so that its MultiRate Config does not vary depending on what was previously configured. - in I1ec5bad0bce01cc425ee05ecf70c83ec662a226a, clearing smod is implemented and this test is expected to pass. Change-Id: I151678f64e680f30f35b6bb2b0036d63efde9f2c
5 daysbsc: add tests for AMR 'start-mode auto'Neels Hofmeyr1-2/+15
These tests will fail until osmo-bsc I577ff590d7588fd7e3ee4846c7955ab8f84cf2b1 Related: OS#4868 Change-Id: Iec74b940009c8ec78a6da5c00615259e2edc1781
5 daysbsc: set the AMR start-mode that the tests expectNeels Hofmeyr1-0/+28
osmo-bsc currently has a bug that fails to reflect the correct start-mode in the AMR MultiRate config IE. And it went unnoticed that the ttcn tests expect a MultiRate config of ICMI = 1, even though the used configuration should yield ICMI = 0. See mr_conf = '2804'O, where the '8' indicates ICMI = 1. As a first fix of the ttcn3-bsc-tests, configure the BSC according to the expected ICMI value and Start Mode, i.e. ICMI = 1 and StartMode = 0, which is configured by 'amr tch-[fh] start-mode 1'. This should make these tests pass as-is for both the current osmo-bsc as well as an osmo-bsc where the bug is fixed, with minimal changes to the current tests. See also OS#4868. An upcoming patch will add tests for 'start-mode auto'. Related: OS#4868 Change-Id: I4cff01c37d5c7e301e9a01f773b7e009a789519b
5 daysadd f_vty_cfg_bts(), f_vty_cfg_msc()Neels Hofmeyr2-22/+28
These allow passing N vty configurations on the bts / msc node without requiring subsequent 'exit'. As an example, use f_vty_cfg_msc() in BSC_Tests.ttcn AMR config. Change-Id: I9f3e485f692acb3d2a7620e9b454b372651be78e
5 daysadd f_vty_config3(), to run N commands on a sub-nodeNeels Hofmeyr1-3/+9
f_vty_config2() makes it convenient to enter a specific vty node without needing to send 'exit'/'end' explicitly. However, to pass multiple commands on the same node, the VTY would enter and exit the node for each call of f_vty_config2(). The new f_vty_config3() also allows multiple commands to be run on that same node without intermediate exiting. Change-Id: If969ac645aa82e5a36245d974de2a251633de111
5 daysgbproxy: Fix log messages in timeout situationsHarald Welte1-2/+2
Printing an unbound 'rx' variable when nothing was received due to timeout is somehow not really useful. Print what we expected to receive. Change-Id: Idab8bed06281468164006682aa6b4c2c3e236880
7 daysgbproxy: Introduce TC_overloadHarald Welte3-1/+63
When the SGSN is sending an OVERLOAD message, we expect that to propagate down to every BSS on the other side. Change-Id: Ic61fabd9c633bcb3f256fe7aa5834e66cc66a4fb
7 daysgbproxy: Introduce TC_llc_discardedHarald Welte2-1/+26
This tests the LLC-DISCARDED message, which relates to a BVCI but is itself sent on BVCI=0. We expect it transparently passes from BSS to SGSN. Change-Id: I98d02d6fa68bddf15b732d06dab00e91e72995d1
7 daysgbproxy: Test for SGSN-INVOKE-TRACEHarald Welte3-2/+96
Change-Id: I1e46e5c403712eb7972c57e6b6f6eb0850b96ae3
8 daysgbproxy: Add TC_bvc_reset_sig_from_{sgsn,pcu}Harald Welte1-0/+101
These test cases check if gbproxy behaves as expected when it comes to dealing with BVC-RESET on the signaling BVC. The tests are not passing due to limitations of gbproxy. So it's not clear if the tests are 100% correct until gbproxy is fixed. Change-Id: Iedfe72f539ad3a0653b6ee7a050bf36ae386e88e
8 daysBSSGP_Emulation: reo-rder altsteps of per-NSE componentHarald Welte1-25/+66
the existing ordering of altsteps unfortunately caused some receive clauses never to be hit, as they are only in the default altstep, while more generic receive clauses are already in the state-specific altsteps. Let's introduce an as_allstate_pre() and an as_allstate_post() to solve this ordering problem. Change-Id: Icc4da95833557931d6685826fb30bdc60bf460c1
8 daysBSSGP_Emulation: Add MGMT port to per-NSE (BVCI=0) componentHarald Welte1-2/+14
We recently introduced a MGMT port in the per-BVC component for the PTP BVC. Let's add this also to the signaling BVC. Change-Id: I24df4cb290c9f9dc1a7398994af101711f12d42e
8 daysgbproxy: Add TC_bvc_reset_ptp_from_{bss,sgsn}Harald Welte1-0/+75
This tests BSS-originated and SGSN-originated BVC-RESET procedure of a PTP BVC. Change-Id: Ie0a4899b6e793e3d69f117f350c5a2542fc4d402
8 daysBSSGP_Emulation: Send BssgpResetIndication when PTP BVC are being resetHarald Welte2-0/+9
This notifies the user via the MGMT port about the fact that an inbound BVC-RESET procedure just happened. Change-Id: I54d0d5e0e06a330a90dfb1da06062d65022efe81
8 daysBSSGP_Emulation: Fix handling of BsgpResetRequestHarald Welte1-0/+1
We need to change to BLOCKED local state in order to activate the altstep which handles the inbound BVC-RESET-ACK. Change-Id: I32ede586f0977b7d96af9fe3ea5fae485184ea98
9 daysBSSGP_Emulation: Fix inbound BVC-RESETHarald Welte1-17/+24
We cannot handle this in as_ptp_allstate(), as the respective clauses are never hit: In as_ptp_unblocked() we broadcast all BSSGP messages without a TLLI, "hiding" the BVC-RESET handling. Change-Id: Ie3e7a997554e6af42ae7e7294829b6f8d2447d60
9 daysgbproxy: Add TC_bvc_{block,unblock}_ptp()Harald Welte1-0/+56
Test the blocking and unblocking procedure, indirectly via the BSSGP emulation sending us the related primitives on both PCU and SGSN side. Change-Id: Ia2fe867435678cbde44cac2addcaddd174507446
9 daysBSSGP_Emulation: Implement handling of BVC-UNBLOCK in SGSN roleHarald Welte1-0/+6
Change-Id: I7c9cda916f6583613fbf3cdf31f3f08ceadf58d4
9 dayspcu: Introduce test TC_multiplex_dl_gprs_egprsPau Espin Pedrol1-0/+171
Change-Id: I1b6b1042f25888407f48865de220c8af7451a7f0
9 daysvty: log failed vty commandNeels Hofmeyr1-6/+6
Add a log label argument to f_vty_wait_for_prompt(), and feed the sent command from f_vty_transceive*(), so that the failure verdict already lists the vty command that caused the failure. A common error is to issue insufficient 'exit' commands, so that I often think the newly added VTY command failed, even though it is a subsequent command causing the failure. I want to shorten the "time-to-aha" there. Change-Id: Icfd739db150d86e9256a224f12dc979dcd77879f
9 dayscosmetic: drop redundant assignment in f_TC_rach_contentNeels Hofmeyr1-1/+1
Change-Id: I3b0f3df6c01642a84610f213f4682e330e12c068
9 daysbts: TC_sacch_chan_act_ho_sync: expect SACCH with MS Power IENeels Hofmeyr1-3/+3
According to 3GPP TS 48.058 4.1.4, SACCH may be transmitted also for only MS Power present, and no Access Delay. Change-Id: I2e1c0ecc9de65a019aaa9f08bb051bf051156172
10 daysBSSGP_Emulation: Include NSEI in BsgpStatusIndication for PTP BVCHarald Welte1-4/+6
Change-Id: I0d8f18d0e6438a98c75ff24e2a9c8136d8b417d2
10 daysgbproxy: Port TC_{suspend,resume} to new GLOBAL portHarald Welte1-38/+96
With the previous commit, we change the processing of the SUSPEND/RESUME related PDUs and handle them now via a new per-NSE "GLOBAL" port. Change-Id: I805372f3024a0ec2491a24422e02c0bc6dc669d2
10 daysBSSGP_Emulation: Introduce a GLOBAL port in the BSSGP_CTHarald Welte1-0/+17
The per-NSE BSSGP_CT gets a new GLOBAL port which is used for procedures that are not specific to one BVC, such as the SUSPEND/RESUME related PDUs, which all are on the signalling BVC without any BVCI in the BSSGP. Change-Id: I40d973d80709f5d56f59247e8647b52754f09bc8
10 daysgbproxy: Add paging for all situations of unknown identityHarald Welte1-0/+299
CS-PAGING and PS-PAGING for unknown RAC, LAC and BVCI on either PTP or SIG BVC. Change-Id: I9874d54939daa28201b82139c9d8e3022432e621
10 daysAdd templates for LLC_DISCARDEDDaniel Willmann1-0/+57
Change-Id: I587ec89471083e339065f6371ffe6253d49007bf Related: SYS#5210
10 daysgbproxy: Add test for FLUSH_LLDaniel Willmann1-0/+30
Change-Id: I05667295e7fe945de6ed03716ff5ac930d54ac77 Related: SYS#5210
10 daysSupport signalling BVC to send/receive messagesDaniel Willmann1-6/+30
Change-Id: Icbe9f918d16efd01ede4e060f8af53a5e2c9253f Related: SYS#5210
10 daysAdd templates for FLUSH_LL_ACKDaniel Willmann1-0/+66
Change-Id: I57ef98b9a3022ed5915381504aa129979799bee8 Related: SYS#5210
10 daysAdd templates for FLUSH_LLDaniel Willmann1-7/+61
Change-Id: Id432022fdd7f96bc014f0fd81658fa4aa796a688 Related: SYS#5210
11 daysBTS_Tests: make Training Sequence Code configurableVadim Yanitskiy3-13/+17
Change-Id: Ifc09d4192584048d39ebfa22824eda69320fa2c5
11 daysBTS_Tests: generate g_AllChannels from module parametersVadim Yanitskiy1-17/+48
Change-Id: I600aa49768328b89707b4da13d61f6a8089ac351
11 daysBTS_Tests: re-organize configuration of TRX/TS paramsVadim Yanitskiy5-19/+98
Change-Id: I9b225249d135399f63d3c7e4c567121dfea63f75
11 dayslibrary/RSL_Types: add 'bs_power_params' to 'RSL_IE_Body'Vadim Yanitskiy1-0/+2
The value part of this IE is defined as vendor-specific. Change-Id: I48703c45d26cd88c1d9b5fda1a9df42616cb7cc0
11 dayslibrary/GSM_RR_Types: make ts_MEAS_REP more user-friendlyVadim Yanitskiy2-4/+7
Change-Id: Ica1ea41ebba5c518d515a211e77ca6651c4173d6
11 dayslibrary/GSM_Types: add the Uplink flag to GsmBandArfcnVadim Yanitskiy1-4/+9
Change-Id: Ib9bd7268b8a0fd8ed64064871c09fab35e15a761
11 dayslibrary: move Osmocom_Types.Arfcn to GSM_Types.GsmBandArfcnVadim Yanitskiy8-22/+50
In some cases GsmArfcn itself is not enough. It case of L1CTL and GSMTAP, it needs to be equipped with a band discriminator: - DCS / PCS (as the numbers may overlap), - Downlink / Uplink (not yet there). Let's rename this record and move it to GSM_Types. Also, add send / receive tamplates, so we can add new fields later. Change-Id: I7a63f03bbd15a06caafb786122dc12991d115771
12 daysgpborxy: Implement variety of paging tests for PS-PAGING and CS-PAGINGHarald Welte2-7/+578
Change-Id: Ida44b62dfdb9c4ce2755de63d51a9907d34f247f
14 daysgbproxy: Add test for load sharing function in SGSN->PCU directionHarald Welte1-0/+77
Related: SYS#5209 Change-Id: Ide733d7659ff7f341bedc61fc90947f74d7c4ac3
14 daysNS_Emulation: Include NS-VCI in NsUnitdataIndicationHarald Welte2-2/+7
The primitive normally only contains NSE + BVCI, but in a tester we actually want to verify which NS-VC a given message has arrived on, and hence it makes sense to add the NSVCI, too. Change-Id: I9402bf0be47e5b93c9cfb081eb8f9fa6734c9227
2020-11-20Osmocom_Gb_Types: Fix indentationDaniel Willmann1-385/+383
Change-Id: I4ca156b53dfe9daa190d52a7de46be56cf74099a