summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-10 15:06:00 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-10 16:23:39 +0100
commit98966df6f3875d21d3b704f9f20ce80c9b34253e (patch)
treececdf102b16a16b985900351034ae006ea719e2e
parentf070893f8a2724807c6c614b07955a9ff8ec4d50 (diff)
oml: Handle another optional IPA extension to the message
-rw-r--r--fakebts/OMLMsg.st5
-rw-r--r--fakebts/Test.st6
2 files changed, 10 insertions, 1 deletions
diff --git a/fakebts/OMLMsg.st b/fakebts/OMLMsg.st
index 91f9402..8569d85 100644
--- a/fakebts/OMLMsg.st
+++ b/fakebts/OMLMsg.st
@@ -1240,7 +1240,7 @@ OMLOpstart subclass: OMLOpstartAck [
OMLDataField subclass: OMLSetBTSAttributes [
| inter_bounds intave con_fail t200 max_timing overload_period
ccch_threshold ccch_ind rach_busy rach_load bts_air ny1 bcch_arfcn
- bsic time ipa_cgi |
+ bsic time ipa_cgi ipa_paging |
<category: 'BTS-OML'>
<comment: 'I construct a GSM 12.21 O&M Data field as of 8.6.1'>
@@ -1333,6 +1333,9 @@ OMLDataField subclass: OMLSetBTSAttributes [
instVarName: #time; parseClass: OMLAttributeData;
yourself);
add: (Osmo.TLVDescription new
+ tag: 16r8F; beOptional; instVarName: #ipa_paging;
+ parseClass: OMLAttributeData; yourself);
+ add: (Osmo.TLVDescription new
tag: 16r99; beOptional; instVarName: #ipa_cgi;
parseClass: OMLAttributeData; yourself);
yourself
diff --git a/fakebts/Test.st b/fakebts/Test.st
index b019bae..0d1e1fd 100644
--- a/fakebts/Test.st
+++ b/fakebts/Test.st
@@ -224,6 +224,11 @@ RoundTripTestCase subclass: OMLMsgTest [
101 115 115 0 224 4 0 0 255 133 0 129 11 187)
]
+ ipaRslConnectDataOther [
+ ^ #(16 128 0 14 13 99 111 109 46 105 112 97 99 99
+ 101 115 115 0 224 4 0 0 255 133 0 129 15 166)
+ ]
+
setChannelAttributesData [
^ #(128 128 0 9 71 3 0 0 0 13 5 64 7)
]
@@ -319,6 +324,7 @@ RoundTripTestCase subclass: OMLMsgTest [
testIpaRslConnect [
self roundtripTestFor: #ipaRslConnectData class: IPAOMLRSLConnect.
+ self roundtripTestFor: #ipaRslConnectDataOther class: IPAOMLRSLConnect.
]
testSetChannelAttributes [