summaryrefslogtreecommitdiffstats
path: root/lapdm
AgeCommit message (Collapse)AuthorFilesLines
2019-06-02move lapdm/L1CTL_Test.ttcn to bts/BTS_Tests_LAPDm.ttcnHarald Welte1-252/+0
Change-Id: Ibbc967f0bd9a19ab4bbd17f612654d72cb32d571
2019-06-01lapdm: Rename 'dummy_CT' to more reasonable 'lapdm_test_CT'Harald Welte1-12/+12
Change-Id: If72542f665a814bcda7c41120675a57ccf3407f4
2019-05-30lapdm: fix comment 'thinko' about which type of message is retransmittedHarald Welte1-1/+1
Change-Id: I6585fc9f7e5e9fb57fe65372d0a14d68a939b73a
2019-05-30lapdm: Enable all tests in control sectionHarald Welte1-2/+0
Change-Id: I0f402110c4387b334a55455221f596fcb5c7bc59
2018-10-24Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handlingDaniel Willmann1-1/+1
This function can now be called from anywhere to try and safely shutdown a testcase. It is not optimal as we can't call "all component.stop" from outside the mtc, but without any proper and orderly shutdown handling of all our emulation components I believe this is the best we can do. To use it: import from Misc_Helpers all; in your module and then call Misc_Helpers.f_shutdown(__BFILE__, __LINE__); You can also pass the function a verdict and a message and it will take care of calling setverdict, but beware of the following: While setverdict would accept any number of arguments as log message and convert them to a log string f_shutdown expects one charstring. It's possible to use the log2str function to use the log arguments in setverdict for f_shutdown, for example setverdict(fail, "Template didn't match: ", tmpl_foo); would become Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, log2str("Template didn't match: ", tmpl_foo)); Change-Id: I84d1aa6732f6b748d2bfdeac8f6309023717f267
2018-04-18LAPDm: Re-structure: Merge Frame type A+B which are really the sameHarald Welte1-19/+19
A is B with zero-length payload. No need to separate them. Change-Id: I7b3079899f42a61d67be03e3a17346af80d7b3be
2018-03-16ignore results of .ttcnpp filesNeels Hofmeyr1-0/+2
Add another macro ignore_pp_results to gen_links.sh.inc and call from all gen_links.sh files, to add results of *.ttcnpp files, i.e. generated *.ttcn files, to .gitignore. Change-Id: Ic7fb176226771212d7700dafaf27ac71f12a4a61
2018-03-16fix gen_links.sh: don't include source dir as link targetNeels Hofmeyr1-8/+1
First of all, use one common place to define the gen_links() macro, in gen_links.sh.inc. In this new file, add a 'shift' to exclude the $DIR arg from also appearing in $FILES. This prevents the following wrong symlinks in the source dirs: M3UA_CNL113537/src/src MTP3asp_CNL113337/src/src SCCP_CNL113341/src/src Change-Id: Ia8493e77df1ba8723f2c5d2a49816247b0fb55f7
2018-02-27L1CTL: Add message segmentation helper via getMsgLen()Harald Welte2-2/+5
As L1CTL is using a stream socket, we need to give the UNIX_DOMAIN port some clue as to where our L1CTL message boundaries are in the stream. This requires a patched UNIX_DOMAIN_SOCKETasp test port with the following commit applied: commit 655cb4ab2ac006b3a73d1b679c83081d9743410a Author: Harald Welte <laforge@gnumonks.org> Date: Sun Feb 25 23:25:46 2018 +0100 Add "getMsgLen" function similar to IPL4asp_PT Change-Id: Iab33f57cb4311180e521a76307a552d16287b062
2017-12-13generalize shared code from regen_makefile.sh into shared helper scriptHarald Welte1-9/+1
Change-Id: I86a738420851a7d9e3bdb2671f6862c3d505a4ba
2017-12-13regen_makefile.sh: Fix TITAN 6.1.0 supportHarald Welte1-1/+1
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-12Makefile: clone dependencies into 'deps' folderHarald Welte1-1/+1
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-08regen_makefile.sh: Add Regex's for TITAN 6.3.0Harald Welte1-0/+4
The TITAN 6.3.0 makefile generator needs some new regular expressions for patching the generated makefile to work on Debian
2017-07-31move LAPDm_types to library + make lapdm executable compile againHarald Welte3-204/+2
2017-07-30move LAPDm_RAW_PT.ttcn to libraryHarald Welte2-246/+1
2017-07-30lapdm: Updated to recent changes in library code (make it compile again)Harald Welte5-5/+58
2017-07-29Move "connect to L1CTL and RESET" function from LAPDm_RAW_PT to L1CTL_PortTypeHarald Welte1-5/+1
2017-07-19move lapd to lapdm (it was a mis-nomer)Harald Welte5-0/+683