AgeCommit message (Collapse)AuthorFilesLines
2017-07-28library: Initial work on GPRS RLC/MAC encoder/decoderHarald Welte5-3/+726
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-25import Ericsson NS, ISUP, ROHC and SNDCP modules for TITANHarald Welte21-0/+13166
2017-07-24Add documentation for BSSGP moduleHarald Welte2-0/+0
2017-07-24Import BSSAP+, BSSGP, BSSMAP, GTP, GTPv2, LLC and MobileL3Harald Welte47-0/+28768
this has been kindly provided by Ericsson and will soon (September-ish) be released officially as FOSS on the git server.
2017-07-23Import CRC24 code from OsmoSGSN for LLC FCS computationHarald Welte2-0/+91
2017-07-23WIP: Add description of TS 48.064 LLC frames in TITAN TTCN-3Harald Welte1-0/+132
2017-07-23gprs_gb: NS + BSSGP operational with OsmoPCU, receiving LLC-PDUsHarald Welte4-32/+123
2017-07-23Add missing BSSGP_Emulation.ttcn fileHarald Welte1-0/+220
2017-07-23BSSGP: Fix order of IEs in BVC-RESET PDUHarald Welte1-1/+1
2017-07-23BSSGP: don't set length to '0' in t_BssgpIE() templateHarald Welte1-1/+0
2017-07-23gprs_gb: Build stack of NS and BSSGP emulation from test componentHarald Welte5-76/+320
We're already getting the NS link up and fail at the BSSGP RESET procedure at this point. The problem is erroneous encoding of the message.
2017-07-23BSSGP: Add various templates for common messagesHarald Welte1-0/+53
2017-07-23BSSGP: Define symbolic names for Cause valuesHarald Welte1-1/+46
2017-07-22gprs_gb: Add NS CodecPort + Emulation; Add NS selftestsHarald Welte9-35/+435
2017-07-22Expand BSSGP helpers + codec to cover expansion + compactionHarald Welte4-9/+228
2017-07-22WIP: BSSGP related hepler functions; towards testsHarald Welte6-0/+488
2017-07-19move lapd to lapdm (it was a mis-nomer)Harald Welte5-0/+0
2017-07-19move L1CTL modules to library for easier sharing with other test suitesHarald Welte3-1/+1
2017-07-19Move VTY utility functions to new Osmocom_VTY_Functions moduleHarald Welte3-100/+105
... so it can be reused from other Testsuites/modules
2017-07-19Introduce 'library' directory for modules shared by multiple test casesHarald Welte10-1/+327
2017-07-17Add LAPDm test case about SABM contentionHarald Welte1-5/+43
2017-07-17don't match on L1CTL SAPI in received framesHarald Welte1-9/+9
L1 has no idea about the SAPI encoded in LAPDm when it passes a PH-DATA.ind up to us. So dont match on that L1CTL field, only match the SAPI we decoded from LAPDm header.
2017-07-17Add new LAPDm RAW portHarald Welte3-84/+379
This is a Test Component which sits on top of L1CTL (which in turn is on top of the Unix Domain Socket Test Porrt). It performs LAPDm message encoding/decoding, so we can use the regular send() / receive() methods and associated template matching to send/receive/match LAPDm in a comfortable way.
2017-07-17fix ts_RslLinkID_SACCH templateHarald Welte1-2/+5
2017-07-17export more encoder/decoder functions for LAPDm RAW coder debugginHarald Welte1-0/+12
2017-07-17LAPDm_Types: re-order fields of LapdmCtrl definitionsHarald Welte1-31/+57
for some reason, the "TAG()" matic of TITAN RAW decoder seems to fail when we use FIELDORDER(msb) and match on a field that's not the first field of the sub-record :/ Re-ordering the fields into LSB order seems to resolve this.
2017-07-17L1CTL_Types: Fix copy+paste error in t_L1CTL_DM_REL_REQHarald Welte1-1/+1
t_L1CTL_DM_REL_REQ shouldn't generate an DM_EST_REQ !
2017-07-16l1ctl/lapdm test infrastructure: Move helper functions outHarald Welte4-203/+263
moving all templates into L1CTL_Types as well as helper functions into L1CTL_PortType allows us to have a clean L1CTL_Test.ttcn where we can focus on actual test cases. At the moment it's just a PoC that can establish dedicated mode and send a SABM frame to the BTS, which is properly echo'ed back in the UA, as expected for contention resolution.
2017-07-16L1CTL Test: Get all the way up to dedicated channel establishmentHarald Welte2-4/+217
The code is now a proof of concept to establish a dedicated channel via virt_um, at which point we can exchange L2 messages with the BTS.
2017-07-16GSM_Types: Add function to compute request reference from RA + FNHarald Welte1-1/+17
2017-07-16GSM_TypeS: Add RSL Link IdentifierHarald Welte1-0/+51
2017-07-16GSM_TypeS: Add Mobile Identity type 'NONE'Harald Welte1-4/+12
2017-07-16ChannelDescription sometimes used as V, sometimes as LV fieldHarald Welte2-8/+9
2017-07-16L1CTL: Fix GSM Frame Number (uint32_t, not least bits required for integer)Harald Welte1-1/+1
2017-07-16L1CTL: Use RSL Channel Number definition for proper decodeHarald Welte1-3/+2
2017-07-16GSM_Types: Add RSL channel number IE encoder/decoderHarald Welte1-0/+63
2017-07-16Export encoding/decoding functions of RR MessageHarald Welte1-0/+5
2017-07-16Implement L1CTL port type (dual-faced port on top of UnixDomain)Harald Welte5-1/+114
2017-07-16first steps towards a L1CTL / LAPD testHarald Welte6-0/+484
The idea here is to implement the L1CTL protocol in TTCN-3 so we can speak it over a unix domain socket (test port) for simple tasks such as activating dedicated mode. This can then subsequently be used for LAPDm testing
2017-07-16GSM_Types: More 44.018 + 24.008 definitions for RRHarald Welte3-69/+334
2017-07-16sysinfo: Add SI contents validationHarald Welte1-0/+260
Next to verifying the SI scheduling, we now also verify the contents of SI messages depending on the VTY configuration
2017-07-16sysinfo: Hugely reduce warnings about unused return valuesHarald Welte1-2/+6
2017-07-16use testcase.stop() in case of errors of the test systemHarald Welte1-9/+8
2017-07-16add SI3 matching templateHarald Welte1-2/+16
2017-07-16Match "Unknown command" even if preceded by other stringsHarald Welte1-1/+1
2017-07-16sysinfo: Fail in case VTY returns "Unknown command"Harald Welte1-3/+4
2017-07-16sysinfo: Further simplification of codeHarald Welte1-33/+59
2017-07-16sysinfo: Enforce "1 out of 4" kind of scheduling requirementsHarald Welte1-19/+78
2017-07-16sysinfo: make timeouts a bit shorter for faster test exscutionHarald Welte1-3/+3
2017-07-16Add more SI scheduling testing code, towards a real test suiteHarald Welte2-27/+231