Harald Welte
056984fab1
merge (+rename) iu_helpers.c into libosmo-ranap
2016-01-03 16:31:31 +01:00
Harald Welte
87ffeb91dc
factor out some common shared test init code
2015-12-25 15:34:22 +01:00
Harald Welte
c3851220db
hnb-test: Add VTY to manually issue Iuh messages
...
We can now send Iuh messages with commands like 'hnbap hnb register',
'hnbap ue regiter imsi 12345', 'ranap reset cs', 'ranap reset ps',
and even establish connection-oriented RUA using
'channel cs lu imsi 12345'
2015-12-24 15:41:21 +01:00
Daniel Willmann
141a0baac9
hnb-test: Add an option to transmit multiple UE register/deregister msgs
2015-12-17 18:03:52 +01:00
Daniel Willmann
6637a289da
hnb-test: Handle closed connections correctly
2015-12-17 14:47:51 +01:00
Daniel Willmann
19dedbb6b1
hnb-test: Send UE de-register after receiving the UE registration accept
2015-12-17 13:09:37 +01:00
Daniel Willmann
92856e6ef2
hnb-test.c: Remove pdus.h include as it is not used
...
The messages are constructed so no need to include the binary asn1 data.
2015-12-17 13:09:37 +01:00
Daniel Willmann
3279780557
hnb-test: Add HNBAP category and reduce MAIN loglevel to INFO
2015-12-17 13:09:18 +01:00
Daniel Willmann
a7b02405be
hnb-test: Parse UE register accept
2015-12-14 10:37:26 +01:00
Daniel Willmann
4e31250367
hnb-test: Send UE register request
2015-12-14 10:36:36 +01:00
Daniel Willmann
479cb300ce
hnb-test: Send HNB register request and parse the accept
2015-12-14 10:36:36 +01:00
Daniel Willmann
4abdee0803
hnb-test: setsockopt SCTP_EVENTS is needed to get the sctp_sndrcvinfo
2015-12-14 10:36:36 +01:00
Daniel Willmann
d6a45b402c
asn1helpers: Add 28 bit conversion function and use it for Cell ID
...
The padding bits in the bit string are at the end and the byte-order is
MSB-first. This means the number needs to be shifted left so the padding
bits are the least significant.
2015-12-14 10:21:51 +01:00
Daniel Willmann
a1e202e15e
tests/hnb-test: Generate the HNBAP registration request from ASN.1
2015-12-07 17:21:07 +01:00
Daniel Willmann
4aeef6c3c4
hnb-test: Send hard-coded HNB register request for now
2015-12-03 17:02:13 +01:00
Daniel Willmann
97374c039b
tests: Add hnb-test to connect to hnbgw and tests its functions
...
Only connects currently
2015-12-03 09:37:58 +01:00