Harald Welte
6807982106
Makefile: clone dependencies into 'deps' folder
...
We used to rely on out-of-tree git clones to be prepared by the user.
This commit changes the system to make sure we clone all git repos
we depend upon into the 'deps' folder, and then setup the symlinks
to that folder. As a result, we should be able to support
self-contained builds using the makefiles in this repo.
2017-12-12 16:30:53 +01:00
Harald Welte
4c5ef5b3e1
IPA_Types: Add ts_PDU_IPA (selftest fixup
2017-12-12 15:53:40 +01:00
Harald Welte
2f157f6cf9
bsc-test: Fix build in laforge/bsc branch
2017-12-12 15:52:28 +01:00
Harald Welte
add12df6af
Add master make file which helps to iterate over all directories
2017-12-12 15:51:39 +01:00
Harald Welte
f6bd980fdd
Selftest: Add first baby-steps for self-testing our TTCN-3 library code
2017-12-12 14:56:02 +01:00
Harald Welte
735dd07b38
RSL_Types: Work around (perceived) shortcoming of TITAN RAW encoder
2017-12-12 14:55:17 +01:00
Harald Welte
3e6ad89a2b
IPA_Emulation: Call f_IPL4_setGetMsgLen for both client and server
...
So far, only the IPA client was instructing the IPL4asp to use
the message-desegmentation function. The server didn't use it, leading
to inconsistent behaviour.
2017-12-12 14:39:46 +01:00
Harald Welte
1098500d2d
BSC_Tests: Verify paging stops after BSSMAP RESET on A interface
2017-12-12 09:29:15 +01:00
Harald Welte
ad3339051e
Add osmo-bsc.cfg and osmo-stp.cfg for this test case
2017-12-11 19:53:35 +01:00
Harald Welte
6f521d8e05
BSC_Tests: Add 12 different PAGING tests
2017-12-11 19:52:02 +01:00
Harald Welte
72cecfa26c
BSSMAP_Templates: Add templates for various PAGING options
2017-12-11 19:51:00 +01:00
Harald Welte
51d74101b8
RSL_Types: Fix coding of RSL_IE_ChanNeeded and matching if PAGING_CMD
2017-12-10 23:05:02 +01:00
Harald Welte
bd868bd91e
BSC_Tests: Avoid race condition with OML
...
We use the "oml-connection-status == degraded" to determine if
the OML connection has been brought up by the external helper.
However, this status is advertised from the moment the ID_ACK was
issued on the OML connection, and *not* only from the moment on
when we're expecting the RSL connection (after initializing all MO).
Let's introduce some delay to avoid running into a race condition here.
The proper solution is to implement OML inside the test suite, which
is too large of a task to be done right now, where the focus is on
RSL+BSSAP testing.
2017-12-10 18:28:40 +01:00
Harald Welte
15e1dea8c2
BSC_Tests.cfg: Use 'control' section as default test suite
2017-12-10 18:28:21 +01:00
Harald Welte
fdfa046803
Osmocom_CTRL: Fix matching on incoming trap; avoid generating error verdicts in functions
2017-12-10 18:09:40 +01:00
Harald Welte
b291770b7b
BSC_Tests: Ensure TC_chan_rel_rll_rel_ind terminates with 'fail' not 'error'
2017-12-10 15:48:52 +01:00
Harald Welte
85804d4dd0
BSC_Tests: Add new TC_chan_rel_a_reset
...
This test case tests for proper release of RF channels after the MSC
issues a BSSMAP RESET.
2017-12-10 14:11:58 +01:00
Harald Welte
f7e771027f
BSC_Tests: Suppress logging for M3UA/SCCP/IPA/CTRL
...
This makes it easier to interpret the log output
2017-12-10 14:11:17 +01:00
Harald Welte
60e823a555
BSC_Tests: More robust against race condtions in IPA CCM and RESET
2017-12-10 14:10:59 +01:00
Harald Welte
346658df4b
BSSAP_CodecPort: respondingAddress is optional in BSSAP_N_DISCONNECT_ind
2017-12-10 14:10:25 +01:00
Harald Welte
510a287a5e
BSSAP_CodecPort: Don't dereference optional fields unconditionally
2017-12-10 13:48:17 +01:00
Harald Welte
d8c36cda22
BSC_Tests: Add new TC_chan_rel_hard_rlsd (MSC sends hard RLSD)
2017-12-09 23:05:31 +01:00
Harald Welte
4003d11fe8
BSC_Tests: Add various additional test cases
2017-12-09 22:37:21 +01:00
Harald Welte
e8a5ab1122
RSL_Types: New tr_RSL_REL_REQ and tr_RSL_DEACT_SACCH templates
2017-12-09 22:34:57 +01:00
Harald Welte
6efa8e3940
RSL_Types: Fix RSL_IE_Cause (missing length octet)
2017-12-09 22:34:06 +01:00
Harald Welte
cfa79adb83
BSSMAP_Templates: Add tr_BSSMAP_ClearRequest
2017-12-09 22:33:47 +01:00
Harald Welte
36975c8ef7
add missing BSSAP_CodecPort file
2017-12-09 21:39:57 +01:00
Harald Welte
4a267365fd
RSL_Types: Add ts_RSL_RF_CHAN_REL_ACK and ts_RSL_MsgDiscType
2017-12-09 17:49:32 +01:00
Harald Welte
3ec493f9bc
Osmocom_CTRL_Fucntions: Add f_ctrl_get_ratectr_abs and f_ctrl_get_exp_ratectr_abs
2017-12-09 16:25:29 +01:00
Harald Welte
a5d2ab2cdc
BSC_Tests: Only one CTRL interface per BSC, not per BTS
...
... and use CTRL to deteremine once external OML dummy has
re-established the connection so we can start RSL subsequently.
2017-12-09 14:21:42 +01:00
Harald Welte
0ac4667870
Osmocom_CTRL_Types: Permit * (wildcard) and fix pattern syntax
2017-12-09 14:19:58 +01:00
Harald Welte
852a384e5c
Osmocom_CTRL_Functions: Add f_ctrl_get_exp() function to GET + match expected
2017-12-09 14:19:36 +01:00
Harald Welte
95a478172f
Osmocom_CTRL_Functions: Make TRAP resistant (ignore TRAPs)
2017-12-09 14:19:03 +01:00
Harald Welte
96c94410c1
BSC_Tests: Add CTRL interface connection
2017-12-09 03:13:36 +01:00
Harald Welte
5819b554ad
IPA_Emulation: Don't send events to unconnected ports
2017-12-09 03:13:36 +01:00
Harald Welte
03c0e5600e
IPA_Emulation: Send ASP_IPA_EVENT_UP even in client mode
2017-12-09 03:13:32 +01:00
Harald Welte
a76c4bb7b9
Extend IPA_Emulation with support for CTRL
2017-12-09 02:06:07 +01:00
Harald Welte
bdb63706b7
IPA_Emulation: Add comments
2017-12-09 01:15:44 +01:00
Harald Welte
ae02669508
BSC_Tests: Start with much simpler tests at BSSAP / SCCP level
...
Rather than using the more complex RSL Emulation and BSSAP emulation
components, we attach to the RSL and BSSAP Codec Ports and send some
messages back and forth for low-level testing such as timeouts, response
to RACH requests, failure of MSC to react to CR requests, etc.
2017-12-09 01:03:01 +01:00
Harald Welte
51b2468059
mgw-nat: Make it build again (library code now has more dependencies)
2017-12-09 00:56:54 +01:00
Harald Welte
bc330beab7
RSL_Emulation: Move templates into RSL_Types
2017-12-09 00:56:36 +01:00
Harald Welte
7ae019e1a0
IPA_Emulation: split t_ASP_RSL_UD in send and receive template
2017-12-09 00:54:15 +01:00
Harald Welte
f8a0bdaad5
BSSMAP_Templates: Add parameters to tr_BSSMAP_ComplL3 for better matching
2017-12-09 00:53:17 +01:00
Harald Welte
140714d89d
regen_makefile.sh: Add Regex's for TITAN 6.3.0
...
The TITAN 6.3.0 makefile generator needs some new regular expressions
for patching the generated makefile to work on Debian
2017-12-08 14:03:28 +01:00
Harald Welte
696ddb6de3
bsc-tests: Add BTS_Simulation, RSL_Tests and .cfg file
2017-12-08 14:01:43 +01:00
Harald Welte
714ded9e75
library: Add RSL_Emulation.ttcn
...
This emulates the RSL part of a BTS towards a BSC
2017-12-08 14:00:22 +01:00
Harald Welte
9c0bddf293
General_Types: Make it work with TITAN 6.3.0
...
Somehow the TITAN 6.3.0 compiler is stricter...
2017-12-08 13:58:08 +01:00
Harald Welte
0d846a7e37
IPA_Emulation: Add support for RSL port
...
In addition to the MGCP and SCCP ports, we now also have a RSL port
through which other components can transceive RSL messages via IPA
2017-12-07 17:58:28 +01:00
Harald Welte
da9d36c73e
IPA_Types: Define IpaStreamId for up to 4 TRX
2017-12-07 17:57:17 +01:00
Harald Welte
101fbed2de
RSL_Types: ts_RSL_CHAN_RQD needs access delay
2017-12-07 17:56:38 +01:00