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.
This commit is contained in:
parent
1ebfec2bbc
commit
99e04a9e56
|
@ -171,6 +171,13 @@ Object subclass: OpenBSCTest [
|
|||
^ self requireChannel: 2r10100000 random: 2r11111
|
||||
]
|
||||
|
||||
requireTrafficChannel [
|
||||
<category: 'bts'>
|
||||
"Originating speech call from dual-rate mobile station when TCH/H
|
||||
is sufficient and supported by the MS for speech calls and the network"
|
||||
^ self requireChannel: 2r01000000 random: 2r1111.
|
||||
]
|
||||
|
||||
assert: aBoolean message: aMessage [
|
||||
<category: 'verifying'>
|
||||
aBoolean ifTrue: [^self].
|
||||
|
|
Reference in New Issue