Commit Graph

315 Commits

Author SHA1 Message Date
Harald Welte 05f378a956 Merge changes Idd5ac427,Ia3b8632e
* changes:
  update README.txt with status of current implementation
  BSC_Tests: Update CFG with list of test cases
2017-12-15 14:18:25 +00:00
Harald Welte bab2f7a74f update README.txt with status of current implementation
Change-Id: Idd5ac4273975b5c0e3ea373f1b8f6d6b2e534c0b
2017-12-15 15:16:42 +01:00
Harald Welte b58e8a098d BSC_Tests: Update CFG with list of test cases
Change-Id: Ia3b8632e0528e862288f7c8565a2e1db04f9eebc
2017-12-15 15:11:19 +01:00
Harald Welte f1b64e208f BSC_Tests: Ensure MSC passes SpeechCodecList in AoIP ASSIGNMENT
Change-Id: I66deffc50b5adcc8707747c0baa2e65ee36bf18e
2017-12-15 14:56:48 +01:00
Harald Welte 235ebf1b9c BSC_Tests: Add whole bunch of new assignment tests
Change-Id: Ia7304f2e2265c2ebd92575a9403b082579397656
2017-12-15 14:19:10 +01:00
Harald Welte 4bf5fc97fb BSSMAP_Templates: Define various ASSIGNMENT related templates/constants
Change-Id: Id4f98120dbedf1a4fd5fb34df0d638eb08d7c3cb
2017-12-15 14:19:10 +01:00
Harald Welte b69533d153 BSSMAP_Templates: Define enum with 08.08 cause values
Change-Id: I2fc122a510403d0da8da04ca323687065347c96a
2017-12-15 14:19:10 +01:00
Harald Welte cfe2c962a7 BSC_Tests: Add TC_outbound_connect to test if BSC rejects inbound SCCP connections
Change-Id: Ie9087df9ff9b48c8be242b1ae66cbca936b07121
2017-12-15 14:19:10 +01:00
Harald Welte cc7e4dc40e BSSMAP_Templates: Enable use for AoIP, not just E1-CIC
Change-Id: I421ade4ae1c0c19c9c2b1172cdcf8d6c4cd55205
2017-12-15 14:19:10 +01:00
Harald Welte 9958a4d7c8 RSL_Types: Add various IPA / Abis-IP specific IEs + templates
Change-Id: I683e7c23b217a993e0d8f079e5bf1a10403420bb
2017-12-15 14:19:10 +01:00
Harald Welte 16a4adfa5f BSC_Tests: Add TC_assignment_cic_only (AoIP Assign. must fail with only CIC)
Change-Id: Iee7202841ad8466a65b5d54679262be100863e39
2017-12-15 14:19:10 +01:00
Harald Welte 9cf4e7208e Merge changes I7b692cce,Iade77321
* changes:
  BSC_Tests: Add test case for RSL link drop counter
  BSC_Tests: Add TC_chan_exhaustion to test for channel exhaustion
2017-12-14 17:31:54 +00:00
Harald Welte e12d791958 Merge changes Ic0188065,I48057cb4,I2bc3de37
* changes:
  BSC_Tests: Add TC_chan_act_nack to test RSL Channel Activate NACK
  BSC_Tests: Add TC_paging_counter to test paging related counters
  BSC_Tests / RSL_Types: Add enumerated for RSL Cause value
2017-12-14 17:31:43 +00:00
Harald Welte 4e9b9cc114 BSC_Tests: Add test case for RSL link drop counter
Change-Id: I7b692cceaed07c112f8c62b87081cfdb322c8120
2017-12-14 18:31:02 +01:00
Harald Welte 799c97bb9d BSC_Tests: Add TC_chan_exhaustion to test for channel exhaustion
We ensure that all channels are allocated, and that the first allocation
beyond the avialable channels will fail and generate an IMM_ASS_REJ.

WE also verify that the related counters are incremented as expected.

