Commit Graph

3260 Commits

Author SHA1 Message Date
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
Harald Welte 6f3c223b9a GSM_Types: Fix RSL Chanenl number encoding; Add OSMO_PDCH extension 2017-07-30 17:17:12 +02:00
Harald Welte 1b9b77096d GSM_RR_Types: Parse PacketChannelDescription 2017-07-30 04:19:14 +02:00
Harald Welte 9419c8aff7 Split RR portion of GSM_Types into GSM_RR_Types 2017-07-30 04:07:35 +02:00
Harald Welte 77bab25556 BSSGP: Avoid unbound length integer in IE template 2017-07-30 00:53:08 +02:00
Harald Welte 958700ac3c BSSGP_Types: Add IMSI and TMSI IE + related templates 2017-07-30 00:52:39 +02:00
Harald Welte d335cbcdb9 L1CTL_Types: Make t_RR_IMM_ASS match also TBF assignments 2017-07-30 00:51:23 +02:00
Harald Welte 00d4dace72 L1CTL_Types: Add upcoming L1CTL_TBF_CFG_{REQ,CONF}
Related primitives are used to configure L1 for GPRS / TBF operation
2017-07-30 00:50:32 +02:00
Harald Welte c84d847f01 GSM_Types: Fix encoding of RSL Channel numbers 2017-07-30 00:49:56 +02:00
Harald Welte bda65a31f5 GSM_Types: Fix MobileIdentity 2017-07-30 00:49:04 +02:00
Harald Welte d1209a6f04 Move "connect to L1CTL and RESET" function from LAPDm_RAW_PT to L1CTL_PortType 2017-07-29 12:55:06 +02:00
Harald Welte 484160bf21 library: Initial work on GPRS RLC/MAC encoder/decoder
For Downlink and Uplink RLC/MAC Control blocks this is already working
quite nicely.  Data blocks is not working, as their encoding cannot be
expressed in TTCN-3 RAW syntax, and a mixture of C++/native and
RAW-generated coder will be required.
2017-07-28 13:30:24 +02:00
Harald Welte 9a8f503f9a import Ericsson NS, ISUP, ROHC and SNDCP modules for TITAN 2017-07-25 08:23:52 +02:00
Harald Welte 96a06c4373 Add documentation for BSSGP module 2017-07-24 13:27:41 +02:00
Harald Welte a814f263cc Import BSSAP+, BSSGP, BSSMAP, GTP, GTPv2, LLC and MobileL3
this has been kindly provided by Ericsson and will soon (September-ish)
be released officially as FOSS on the eclipse.org git server.
2017-07-24 13:21:35 +02:00
Harald Welte 336959fc3c Import CRC24 code from OsmoSGSN for LLC FCS computation 2017-07-23 21:58:04 +02:00
Harald Welte e38fd7b4ce WIP: Add description of TS 48.064 LLC frames in TITAN TTCN-3 2017-07-23 21:03:02 +02:00
Harald Welte 13d391ea87 gprs_gb: NS + BSSGP operational with OsmoPCU, receiving LLC-PDUs 2017-07-23 19:52:33 +02:00
Harald Welte 1733a38561 Add missing BSSGP_Emulation.ttcn file 2017-07-23 17:26:17 +02:00