Holger Hans Peter Freyther
5552afde47
end-to-end: Finally begin with some ofono based End-to-End tests
...
This is not much of a framework yet but it hopefully turns into
one over time. Begin with some helpers for using ofono.
2012-10-30 23:06:20 +01:00
Holger Hans Peter Freyther
d3cf0e8530
test: Add an example of doing a LU with OpenBSC/NITB
...
This is a very simple imperative example of doing a LU with
the NITB. It can also be used to provoke a lchan leak with
OpenBSC by commenting out the releaseAllSapis.
2012-10-26 22:49:36 +02: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
7cf7bfd045
misc: Ignore the generate vi files
2012-10-08 17:33:19 +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
Holger Hans Peter Freyther
ebdc56fcb1
TLV: Introduce isConditional, use the class selectors for comparison
2012-08-20 11:08:00 +02:00
Holger Hans Peter Freyther
b2491f15be
TLV: Move common parsing and writing routines into the TLV base
...
This can be used by the RSL, OML and in the future by the ISUP,
BSSAP, GSM48 code. This TLV approach appears to be nicer than the
previous ones I had.
2012-08-20 11:08:00 +02:00
Holger Hans Peter Freyther
c4f51a3275
BTS: Move the local variable into the block that is using it
2012-08-20 11:08:00 +02:00
Holger Hans Peter Freyther
61cf8af3e3
oml: Allocate the logical channels as part of the Opstart of the RadioChannel
2012-08-15 10:39:48 +02:00
Holger Hans Peter Freyther
a1246e1028
tests: Prepare a class that helps in writing GSM tests
...
The goal is to be able to bring up a BTS, ask for radio channels
and provide default handling for common messages. This is mostly
all varpoware right now.
2012-08-15 10:08:01 +02:00
Holger Hans Peter Freyther
fc1e13b8ae
bts: Add a method to send RSL messages
2012-08-15 10:00:04 +02:00
Holger Hans Peter Freyther
0f8b615f30
test: Improve the RSL test, verify that everything is of type TLVDescription
2012-08-15 09:59:45 +02:00
Holger Hans Peter Freyther
20d85e35be
bts: Create a way to wait for the BTS to be up and running
...
This will wait for the OML link and RSL link to be ready.
2012-08-15 09:58:52 +02:00
Holger Hans Peter Freyther
d3f470b0a9
rsl: Continue in defining RSL messages from GSM 08.58
2012-08-15 09:57:52 +02:00
Holger Hans Peter Freyther
39dc38ebd4
rsl: Start introducing RSL code not finished yet
2012-08-14 14:55:06 +02:00
Holger Hans Peter Freyther
b252b14b65
oml: Fix the order of file loading to properly extend the msg class
2012-08-14 13:29:37 +02:00
Holger Hans Peter Freyther
d9fc2f94f2
oml: Document some issues with the ip.access and OpenBSC OML code
2012-08-14 10:01:20 +02:00