1
0
Fork 0
Commit Graph

133 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther d1a00d9797 systemtest: First run at a simple systemtest 2016-08-16 14:58:32 +02:00
Holger Hans Peter Freyther 91ef01ca73 ussd: Add nokia registerSS message not handled by NITB 2016-08-15 21:13:50 +02:00
Holger Hans Peter Freyther 4cd403960d test: Add a ussd test for an issue seen at the 30C3
I don't have all the details from the 30C3 in mind anymore but
the interrogateSS lead to phones being un-happy.
2014-04-19 15:02:22 +02:00
Holger Hans Peter Freyther f453b4cc48 test: Add a DoubleRelease for something seen on a Rhizomatica deployment
The combination of SAPI=3 not being established, the T200 expiring
and a general SACCH Connection Failure is apparently leading to the
NITB releasing a channel twice!
2014-04-19 15:00:17 +02:00
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 bdb064746c test: Add a manual test for the delayed rf channel release ack 2013-05-02 19:31:55 +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 0c12e43d1e nat: Add a testcase for authentication to the nat 2013-03-19 22:47:14 +01:00
Holger Hans Peter Freyther 7b301d401b CP-ERROR loop test.. 2013-01-13 15:11:03 +01:00
Holger Hans Peter Freyther ea00206218 ofono: Add an example to power-on modems and find them 2012-12-28 14:58:42 +01:00
Holger Hans Peter Freyther f9baaf867d imsi_detach: Add testcase for the crash Tobias experienced on IMSI detach
A simple IMSI detach could crash the nitb application. It has been
fixed but this should be a regression test.
2012-12-26 02:40:03 +01: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 314d1339a8 sacch: Add a testcase for channel release with no LAPDm UA/UM
Test that the channel is released even when a phone does not
release the main signalling link. This is simulated by ignoring
the GSM48 RR channel release and waiting for two SAPI release
requests.
2012-12-12 20:00:55 +01:00
Holger Hans Peter Freyther 648c1e8e6a lutest: Fix the typo in the commit message 2012-12-01 23:29:37 +01:00
Holger Hans Peter Freyther 1795a8f6aa sms: Add a very basic test for MO-SMS error paths.
Start with the SMS instead of the CM Service Request. This ends up
having the lchan open forever in current osmo-nitb HEAD. Add a second
test that sends a wrong PDU and doesn't answer the CP-DATA with an
CP-ACK. The nitb code does not crash and will eventually take down
the channel.
2012-11-24 23:42:08 +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 f338470da9 sms: Fix the test for sending SMS (still not verifying the result)
Handle failures to cancel a SMS gracefully (as the SMS could have
been submitted from query to delete), handle registeration failures
properly by ignoring them (the modem has a valid SIM card and eventually
should be able to register).
2012-11-10 19:06:52 +01:00
Holger Hans Peter Freyther 27bfbde0b5 vty: Properly extract the extension, before the LAC was extracted 2012-11-10 19:01:35 +01:00
Holger Hans Peter Freyther e73e749b56 ofono: Create the first test for SMS sending 2012-11-10 11:45:18 +01:00
Holger Hans Peter Freyther 4e71d22a80 ofono: Beging with a baseclass for testing with the NITB 2012-11-09 19:49:32 +01:00
Holger Hans Peter Freyther 4c7e84f080 ofono: Remove the SmsWatcher.. but add an easy way to register 2012-11-09 19:49:32 +01:00
Holger Hans Peter Freyther 62004b3e26 osmocom: Enable access to sms and sim functions in preparation for the test 2012-11-09 19:49:32 +01:00
Holger Hans Peter Freyther e13ebca30a osmocom: Add a simple helper to query OpenBSC/NITB for some status 2012-11-09 19:49:32 +01:00
Holger Hans Peter Freyther a44c76a73a modem: Only modems without a SIM will be switched off, wait longer
Switch of modems without a SIM card as they might have a SIM card
now but thee is no simcard detection. Increase the sleep time to
wait for modems to become available.
2012-11-09 19:49:32 +01:00
Holger Hans Peter Freyther 8810241b04 ofono: Add some modem detection code to find active modems 2012-11-09 19:49:32 +01:00
Holger Hans Peter Freyther a91e75bac6 ofono: Make the code class based to wrap ofono/dbus.. 2012-11-09 19:49:32 +01:00