summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-27 16:38:24 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-27 16:38:45 +0200
commit5800d96fb2e6dde3ed24b57e3037f3d4b051db54 (patch)
treee1560be00633576e40c981ca62d4a6e8711e61b5
parentc9dd9903603aa3f7feb7efff96da6e409ab349e6 (diff)
bts: Dispatch the l3Info of the encryption command to the lchan
-rw-r--r--fakebts/BTS.st14
-rw-r--r--fakebts/RSLMsg.st10
2 files changed, 24 insertions, 0 deletions
diff --git a/fakebts/BTS.st b/fakebts/BTS.st
index b283c02..77cd0a7 100644
--- a/fakebts/BTS.st
+++ b/fakebts/BTS.st
@@ -142,6 +142,20 @@ RSLSacchDeactivate extend [
]
]
+RSLEncryptionCommand extend [
+ trxDispatchOn: aTrx with: lchan [
+ <category: '*-BTS-Core'>
+ lchan
+ dataRequest: self l3Information data
+ sapi: (self linkIdentifier data first bitAnd: 2r111).
+ ]
+
+ trxDispatchOn: aTrx [
+ <category: '*-BTS-Core'>
+ self trxChannelDispatch: aTrx.
+ ]
+]
+
RSLModeModifyRequest extend [
trxDispatchOn: aTrx with: lchan [
| ack |
diff --git a/fakebts/RSLMsg.st b/fakebts/RSLMsg.st
index 128b5d8..c2a765f 100644
--- a/fakebts/RSLMsg.st
+++ b/fakebts/RSLMsg.st
@@ -1022,6 +1022,16 @@ RSLDedicatedChannelManagement subclass: RSLEncryptionCommand [
<comment: 'I represent a GSM 08.58 GSM 8.4.6 ENCRyption CoMmaD'>
<rslMessageType: #messageDedEncryptionCommand>
<rslMessageDefinition: #encryptionCommandMessage>
+
+ l3Information [
+ <category: 'access'>
+ ^ l3_info
+ ]
+
+ linkIdentifier [
+ <category: 'access'>
+ ^ link_id
+ ]
]
RSLDedicatedChannelManagement subclass: RSLHandoverDetection [