Commit Graph

2528 Commits

Author SHA1 Message Date
Harald Welte 12000e2a7a mgw: Use official Titan SDP library for encode/decode of SDP in MGCP 2017-09-14 22:43:08 +08:00
Harald Welte 2871d0b000 mgw: Add missing mandatory "s=" to SDP of c_mdcx4 2017-09-14 22:42:12 +08:00
Harald Welte 00a067f54d Add minimal MGCP parser/encoder based on TEXT codec 2017-09-13 23:27:17 +02:00
Harald Welte ab4ca94c8c ggsn: Extend IPCP PDP IPv4 test with another PCO protocol beyond IPCP
This is to test for a bug that osmo-ggsn fixed in Icc2e6716c33d78d3c3e000f529806228d8aa155e
2017-09-07 18:41:52 +02:00
Harald Welte 244cd8acf7 sysinfo: Fix the TC_telnet test case VTY command order 2017-08-26 09:25:20 +02:00
Harald Welte 3ab91d6ae4 GGSN_Tests: Fix IPv4 PCODNS matching 2017-08-25 14:46:39 +02:00
Harald Welte b26cfffeda LAPDm_RAW_PT: Use default L1CTL socket
The L1CTL socket path can be configured as module parameter of
the L1CTL_PortType module, so there's no need in repeating that
configuration inside LAPDm_RAW_PT
2017-08-25 09:56:47 +02:00
Harald Welte 5fe11cd6b0 sysinfo: Use ttcn3-parallel (to unify with other test suiets) 2017-08-20 23:08:57 +02:00
Harald Welte 0b7545dff1 sysinfo: build dynamic to enable use of junit-xml logfile plugin
also remove libnetfilter-conntrack linkage, whcih was a copy+paste
error.
2017-08-20 22:59:13 +02:00
Harald Welte f68765d2e5 L1CTL_PortType: Make osmocom_l2 socket configurable as module parameter 2017-08-20 22:54:57 +02:00
Harald Welte f97649269a sysinfo: Fix compilation 2017-08-20 22:47:44 +02:00
Harald Welte 4d7722900a generalize 'start.sh' script for executing synamically linked testsuite 2017-08-19 15:27:10 +02:00
Harald Welte 8b4123f67f GGSN_Tests: Enable junit-xml generation 2017-08-19 15:18:13 +02:00
Harald Welte 303c19ad63 Add Native_Functions module for inet_addr / inet_ntoa 2017-08-19 13:52:36 +02:00
Harald Welte ddeecbb4ed GGSN_Tests: Make SGSN and GGSN addresses configurable via modulepar 2017-08-19 11:50:08 +02:00
Harald Welte 99ef9a446c GGSN_Tests: Verify EUA and PCO in PDP context creation
The EUA and PCO of the created PDP context mustmatc wat we sent in the
request.
2017-08-14 21:42:03 +02:00
Harald Welte 0ef285bbe9 GGSN_Tests: Comment on each test case 2017-08-13 20:06:01 +02:00
Harald Welte dca8005080 GGSN_Tests: Actually request the right IPv4 PCO according to the test case
Missing: Verification of returned PCO
2017-08-13 20:01:38 +02:00
Harald Welte 11dbc7b6cc GGSN_Test: Use randomized sequence numbers in every test 2017-08-13 18:57:56 +02:00
Harald Welte 41575e9bc2 GGSN_Tests: remove unneeded ctx argument from f_send_gtpc() 2017-08-13 13:49:57 +02:00
Harald Welte f48a907868 GGSN_Tests: Add config file 2017-08-13 13:29:52 +02:00
Harald Welte ed09743af5 GGSN_Tests: Randomize IMSIs and use different APN for v4 + v6 2017-08-13 13:28:49 +02:00
Harald Welte 0be142b7bf GGSN_Tests: Make sure f_init() body is traversed only once
We don't want the sequence numbers to be random-reinitialized
on every test case, but only once.
2017-08-13 13:28:10 +02:00
Harald Welte 5438b9dc27 GGSN_Tests: Sequence numbers are node-global and not per-PDP context 2017-08-13 13:27:48 +02:00
Harald Welte ed7a17750f GGSN: Test PDP Context activation wtih different PCOs 2017-08-09 20:26:20 +02:00
Harald Welte 231b94190c GGSN IPv6: Transmit Router Solicit, receive RouterAdv, transmit NeightSolicit 2017-08-09 17:16:31 +02:00
Harald Welte f1471e79cc link/use IP and ICMPv6 ProtocolModules
We will use them for router solicitation/advertisements soon
2017-08-09 01:34:51 +02:00
Harald Welte 811651ebdc GGSN_Tests: Get it up to PDP Ctx ACT, GTP-U and Ctx DEACT 2017-08-05 15:25:06 +02:00
Harald Welte f1e0d5a39f GGSN_Tests: Add function to send DELETE PDP CONTEXT 2017-08-05 08:51:22 +02:00
Harald Welte 3af89489ba GGSN_Tests: Implement GTP-U ping/pong response 2017-08-04 16:20:23 +02:00
Harald Welte 876345e460 GGSN_Tests: Prepare for separate IPs on control/user plane 2017-08-04 16:19:59 +02:00
Harald Welte 94ade368e0 GGSN_Tests: Add first functional PDP context activation tests for v4 + v6 2017-08-04 00:36:55 +02:00
Harald Welte d418fc6bb5 GTP: convert from translation port to dual faced port
I spent numerous hours in trying to avoid the dual faced port from
segfaulting, but in the end didn't succeed :(

