1
0
Fork 0
Commit Graph

95 Commits

Author SHA1 Message Date
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
Holger Hans Peter Freyther bdf762c0dd rsl: Begin to dissect the rsl immediate assignment 2012-08-24 19:28:15 +02:00
Holger Hans Peter Freyther 6cb3a2bab5 rsl: Parse the full l3info with the GSM48MSG code 2012-08-24 19:28:15 +02:00
Holger Hans Peter Freyther 338d3bd32e fakebts: Begin to dispatch RSL messages to the transceiver 2012-08-24 19:28:14 +02:00
Holger Hans Peter Freyther 388f74229b rsl: Parse the Rf Channel related message and the immediate assignment 2012-08-24 19:28:14 +02:00
Holger Hans Peter Freyther dd58be49d6 tlv: Move the TLV from here into the OsmoNetwork package
Update the references to the TLV code as it is now inside the
OsmoNetwork package
2012-08-24 19:28:14 +02:00
Holger Hans Peter Freyther 038cc7833b misc: Change the order the files are loaded, load the OsmoNetwork package 2012-08-22 13:20:49 +02:00
Holger Hans Peter Freyther e38eb75bcd rsl: Start to parse the RSLChannelNumber and add a test 2012-08-22 13:15:56 +02:00
Holger Hans Peter Freyther b7db967cbd rsl: Share the channel attribute IE across all Messages 2012-08-20 17:42:13 +02:00
Holger Hans Peter Freyther 335dd4aee7 rsl: Be able to parse the Channel Activation message 2012-08-20 17:36:06 +02:00
Holger Hans Peter Freyther 9b8d70289a rsl: Start sending a channel required down the BTS link 2012-08-20 16:28:44 +02:00
Holger Hans Peter Freyther cc3e2e89e3 OML: Srinkle some state changed event reports to really bring OML Up
The OpenBSC code needs to know the new state of all objects. Due
some 'bugs' in both the ip.access and OpenBSC implementation the
state event changed report is not sent as a result of the Opstart
(where it should belong).
2012-08-20 14:06:42 +02:00
Holger Hans Peter Freyther f5bd0e668d RSL: Be able to parse the SACCH filling with a 16bit length in L3 Info
Parse the SACCH filling, the first TRX management message. Introduce
the possibility to parse and write a 16bit length.
2012-08-20 13:00:48 +02:00
Holger Hans Peter Freyther 129cd25fc5 RSL: Start parsing and generating RSL messages
Refactor the testcode and create a RoundTripTestCase class, start
with a RSLBCCHInformation class for parsing/writing it.
2012-08-20 11:08:00 +02:00