Change-Id: Iade77321588190cec89cfcd9c18d84a7144e0198
2017-12-14 18:30:53 +01:00
Harald Welte 618ef64574 BSC_Tests: Add TC_chan_act_nack to test RSL Channel Activate NACK
Change-Id: Ic0188065f50d29c44d7bf220f2ef881997a14b68
2017-12-14 14:58:20 +01:00
Harald Welte 7ccc4f93f9 Merge "BSC_Tests: Add more tests about invalid channel activations" 2017-12-14 13:55:52 +00:00
Harald Welte ea02e2dd97 Merge changes Id75cc92d,Ia5a39d37
* changes:
  BSC_Tests: remove copy+paste CHAN RQD -> CHAN ACT -> CHAN ACK
  BSC_Tests: Make as_Tguard() more robust (don't abort after RESET)
2017-12-14 13:55:40 +00:00
Harald Welte 1ff6999b81 BSC_Tests: Add TC_paging_counter to test paging related counters
Change-Id: I48057cb4eeb96637a663940cf4de4df1a9f2e85d
2017-12-14 12:31:17 +01:00
Harald Welte a8ed906866 BSC_Tests / RSL_Types: Add enumerated for RSL Cause value
this looks much more human-readable in the logs...

Change-Id: I2bc3de37a3059cc16c6293df45e5c4d620422502
2017-12-14 09:46:01 +01:00
Harald Welte 5cd20ed288 BSC_Tests: Add more tests about invalid channel activations
Change-Id: I8a44b5eab6c6e09330305547d145820983f90140
2017-12-13 22:34:00 +01:00
Harald Welte ef37e76187 Merge "Ignore build byproducts" 2017-12-13 20:21:51 +00:00
Harald Welte d693965455 BSC_Tests: remove copy+paste CHAN RQD -> CHAN ACT -> CHAN ACK
... and replace it with a function

Change-Id: Id75cc92ddf1c1833c892a7bfa77d6561fd0f3679
2017-12-13 21:02:46 +01:00
Harald Welte 69c1c261ba BSC_Tests: Make as_Tguard() more robust (don't abort after RESET)
Change-Id: Ia5a39d372c1b7ec8267446f2762aabc600667775
2017-12-13 21:02:08 +01:00
Harald Welte 10e6898df8 Merge "Avoid gcc version check" 2017-12-13 18:54:24 +00:00
Harald Welte c7be8801a0 Merge changes I53ffe442,Ic0750bdc,Ic5499a0b,I67343f01
* changes:
  bsc: Run three virtual BTSs (2 in one lac, 1 in another)
  Add RTP_Emulation (stream source/sink) on top of RTP_CodecPort
  Add missing RTP_CodecPort_CtrlFunct TTCN and C++ files
  move RTP_CodecPort.ttcn to library
2017-12-13 18:53:49 +00:00
Harald Welte 5d1a2209f2 bsc: Run three virtual BTSs (2 in one lac, 1 in another)
This allows us to verify if the BSC pages *only* where it is supposed
to page based on the cell identity list in the 08.08 PAGING.

Change-Id: I53ffe44279a7b83e045b3fdb25da64529955d457
2017-12-13 19:51:29 +01:00
Max dbf15f8eab Avoid gcc version check
By default the build fails on Debian due to gcc version check in
/usr/include/titan/cversion.h - instead of asking users to manually
change this file let's add workaround to our makefile fixer which
disables this check automatically.

The corresponding Debian bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879816

Change-Id: I71c765d5d8e182a198e2c5d2886ebce3b86e6328
2017-12-13 18:08:25 +01:00
Max e1232e1b16 Merge "Fix rmlink.sh" 2017-12-13 16:50:07 +00:00
Harald Welte 067d66ed5b Add RTP_Emulation (stream source/sink) on top of RTP_CodecPort
Change-Id: Ic0750bdc025cd6f16094843550429d976fb44f4f
2017-12-13 17:24:03 +01:00
Harald Welte 1a9b35dd3e Add missing RTP_CodecPort_CtrlFunct TTCN and C++ files
Change-Id: Ic5499a0b5f635a93214cbb5e641d2fd8d37f38d6
2017-12-13 15:42:31 +01:00
Max dde54d3979 Ignore build byproducts
Change-Id: I3a677a809f372a147cd4855abe3f0db14f738450
2017-12-13 14:25:54 +01:00
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