The easy way was then simply to fall back to the known-working pattern
of the dual-faced port, which I already successfully used also on the NS
module for the Gb Inteface
2017-08-04 00:35:45 +02:00
Harald Welte 627c7c7dfa Revert "GTP: Attempt to use UDP_Testport instead of IPL4asp"
This reverts commit a967f3f50e.
2017-08-03 18:17:02 +02:00
Harald Welte a967f3f50e GTP: Attempt to use UDP_Testport instead of IPL4asp 2017-08-03 18:06:57 +02:00
Harald Welte 2560608fb7 First attempt with TranslationPort fails in CtrlFunctions 2017-08-03 17:00:40 +02:00
Harald Welte 379d45aba6 initial template for GGSN / GTP test cases 2017-08-03 09:55:15 +02:00
Harald Welte 9d3485243a RLCMAC: Integrate encoding/decoding of Control Message Payload
Rlcmac{Dl,Ul}CtrlBlock now contain Rlcmac{Dl,Ul}CtrlMsg rather
than an octetstring payload.
2017-08-01 00:27:39 +02:00
Harald Welte 422f072176 RLCMAC_CSN1: Add "other" for not-yet-implemented message types 2017-08-01 00:27:06 +02:00
Harald Welte 4b6c772b15 LAPDm_RAW_PT: Add support for TBF mode (GPRS) 2017-08-01 00:07:12 +02:00
Harald Welte 1dcc371539 Add Definitions for GPRS coding schemes 2017-08-01 00:05:52 +02:00
Harald Welte 2072ab6698 RLCMAC: enc__RlcmacUlDataBlock: fix 'omit' for PFI / TLLI
It's not sufficient to check if the value is bound; we must also make
sure that the value is not OMIT.
2017-07-31 18:33:35 +02:00
Harald Welte 78a1af6782 RLCMAC: Fix encoding/decoding of 'union' types
We must supply hand-written C++ functions for encoding/decoding
the union types.
2017-07-31 17:33:56 +02:00
Harald Welte 5aa500791e move LAPDm_types to library + make lapdm executable compile again 2017-07-31 16:15:56 +02:00
Harald Welte efbc2fca24 RLCMAC: Add Rlcmac{Ul,Dl}Block unions to cover both Control + Data blocks 2017-07-31 00:19:13 +02:00
Harald Welte cf28881687 move LAPDm_RAW_PT.ttcn to library 2017-07-30 22:52:27 +02:00
Harald Welte ffcad68801 lapdm: Updated to recent changes in library code (make it compile again) 2017-07-30 22:51:04 +02:00
Harald Welte 43e060a50d Add hand-written encoder/decoder for RLC/MAC UL/DL data blocks
Their format is simply too complex to be used with the automatic RAW
encoder/decoder.  Let's implement it by hand, using the automatic
coder whenever possible.
2017-07-30 22:38:03 +02:00
Harald Welte 88849c61b2 L1CTL_Types: Split t_IMM_ASS() off t_RR_IMM_ASS()
It's useful to have a separat template only for the IM_ASS part, without
RR header.
2017-07-30 17:19:41 +02:00
Harald Welte b3c226ebde L1CTL_Types: Add support for L1CTL_DATA_TBF_{REQ,CONF}
Those two L1CTL primitives are extensions of L1CTL for GPRS operation
2017-07-30 17:19:24 +02:00