cosmetic: Update copyright statement, license notice and SPDX

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
changes/98/14198/2
Harald Welte 4 years ago
parent 1490695778
commit 34b5a95d09
  1. 11
      bsc-nat/BSCNAT_Tests.ttcn
  2. 9
      bsc-nat/BSC_MS_ConnectionHandler.ttcn
  3. 10
      bsc-nat/BSC_MS_Simulation.ttcn
  4. 10
      bsc-nat/MGCP_Adapter.ttcn
  5. 9
      bsc-nat/MSC_ConnectionHandler.ttcn
  6. 2
      bsc/BSC_Tests.ttcn
  7. 2
      bsc/BSC_Tests_LCLS.ttcn
  8. 11
      bsc/MSC_ConnectionHandler.ttcn
  9. 4
      bts/BTS_Tests.ttcn
  10. 2
      bts/BTS_Tests_SMSCB.ttcn
  11. 12
      ggsn_tests/GGSN_Tests.ttcn
  12. 10
      hlr/HLR_EUSE.ttcn
  13. 14
      hlr/HLR_Tests.ttcn
  14. 2
      library/AbisOML_Types.ttcn
  15. 2
      library/BSSAP_CodecPort.ttcn
  16. 10
      library/BSSGP_Emulation.ttcn
  17. 10
      library/BSSGP_Types.ttcn
  18. 5
      library/BSSMAP_Templates.ttcn
  19. 10
      library/DNS_Helpers.ttcn
  20. 11
      library/GSMTAP_PortType.ttcn
  21. 13
      library/GSM_RR_Types.ttcn
  22. 13
      library/GSM_SystemInformation.ttcn
  23. 13
      library/GSM_Types.ttcn
  24. 2
      library/GSUP_Emulation.ttcn
  25. 5
      library/GSUP_Types.ttcn
  26. 13
      library/GTP_CodecPort.ttcn
  27. 11
      library/GTP_Emulation.ttcn
  28. 11
      library/GTP_Templates.ttcn
  29. 4
      library/IPA_CodecPort.ttcn
  30. 5
      library/IPA_Emulation.ttcnpp
  31. 2
      library/IPA_Testing.ttcn
  32. 4
      library/IPA_Types.ttcn
  33. 10
      library/IPCP_Types.ttcn
  34. 3
      library/IuUP_Emulation.ttcn
  35. 12
      library/L1CTL_PortType.ttcn
  36. 10
      library/L1CTL_Types.ttcn
  37. 11
      library/L3_Common.ttcn
  38. 2
      library/L3_Templates.ttcn
  39. 10
      library/LAPDm_RAW_PT.ttcn
  40. 12
      library/LAPDm_Types.ttcn
  41. 11
      library/LLC_Templates.ttcn
  42. 3
      library/MGCP_CodecPort.ttcn
  43. 2
      library/MGCP_Emulation.ttcn
  44. 2
      library/MNCC_Emulation.ttcn
  45. 12
      library/MNCC_Types.ttcn
  46. 11
      library/NS_Emulation.ttcn
  47. 10
      library/NS_Types.ttcn
  48. 8
      library/Native_FunctionDefs.cc
  49. 11
      library/Osmocom_CTRL_Adapter.ttcn
  50. 4
      library/Osmocom_CTRL_Types.ttcn
  51. 10
      library/Osmocom_Types.ttcn
  52. 11
      library/Osmocom_VTY_Functions.ttcn
  53. 2
      library/PAP_Types.ttcn
  54. 11
      library/PCUIF_CodecPort.ttcn
  55. 13
      library/PCUIF_Types.ttcn
  56. 10
      library/RAN_Adapter.ttcnpp
  57. 14
      library/RLCMAC_CSN1_Types.ttcn
  58. 6
      library/RLCMAC_EncDec.cc
  59. 10
      library/RLCMAC_Types.ttcn
  60. 2
      library/RSL_Emulation.ttcn
  61. 2
      library/RSL_Types.ttcn
  62. 2
      library/RTP_CodecPort.ttcn
  63. 11
      library/RTP_Emulation.ttcn
  64. 2
      library/SCCP_Templates.ttcn
  65. 2
      library/SGsAP_CodecPort.ttcn
  66. 2
      library/SGsAP_Emulation.ttcn
  67. 2
      library/SGsAP_Templates.ttcn
  68. 2
      library/SIP_Emulation.ttcn
  69. 2
      library/SMPP_CodecPort.ttcn
  70. 2
      library/SMPP_Emulation.ttcn
  71. 2
      library/SS_Templates.ttcn
  72. 10
      library/TRXC_Types.ttcn
  73. 2
      library/USSD_Helpers.ttcn
  74. 11
      mgw/MGCP_Test.ttcn
  75. 12
      msc/BSC_ConnectionHandler.ttcn
  76. 12
      msc/MSC_Tests.ttcn
  77. 10
      msc/MSC_Tests_Iu.ttcn
  78. 3
      pcu/GPRS_TBF.ttcn
  79. 10
      pcu/PCU_Tests.ttcn
  80. 9
      pcu/PCU_Tests_RAW.ttcn
  81. 10
      pcu/PCU_Tests_RAW_SNS.ttcn
  82. 2
      sccp/SCCP_Tests.ttcn
  83. 11
      sgsn/SGSN_Tests.ttcn
  84. 10
      sip/SIP_Tests.ttcn

