Max
70feb59917
Fix rmlink.sh
...
Exclude directories with symlinks which are under version control from
link cleanup script.
Change-Id: I9b93b3918f6d277a21cd30e7dcf91cf4adcc69f2
2017-12-13 14:15:08 +01:00
Harald Welte
152c38c765
move RTP_CodecPort.ttcn to library
...
Change-Id: I67343f016757c23a85db6b526b6f60476e91ffc3
2017-12-13 13:19:26 +01:00
Max
6688c94b42
Add git-review config
...
Change-Id: Ie8ea609827ae4da6659b64c25f0c743770e0cc07
2017-12-13 11:15:48 +01:00
Harald Welte
20a58c6d6f
generalize shared code from regen_makefile.sh into shared helper script
...
Change-Id: I86a738420851a7d9e3bdb2671f6862c3d505a4ba
2017-12-13 01:04:42 +01:00
Harald Welte
e65d40e4db
BSC_Tests: Ensure that PCH load indications suppress further paging
...
Change-Id: I1111996e497bc3ef179b57df135975160b4f7a52
2017-12-13 00:50:11 +01:00
Harald Welte
9fbe93f532
regen_makefile.sh: Fix TITAN 6.1.0 support
...
When introducing the rewriting for 6.3.0 we broke the 6.1.0 support.
Now the result should build on Debian with both 6.1.0 and 6.3.0
Change-Id: I263a6abd2d9eb15ce5778ef8dbfcdac2a228b77d
2017-12-13 00:50:11 +01:00
Harald Welte
2a83b0ffcb
selftest: Fix Makefile generation on TITAN 6.1.0
...
Change-Id: I7720972573281a1df0be99f769217f9aa3bea7d6
2017-12-13 00:50:11 +01:00
Harald Welte
16979760b2
Osmocom_CTRL_Types.ttcn: workaround to compile on TITAN 6.1.0
...
I have no clue why, but this seems to work?
Change-Id: I49750709e50d16a9fabec3e754ae8381832e6104
2017-12-13 00:46:31 +01:00
Harald Welte
3f2ff30ab6
add missing 'rmkinks.sh script
...
Change-Id: I0f87b2c9755881ea7ba019faa74cb1bfaca88546
2017-12-13 00:43:39 +01:00
Harald Welte
f6f78461f6
Makefile: ensure that 'compile' targets depend on 'deps'
...
This will ensure that a 'make compile' on a freshly-cloned repo
will first clone all the deps to ensure a successful build
Change-Id: I6583a42758b5682b04d1e90585063904508aa3a9
2017-12-12 17:34:42 +01:00
Harald Welte
5e3f7c20cd
gprs_gb: Fix compileation (don't use Ericsson MobileL3)
...
Change-Id: I751096f7e2846278df166d0b947fa78ddbe1ca9b
2017-12-12 17:33:36 +01:00
Harald Welte
0e23a8fb46
gprs_gb: Fix compilation of tests
...
It's unsure if the tests do anything useful. At least they build again
The fundamental problem is some clashes/overlap between our own
definitions for certain protocols and those that Ericsson released
later. Ideally we should use Ericsson whenever possible and resort on
our own ones only as a fall-back for those that don't exist, but
significant development has been done before Ericsson released their
codecs, so it's TBD for the future.
2017-12-12 16:47:48 +01:00
Harald Welte
06e05a4a6c
selftest: Fix typo in gen_links.sh
2017-12-12 16:47:31 +01:00
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