1
0
Fork 0
Commit Graph

108 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther a3fc28999f rsl: Add setters for the failure messages 2014-04-19 14:57:53 +02:00
Holger Hans Peter Freyther 78e32dfe14 rsl: Add roundtrip test for Connection Failure 2014-04-19 14:26:59 +02:00
Holger Hans Peter Freyther 3003e7ad8a rsl: Implement parsing/generating the Error Indication message 2014-04-19 14:11:14 +02:00
Holger Hans Peter Freyther f680c11b5d rsl: Be able to parse the RSL Establish Request message 2014-04-19 12:14:14 +02:00
Holger Hans Peter Freyther b210343bb6 oml: Re-add the paging IE without the broken and unrelated testcase
The test-case was broken and for a completely different message type.
Just add the attribute right now and wait.
2014-04-19 11:10:55 +02:00
Holger Hans Peter Freyther 04c1437f79 oml/rsl: Catch-up with TLVDescription changes
With OML/RSL all Information Elements are tagged. OsmoNetwork has
been changed to not always emit a tag for TV/TLV fields. Introduce
an extension to make sure we always say that a tag needs to be
emitted.
2014-04-19 11:00:13 +02:00
Holger Hans Peter Freyther 96e0e3c6f0 Revert "oml: Handle another optional IPA extension to the message"
This reverts commit 98966df6f3.
2014-04-19 10:51:31 +02:00
Holger Hans Peter Freyther 98966df6f3 oml: Handle another optional IPA extension to the message 2013-12-10 16:23:39 +01:00
Holger Hans Peter Freyther f070893f8a bts: Dispatch SACCH deactivation used for test cases 2013-12-10 16:04:12 +01:00
Holger Hans Peter Freyther 6b652f549e oml: Add handling for the GetAttributes OML message 2013-12-10 15:05:28 +01:00
Holger Hans Peter Freyther 5800d96fb2 bts: Dispatch the l3Info of the encryption command to the lchan 2013-08-27 16:38:45 +02:00
Holger Hans Peter Freyther c9dd990360 rsl: Introduce the RSL Encryption Command 2013-08-27 16:38:45 +02:00
Holger Hans Peter Freyther c5fae333f8 lchan: Add a manual test to delay the channel activation ack
Check how OpenBSC will handle the delayed channel activation ack.
This is a manual test only right now.
2013-05-02 17:52:54 +02:00
Holger Hans Peter Freyther 23003259c8 handover: Add code for testing handover signalling with OpenBSC 2012-12-26 02:39:48 +01:00
Holger Hans Peter Freyther d54d1648d8 fakebts: Respond to the ipa MGCP endpoint commands and send indication
Respond to the CRCX, MDCX and generate a DLCX Ind at the end of the call.
2012-12-26 02:39:48 +01:00
Holger Hans Peter Freyther 6db40339de rsl: Implement the positive CRCX, MDCX and DLCX messages 2012-12-23 19:48:13 +01:00
Holger Hans Peter Freyther 6a514a588f fakebts: Respond with a Mode Modify ACK without any checking
Respond with a Mode Modify ACK from the dispatch, this could be
moved to the lchan to test ACK/NACK on this.
2012-12-23 19:42:15 +01:00
Holger Hans Peter Freyther 0d7ad9fea2 rsl: Add the mode modify and ack/nack messages, test the requeest parsing 2012-12-23 19:42:15 +01:00
Holger Hans Peter Freyther 99e04a9e56 fakebts: Add a selector to request a traffic channel
This code is not complete. It should check the NECI of the SIs and
then pick another mask. This is working for OpenBSC right now.
2012-12-23 19:42:15 +01:00
Holger Hans Peter Freyther 1ebfec2bbc fakebts: Implement forwarding the paging requests by the BSC
Code can use OpenBSCTest>>#bts to access the BTS and re-act to paging
by the BSC.
2012-12-23 19:42:15 +01:00
Holger Hans Peter Freyther e01a38431f rsl: Add the paging command to the rsl code and use GSM48 for parsing 2012-12-23 10:21:24 +01:00
Holger Hans Peter Freyther 7cd4ed9602 fakebts: Add the wrapping to allow to send messages on SAPI=3 2012-11-24 23:38:17 +01:00
Holger Hans Peter Freyther 4aa47e87b7 fakebts: Make it easy to do a LU and get the current TMSI from it
Tests that require sending a CM Service Request require a TMSI. Add
a selector that helps to get the TMSI so it can be used in tests.
2012-11-24 23:38:17 +01:00
Holger Hans Peter Freyther c5a334ef8b fakebts: Remove the SAPI when we receive a release request
Remove it before calling the block and sending the response. This
way the callback could re-add it for force a double release.
2012-11-24 23:38:17 +01:00
Holger Hans Peter Freyther abb65601c2 fakebts: Introduce a dualtrx version of the BTS.
Make it possible to have multiple baseband transceivers. Do this
by putting the code into a DualTrx file (it extends the base classes
with more code). Change the BTS code to use the TRX for dispatching
message.
2012-11-22 10:06:32 +01:00
Holger Hans Peter Freyther c1d6376633 fakebts: Test that creating a NACK creates a NACK message 2012-11-22 10:01:19 +01:00
Holger Hans Peter Freyther fecf0f68f9 nack: Test how the BSC will handle a NACK and that it does not drop the other BTS
Refactor the BTS and OMLInit code to allow to easily introduce
a NACK message at the required place. Implement the NACK for the
SetBTSAttributes in the OML code. Add the testcase and an the OpenBSC
NITB configuration needed
2012-11-11 18:25:04 +01:00
Holger Hans Peter Freyther bda9975da7 fakebts: Add the missing method needed for the LUTest
The LUTest created a BTS with a specific UnitId but the code was
not yet inside the OpenBSCTest class. Fix it by adding the selector.
Have two selectors to use the default of the FakeBTS.BTS code
2012-11-10 19:10:38 +01:00
Holger Hans Peter Freyther deb0ecdb00 bts: Make sure stopped is always initialized
When connecting to a wrong hostname the 'stopped' variable
might not be assigned.
2012-10-26 22:49:27 +02:00
Holger Hans Peter Freyther d8fac3b071 misc: Add a TODO with some random ramblings about what I want 2012-10-08 17:33:43 +02:00
Holger Hans Peter Freyther 58ec99af1b fakebts: Handle PDCH activation by ignoring most of it 2012-09-17 23:14:01 +02:00
Holger Hans Peter Freyther 0a5f330ebe faketbts: Do RSL on the right streamId
The BSC might do RSL on different streamIds... deal with that.
2012-09-17 14:13:49 +02:00
Holger Hans Peter Freyther f8a1a62bd0 fakebts: The mask code was wrong... remove it
Detecting these kind of failures will be quite easy with wireshark,
no need to attempt to do an entire validation.
2012-09-04 14:59:59 +02:00
Holger Hans Peter Freyther 799ac59418 test: Add code to require different kind of channels 2012-09-03 17:07:21 +02:00
Holger Hans Peter Freyther 39021215ba rsl: Handle a ReleaseRequest and call a callback on release 2012-09-03 16:56:22 +02:00
Holger Hans Peter Freyther c64d31aaa3 rsl: Add the release confirm message as response to ReleaseRequest 2012-09-03 16:54:58 +02:00
Holger Hans Peter Freyther c0bc8437d4 rsl: Use the Pragma to remove the many method definitions 2012-08-30 14:45:30 +02:00
Holger Hans Peter Freyther 5ed935d19a rsl: Be able to parse the Release Request and create one 2012-08-30 14:32:24 +02:00
Holger Hans Peter Freyther bd5cad89ac test: Add common code for the assertions and verification 2012-08-30 14:32:24 +02:00
Holger Hans Peter Freyther f4cd863b43 bts: Allow to set the ID of the faked BTS 2012-08-30 14:32:24 +02:00
Holger Hans Peter Freyther b3cd23c858 fakebts: Add an example testcase that sends a LU 2012-08-28 20:38:38 +02:00
Holger Hans Peter Freyther 1dfdc00e25 fakebts: Add helpers to send/receive/release lchans for a testcase 2012-08-28 20:37:58 +02:00
Holger Hans Peter Freyther 0c5c72e69b rsl: Be able to parse and generate the deactivate sacch message 2012-08-28 10:42:21 +02:00
Holger Hans Peter Freyther 07bca3b151 fakebts: Parse/generate the RSL Data Request message 2012-08-25 23:56:45 +02:00
Holger Hans Peter Freyther 166d6d49e2 fakebts: Move most of the release handling into the LCHAN class
The LCHAN will have the possibility to register blocks that can
decide if the channel release request will be followed or not. This
can be used to simulate assignment issues.
2012-08-25 23:56:45 +02:00
Holger Hans Peter Freyther 5629aeb5df rsl: Start to establish SAPIs and send establish indications
I will have to see how many problems occur due having to add/subtract
a 1 to get from smalltalk index to GSM index when dealing with the
lchan numbers.
2012-08-25 23:56:45 +02:00
Holger Hans Peter Freyther 2a9f7f5076 rsl: Start to parse/generate the RSL Establish Indication rll messages
The handling of the transparent flag shows a small flaw. For many
messages it depends on the direction of the message. It might be
the case that a message can flow both ways through the BTS.
2012-08-25 23:56:45 +02:00
Holger Hans Peter Freyther 540a515aa3 fakebts: Simplify the LChan allocation and remember the ts 2012-08-25 23:56:45 +02:00
Holger Hans Peter Freyther ef0422524d fakebts: Request a channel and wait for the assignment. 2012-08-25 23:56:45 +02:00
Holger Hans Peter Freyther c2fb957866 bts: Dispach the immediate assignment and find the lchan that is used. 2012-08-25 23:56:44 +02:00