@ -1,5 +1,16 @@
module BSCNAT_Tests {
/* osmo-bsc_nat test suite in TTCN-3
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* Author: Daniel Willmann
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from Osmocom_Types all;
import from IPL4asp_Types all;

@ -1,5 +1,14 @@
module BSC_MS_ConnectionHandler {
/* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;
import from Osmocom_Types all;
import from SCCPasp_Types all;

@ -1,5 +1,15 @@
module BSC_MS_Simulation {
/* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* (C) 2018 sysmocom - s.f.m.c. Gmbh; Author: Daniel Willmann
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from IPL4asp_Types all;
import from IPA_Emulation all;

@ -1,5 +1,15 @@
module MGCP_Adapter {
/* MGCP Adapter for bsc-nat tests in TTCN-3
* (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from IPL4asp_Types all;
import from MGCP_Types all;

@ -1,5 +1,14 @@
module MSC_ConnectionHandler {
/* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;
import from Osmocom_Types all;
import from SCCPasp_Types all;

@ -7,6 +7,8 @@ module BSC_Tests {
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This test suite tests OsmoBSC while emulating both multiple BTS + MS as
* well as the MSC. See README for more details.
*

@ -7,6 +7,8 @@ module BSC_Tests_LCLS {
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This test suite tests OsmoBSC while emulating both multiple BTS + MS as
* well as the MSC. See README for more details.
*

@ -1,5 +1,16 @@
module MSC_ConnectionHandler {
/* MSC Connection HAndler of BSC Tests in TTCN-3
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from Misc_Helpers all;
import from General_Types all;
import from Osmocom_Types all;

@ -1,13 +1,15 @@
module BTS_Tests {
/* Integration Tests for OsmoBTS
* (C) 2019-2019 by Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 by Harald Welte <laforge@gnumonks.org>
* contributions by Vadim Yanitskiy and sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This test suite tests OsmoBTS by attaching to the external interfaces
* such as Abis RSL, PCU, VTY as well as by attaching to a MS L1 implementation
* using the L1CTL protocol/interface.

@ -7,6 +7,8 @@ module BTS_Tests_SMSCB {
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This test suite tests the SMSCB (Cell Broadcast) related functionality of
* OsmoBTS by attaching to the A-bis RSL and Um interface and emulating both
* BSC and MS.

@ -1,5 +1,17 @@
module GGSN_Tests {
/* GGSN test suite in TTCN-3
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;
import from Osmocom_Types all;
import from IPL4asp_PortType all;

@ -6,7 +6,15 @@
* function, which will return whatever PDU to send in response back to the HLR.
*/
/* (C) 2018 by Harald Welte <laforge@gnumonks.org> */
/* (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module HLR_EUSE {

@ -1,5 +1,19 @@
module HLR_Tests {
/* HLR test suite in TTCN-3
* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* (C) 2018 sysmocom - s.f.m.c. GmbH
* (C) 2018 Vadim Yanitskiy <axilirator@gmail.com>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from GSUP_Types all;
import from GSUP_Emulation all;
import from IPA_Emulation all;

@ -10,6 +10,8 @@ module AbisOML_Types {
*
* Released under the terms of the GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;

@ -9,6 +9,8 @@ module BSSAP_CodecPort {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;

@ -1,5 +1,15 @@
module BSSGP_Emulation {
/* BSSGP Emulation in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;
import from Osmocom_Types all;
import from NS_Types all;

@ -1,5 +1,15 @@
module BSSGP_Types {
/* BSSGP type definitions in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;
import from Osmocom_Types all;
import from GSM_Types all;

@ -2,11 +2,14 @@ module BSSMAP_Templates {
/* BSSMAP Templates, building on top of BSSAP_Types from Ericsson.
*
* (C) 2017 by Harald Welte <laforge@gnumonks.org>
* (C) 2017-2019 by Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;

@ -1,5 +1,15 @@
module DNS_Helpers {
/* DNS Helper functions in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
private function f_strchr(charstring s, char c) return integer {
var integer i;
for (i := 0; i < lengthof(s); i := i+1) {

@ -1,4 +1,13 @@
/* dual-faced port that wraps an IPL4asp port and encodes/decodes GSMTAP */
/* dual-faced port that wraps an IPL4asp port and encodes/decodes GSMTAP
* (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0+
*/
module GSMTAP_PortType {
import from GSMTAP_Types all;
import from IPL4asp_PortType all;

@ -1,7 +1,14 @@
/* Encoding/Decoding routines for GSM System Information messages
* according to 3GPP TS 44.018 Version 12.3.0 Release 12 */
/* (C) 2017 by Harald Welte <laforge@gnumonks.org> */
* according to 3GPP TS 44.018 Version 12.3.0 Release 12
*
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GSM_RR_Types {

@ -1,7 +1,14 @@
/* Encoding/Decoding routines for GSM System Information messages
* according to 3GPP TS 44.018 Version 12.3.0 Release 12 */
/* (C) 2017 by Harald Welte <laforge@gnumonks.org> */
* according to 3GPP TS 44.018 Version 12.3.0 Release 12
*
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GSM_SystemInformation {

@ -1,7 +1,14 @@
/* Encoding/Decoding routines for GSM System Information messages
* according to 3GPP TS 44.018 Version 12.3.0 Release 12 */
/* (C) 2017 by Harald Welte <laforge@gnumonks.org> */
* according to 3GPP TS 44.018 Version 12.3.0 Release 12
*
* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GSM_Types {

@ -24,6 +24,8 @@ module GSUP_Emulation {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/

@ -5,11 +5,14 @@ module GSUP_Types {
* GSUP is a non-standard protocol used between OsmoMSC/OsmoSGSN and OsmoHLR
* in order to replace the complex TCAP/MAP protocol.
*
* (C) 2017 by Harald Welte <laforge@gnumonks.org>
* (C) 2017-2019 by Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;

@ -1,5 +1,14 @@
/* dual-faced port sitting on top of IPL4_asp UDP to encode/decode GTP */
/* (C) 2017 by Harald Welte <laforge@gnumonks.org */
/* dual-faced port sitting on top of IPL4_asp UDP to encode/decode GTP
* (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GTP_CodecPort {
import from IPL4asp_PortType all;
import from IPL4asp_Types all;

@ -1,3 +1,14 @@
/* GTP Emulation in TTCN-3
*
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GTP_Emulation {
import from IPL4asp_Types all;

@ -1,3 +1,14 @@
/* GTP Templates in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GTP_Templates {
import from General_Types all;

@ -4,11 +4,13 @@ module IPA_CodecPort {
* towards the IPL4asp port provider, and IPA primitives
* which carry the decoded IPA data types as payload.
*
* (C) 2017 by Harald Welte <laforge@gnumonks.org>
* (C) 2017-2018 by Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from IPL4asp_PortType all;

@ -8,11 +8,14 @@ module IPA_Emulation {
* GSUP. IT hence transcodes messages so the user can work with abstract data types rather
* than binary messages. It handles multiple packets inside one TCP segment.
*
* (C) 2017-2018 by Harald Welte <laforge@gnumonks.org>
* (C) 2017-2019 by Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from IPA_Types all;

@ -4,6 +4,8 @@
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/*

@ -4,11 +4,13 @@ module IPA_Types {
* Uses the TITAN "RAW" codec syntax to auto-generate encoder and decoder
* functions.
*
* (C) 2017 by Harald Welte <laforge@gnumonks.org>
* (C) 2017-2018 by Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from Osmocom_Types all;

@ -1,3 +1,13 @@
/* IPCP (IP Configuration Protocol) in TTCN-3
* (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module IPCP_Types {
import from Osmocom_Types all;

@ -11,9 +11,10 @@ module IuUP_Emulation {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from Osmocom_Types all;
import from IuUP_Types all;

@ -1,4 +1,14 @@
/* dual-faced port that wraps an Unixdomain port and encodes/decodes L1CTL */
/* dual-faced port that wraps an Unixdomain port and encodes/decodes L1CTL
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module L1CTL_PortType {
import from L1CTL_Types all;
import from UD_PortType all;

@ -1,6 +1,14 @@
/* Data Types / Encoding / Decoding for OsmocomBB L1CTL interface */
/* (C) 2017 by Harald Welte <laforge@gnumonks.org>, derived from l1ctl_proto.h
* (C) 2010 by Harald Welte + Holger Hans Peter Freyther */
* which is (C) 2010 by Harald Welte + Holger Hans Peter Freyther
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module L1CTL_Types {
import from General_Types all;

@ -1,3 +1,14 @@
/* Common L3 helper functions in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module L3_Common {
import from Osmocom_Types all;

@ -7,6 +7,8 @@ module L3_Templates {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;

@ -1,6 +1,16 @@
/* Test Port that stacks on top of L1CTL test port and performs LAPDm encoding/decoding, so the user can send
* and receive LAPDm frames in decoded TTCN-3 data types. This is particularly useful for sending/receiving
* all kinds of hand-crafted LAPDm frames for testing of the remote LAPDm layer */
/* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module LAPDm_RAW_PT {
import from GSM_Types all;
import from GSM_RR_Types all;

@ -1,5 +1,13 @@
/* LAPDm definitiona according to 3GPP TS 44.006 */
/* (C) 2017-2018 bh Harald Welte <laforge@gnumonks.org> */
/* LAPDm definitions according to 3GPP TS 44.006
* (C) 2017-2018 by Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module LAPDm_Types {
import from General_Types all;

@ -1,3 +1,14 @@
/* LLC Templates in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module LLC_Templates {
import from LLC_Types all;

@ -5,10 +5,13 @@ module MGCP_CodecPort {
* which carry the decoded MGCP data types as payload.
*
* (C) 2017 by Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from IPL4asp_PortType all;

@ -25,6 +25,8 @@ module MGCP_Emulation {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from MGCP_CodecPort all;

@ -27,6 +27,8 @@ module MNCC_Emulation {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/

@ -1,3 +1,15 @@
/* Osmocom MNCC type definitions in TTCN-3
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom -s.f.m.c. GmbH
* (C) 2018 Vadim Yanitskiy <axilirator@gmail.com>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module MNCC_Types {
import from Osmocom_Types all;

@ -1,3 +1,14 @@
/* GPRS-NS Emulation in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module NS_Emulation {
import from NS_Types all;
import from BSSGP_Types all;

@ -1,3 +1,13 @@
/* GPRS-NS type definitions in TTCN-3
* (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module NS_Types {
import from General_Types all;
import from Osmocom_Types all;

@ -1,7 +1,13 @@
/* Utility functions that I'm used to from C but for which I couldn't find TTCN-3 implementations
*
* (C) 2017 by Harald Welte <laforge@gnumonks.org>
* (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include <sys/socket.h>

@ -1,6 +1,15 @@
module Osmocom_CTRL_Adapter {
/* Module that test suites can 'inherit' in order to have a CTRL connection to the IUT which they're testing */
/* Module that test suites can 'inherit' in order to have a CTRL connection to the IUT which they're testing
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from IPL4asp_Types all;

@ -3,11 +3,13 @@ module Osmocom_CTRL_Types {
/* Definition of abstract types for the CTRL protocol as used in Osmocom.
* Uses the TITAN "TEXT" codec to auto-generate encoder/decoder functions.
*
* (C) 2017 by Harald Welte <laforge@gnumonks.org>
* (C) 2017-2018 by Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
type charstring CtrlVerb ("GET", "SET") with {

@ -1,3 +1,13 @@
/* Osmocom utility type definitions in TTCN-3
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module Osmocom_Types {
import from General_Types all;

@ -1,3 +1,14 @@
/* Osmocom VTY interface functions in TTCN-3
* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module Osmocom_VTY_Functions {
import from TELNETasp_PortType all;
import from Osmocom_Types all;

@ -5,6 +5,8 @@ module PAP_Types {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from Osmocom_Types all;

@ -1,3 +1,14 @@
/* PCU Interface codec poart in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module PCUIF_CodecPort {
import from Osmocom_Types all;

@ -1,10 +1,19 @@
/* Osmocom PCU Interface Types, as per osmo-pcu/include/osmocom/pcu/pcuif_proto.h
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* contributions by Vadim Yanitskiy <axilirator@gmail.com>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module PCUIF_Types {
import from General_Types all;
import from Osmocom_Types all;
/* Osmocom PCU Interface Types, as per osmo-pcu/include/osmocom/pcu/pcuif_proto.h */
const charstring PCU_SOCK_DEFAULT := "/tmp/pcu_bts";
const uint32_t PCU_IF_VERSION := 9;

@ -5,6 +5,16 @@ module RAN_Adapter {
* with deoded BSSAP/RANAP payload. Use this if you want to have full control about what you transmit or
* receive, without any automatisms in place. Allows you to refuse connections or other abnormal behavior. */
/* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;
import from Osmocom_Types all;

@ -1,7 +1,17 @@
/* GPRS RLC/MAC Control Messages as per 3GPP TS 44.060 manually transcribed from the CSN.1 syntax, as no CSN.1
* tool for Eclipse TITAN could be found. Implements only the minimum necessary messages for Osmocom teseting
* purposes.
* (C) 2017 by Harald Welte <laforge@gnumonks.org> */
* purposes. */
/* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module RLCMAC_CSN1_Types {
import from General_Types all;
import from Osmocom_Types all;

@ -4,6 +4,12 @@
* beyond what TITAN RAW coder can handle internally.
*
* (C) 2017 by Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
namespace RLCMAC__Types {

@ -1,4 +1,14 @@
/* TITAN REW encode/decode definitions for 3GPP TS 44.060 RLC/MAC Blocks */
/* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module RLCMAC_Types {
import from General_Types all;
import from Osmocom_Types all;

@ -21,6 +21,8 @@ module RSL_Emulation {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from Misc_Helpers all;

@ -9,6 +9,8 @@ module RSL_Types {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;

@ -9,6 +9,8 @@ module RTP_CodecPort {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from IPL4asp_PortType all;

@ -14,6 +14,17 @@ module RTP_Emulation {
* * enable/disable generation/verification of RTCP
*/
/* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/* Ideas:
* each component consists of transmitter and receiver

@ -3,6 +3,8 @@
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module SCCP_Templates {

@ -9,6 +9,8 @@ module SGsAP_CodecPort {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from IPL4asp_PortType all;

@ -23,6 +23,8 @@ module SGsAP_Emulation {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from SGsAP_CodecPort all;

@ -6,6 +6,8 @@ module SGsAP_Templates {
*
* Released under the terms of the GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from SGsAP_Types all;

@ -24,6 +24,8 @@ module SIP_Emulation {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from SIPmsg_Types all;

@ -9,6 +9,8 @@ module SMPP_CodecPort {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/

@ -7,6 +7,8 @@ module SMPP_Emulation {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/

@ -7,6 +7,8 @@ module SS_Templates {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;

@ -1,5 +1,15 @@
module TRXC_Types {
/* TRX Control protocol type definitions in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from Osmocom_Types all;
type charstring TrxcType ("CMD", "RSP", "IND") with {

@ -8,6 +8,8 @@ module USSD_Helpers {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;

@ -1,3 +1,14 @@
/* MGW (Media Gateway) test suite in TTCN-3
* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module MGCP_Test {
import from Osmocom_Types all;
import from MGCP_Types all;

@ -1,3 +1,15 @@
/* BSC Connection Handler of MSC test suite in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* (C) 2018 Vadim Yanitskiy <axilirator@gmail.com>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module BSC_ConnectionHandler {
import from General_Types all;

@ -1,5 +1,17 @@
module MSC_Tests {
/* Osmocom MSC test suite in in TTCN-3
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* (C) 2018-2019 Vadim Yanitskiy <axilirator@gmail.com>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
friend module MSC_Tests_Iu;
import from General_Types all;

@ -1,5 +1,15 @@
module MSC_Tests_Iu {
/* Osmocom MSC test suite for Iu interface in TTCN-3
* (C) 2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;
import from Osmocom_Types all;

@ -7,9 +7,10 @@ module GPRS_TBF {
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from GSM_Types all;
import from Osmocom_Types all;
import from General_Types all;

@ -1,5 +1,15 @@
module PCU_Tests {
/* Osmocom PCU test suite in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;
import from Osmocom_Types all;
import from GSM_Types all;

@ -6,6 +6,15 @@ module PCU_Tests_RAW {
standard procedures on the NS and BSSGP level. The goal of these tests is to test exactly
those NS and BSSGP implementations on the BSS (PCU) side. */
/* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all;
import from Osmocom_Types all;
import from GSM_Types all;

@ -1,5 +1,15 @@
module PCU_Tests_RAW_SNS {
/* Osmocom PCU test suite for IP Sub-Network-Service (SNS) in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later