1
0
Fork 0
Commit Graph

49 Commits

Author SHA1 Message Date
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
Holger Hans Peter Freyther 3ce666ad36 oml: Add some documentation/TODO for the OMLInit object 2012-08-14 10:01:00 +02:00
Holger Hans Peter Freyther 38b7345b70 oml: Use double dispatch for the ChannelCombination
On OpStart dispatch the channel attributes to (in the future)
allocate the right channels.
2012-08-14 10:00:19 +02:00
Holger Hans Peter Freyther 01d9958c8e oml: Parse the channel combination O&M field
Provide accessors and number to name resolving.
2012-08-14 09:59:41 +02:00
Holger Hans Peter Freyther 5c0d5e8882 oml: Wait for the process tree to be taken down 2012-08-12 09:00:58 +02:00
Holger Hans Peter Freyther f8e55d702e oml: Initialize all RadioChannels 2012-08-12 08:50:24 +02:00
Holger Hans Peter Freyther 380483fc97 bts: Send a dummy RSL message so OpenBSC will initialize the SIs 2012-08-12 08:46:33 +02:00
Holger Hans Peter Freyther b9292985ba bts: Print less messages, fix the strings 2012-08-12 08:46:13 +02:00
Holger Hans Peter Freyther 8b78479586 oml: Fix the exclusion of this IPAOMLMsg base class 2012-08-12 08:45:39 +02:00
Holger Hans Peter Freyther cacd41afc6 oml: Connect the RSL stream as a response to the IPA RSL Connect 2012-08-11 15:12:23 +02:00
Holger Hans Peter Freyther 7c80821387 oml: Respond to the IPA RSL Connect message after the TRX is started 2012-08-11 14:49:01 +02:00
Holger Hans Peter Freyther 3308910701 oml: Parse and generate IPAOMLRSLConnect messages 2012-08-11 14:48:57 +02:00
Holger Hans Peter Freyther 75d0020dc6 oml: Fix addressing of objects, honor the object class. 2012-08-11 14:33:30 +02:00
Holger Hans Peter Freyther 5bac8af8df oml: Test round trip for SetRadioCarrierAttributes parsing and creation 2012-08-11 14:33:30 +02:00
Holger Hans Peter Freyther 554a0bbccc oml: Get the BTS Instance to the point it will be enabled 2012-08-11 14:33:30 +02:00
Holger Hans Peter Freyther 84c5440d9c oml: Attributes should be set before the opstart, deal with it. 2012-08-10 23:54:10 +02:00
Holger Hans Peter Freyther 94c1f1baf1 oml: Refactor and move the OML init sequence to a class
Using specialization we can tweak it for the different objects.
2012-08-10 23:34:56 +02:00
Holger Hans Peter Freyther 3993d98d13 oml: Implement parsing and generating "Set BTS attributes"
Introduce a typeKind to the TLV and the possibility to specify
the valuesize to read. Use the new >>#writeOn:with: and
>>readFrom:with: selectors to pass the TLV code into the field.
2012-08-10 20:11:08 +02:00
Holger Hans Peter Freyther bbd8f86bb1 bts: Work on bringing up the BTS Object Instance 2012-08-10 20:11:08 +02:00
Holger Hans Peter Freyther dfa26b01fc oml: New approach to the init. We will have separate processes
We start with a SM process, that will spawn the BTS process
which will spawn... communication will occur through queues,
dispatching will happen through the OML queue.
2012-08-10 17:03:23 +02:00
Holger Hans Peter Freyther 3cda1acc92 oml: Continue with the init sequence of the BTS init, create acks 2012-08-10 14:16:56 +02:00
Holger Hans Peter Freyther bcde37bce0 oml: Move creation of the SW Acti* report generation into a new selector 2012-08-10 14:15:13 +02:00
Holger Hans Peter Freyther 7dc484f5d4 oml: Move the status/query into a new selector 2012-08-10 14:13:16 +02:00
Holger Hans Peter Freyther 80f3e2b28c oml: Test parsing and creating the Activate Software message 2012-08-03 20:53:57 +02:00
Holger Hans Peter Freyther 601ec9c9fa oml: Move the init into a new class/method.
The goal is to a list of statements for the entire init instead
of just being state driven. I will also experiment with continuations
and then take this experience to the call control code of the MSC.
2012-08-03 19:55:28 +02:00
Holger Hans Peter Freyther 36933f5734 oml: Create generic parsing and generation routines
Use the new TLVDescription to create a writer and parser for
all parts. The existing testcases pass again.
2012-08-03 18:50:07 +02:00
Holger Hans Peter Freyther 82d0aec34e tlv: Another attempt at a generic TLV parser structure
This is another attempt to describe the structure of messages. It
is somehow related to the MessageStructure of OsmoNetwork and a bit
more like Magritte now. This all needs to be merged some how.
2012-08-03 11:12:25 +02:00
Holger Hans Peter Freyther 2f04ea29fa oml: Send a proper SW Configuration object, start after the id request 2012-08-01 17:36:35 +02:00
Holger Hans Peter Freyther f19ff30452 oml: Generate a SW Activate Request and send it to the BSC 2012-08-01 15:53:28 +02:00
Holger Hans Peter Freyther 8d0177668c oml: Activate the sitemanager and all other objects
The next stop is to send software activation requests and handle
more state changes.
2012-08-01 00:20:18 +02:00
Holger Hans Peter Freyther 6d3743b1ee oml: Add the administrative state to the State Changed Event for the nanoBTS
The admin state does not appear to be part of the normal State
Changed Event, include it to be compatible.
2012-07-31 23:45:14 +02:00
Holger Hans Peter Freyther 7c6369891f oml: Work on generating OML/FormattedO&M messages
* Create OMLMsg, test the generation of the State Changed
  Event Report
* Create a child/parent relationship of the objects
* Prepare to initialize the SiteManager once the OML link is connected
2012-07-31 22:43:41 +02:00
Holger Hans Peter Freyther 3ac32c7f48 fakebts: Begin with basic GSM 12.21 support for the fakebts 2012-07-30 22:15:16 +02:00
Holger Hans Peter Freyther f66fdc874f fakebts: Add a fake BTS... currently can only open an OML connection 2012-07-30 20:24:57 +02:00