Neels Hofmeyr
7c28f6f438
hnb-test: use gsm48_hdr_pdisc() and gsm48_hdr_msg_type() instead of bitmasks
2016-04-06 18:58:36 +02:00
Neels Hofmeyr
d8013d1f8c
ranap_parse_lai(): Fix wrong BCD decoding for MNC. Add test.
...
Fix the ranap_parse_lai() part that decodes the MNC: place the *10 at the
proper MNC digit.
Add a comprehensive test for ranap_parse_lai() in test-helpers.c. Because
ranap_parse_lai() logs things, add test_common.c to test-helpers compilation
and an expected stderr output to test-helpers' testsuite.at def.
2016-04-06 18:55:14 +02:00
Neels Hofmeyr
8f4cd86904
ranap_parse_lai(): add LAC size check, and log all parse errors
2016-04-06 18:55:14 +02:00
Neels Hofmeyr
e5c5525bae
rename README.msc to README
...
The .msc file ending is no good for shell globs like '*.msc'
2016-03-30 14:10:39 +02:00
Neels Hofmeyr
e25faa8966
hnb-test: print sent bytes
2016-03-30 14:10:39 +02:00
Neels Hofmeyr
3588810cb7
hnb-test: answer MM Authentication Request
...
With hardcoded SRES matching the hardcoded auth tuple in openbsc's
sysmocom/iu branch for testing.
2016-03-30 14:10:39 +02:00
Neels Hofmeyr
5dbb7b2c3f
hnb-test: print LU Reject
2016-03-30 14:10:39 +02:00
Neels Hofmeyr
d4598fa453
hnb-test: factor out MM header parsing
2016-03-30 14:10:39 +02:00
Neels Hofmeyr
576f642eba
use of sccp_helpers: apply osmo_ name prefix addition
2016-03-30 14:10:39 +02:00
Neels Hofmeyr
3da8608b6a
Move sccp_helpers.[hc] to libosmo-sigtran
2016-03-30 14:10:39 +02:00
Neels Hofmeyr
c04eb533e1
hnb-test: send TMSI REALLOC COMPL only when LU ACC sent a TMSI
2016-03-04 12:40:53 +01:00
Neels Hofmeyr
f67803684f
build: use $top_srcdir instead of ../
2016-02-29 14:28:00 +01:00
Neels Hofmeyr
92b13bc875
fix build: move local include dir before sys installed one
2016-02-29 14:22:21 +01:00
Neels Hofmeyr
5f9be1ed5e
hnb-test: make hnb-gw address configurable
2016-02-29 13:33:44 +01:00
Neels Hofmeyr
ae93712977
hnb-test: add messages leading to Location Update Accept
...
But note, authentication is not there yet; the CSCN should initiate that.
2016-02-29 10:02:10 +01:00
Neels Hofmeyr
5c1cc8cce4
hnb-test: replace some hex vals with GSM48_* constants
2016-02-29 10:02:10 +01:00
Neels Hofmeyr
c164a97bc6
hnb-test-ranap.c: fix missing return
2016-02-29 10:02:10 +01:00
Neels Hofmeyr
e1f709fa51
hnb-test fix id resp
2016-02-29 10:02:10 +01:00
Neels Hofmeyr
306bf18ce6
avoid a warning by declaring struct gprs_ra_id opaquely
2016-02-29 10:02:10 +01:00
Neels Hofmeyr
860a12977c
hnb-test: attempt to reply to an MM Identity Request
2016-02-29 10:02:10 +01:00
Neels Hofmeyr
b984f36f58
hnb-test: decode NAS pdu when receiving RUA from CN
2016-02-29 10:02:10 +01:00
Neels Hofmeyr
32828708b2
hnb-test: tweak comment
2016-02-29 10:02:10 +01:00
Neels Hofmeyr
7b81128d44
hnb-test: comment on gen_initue_lu() IMSI
2016-02-29 10:02:10 +01:00
Neels Hofmeyr
0968a58836
hnb-test: some rua rx printfs
2016-02-24 20:51:04 +01:00
Neels Hofmeyr
a0d21479a7
osmo-hnbgw, hnb-test: allow configuring VTY address
2016-02-24 20:51:04 +01:00
Daniel Willmann
19dea8b49b
asn1: Generate _free_*ies function declarations
...
ranap_ies_defs.h is checked in so update it
hnbap_ies_defs.h and rua_ies_defs.h need to be regenerated
2016-02-22 11:15:04 +01:00
Harald Welte
ce5b9965f9
import TR 25.931 with examples of signalling procedures
2016-02-22 09:17:15 +01:00
Neels Hofmeyr
8f67f8e83c
test-ranap.ok: fix expectations after commit 49f99cd26
...
49f99cd26: 'ranap_msg_factory: Use network byte order for 16 bit mode_versions field'
2016-02-20 15:23:12 +01:00
Daniel Willmann
635fac0c3e
ranap: Add custom ranap_decode_rab_setupormodifieditemies() function
2016-02-18 16:02:37 +01:00
Daniel Willmann
4870b995ec
ranap_common: Add helper function to get IP from transport layer addr
2016-02-18 13:21:35 +01:00
Daniel Willmann
49f99cd265
ranap_msg_factory: Use network byte order for 16 bit mode_versions field
...
Instead of 0x0001 the field was 0x0100
2016-02-18 13:21:35 +01:00
Daniel Willmann
eac3bf97e8
Better capture for PS Data
2016-02-18 13:21:30 +01:00
Neels Hofmeyr
6c5fd7535d
doc: tweak protocols ascii art
2016-02-18 01:35:30 +01:00
Neels Hofmeyr
de111bc1f8
hnbgw: fix errmsg typo
2016-02-18 01:31:30 +01:00
Neels Hofmeyr
110bb5c9af
hnbgw vty: add logging commands
2016-02-18 01:30:42 +01:00
Neels Hofmeyr
6a62e549cd
hnb-test: fix wrong domain indicator in ranap.
...
ranap_new_msg_initial_ue() called with wrong argument order.
2016-02-18 01:30:42 +01:00
Neels Hofmeyr
b9f46a7434
dummy_cn_sua: missing include
2016-02-18 01:30:42 +01:00
Neels Hofmeyr
44beab9c3b
hnbgw: hnb_context_alloc(): fix missing free, missing return, wrong error return type
...
Also move INIT_LLIST_HEAD further up for good measure (cosmetic).
2016-02-18 01:30:42 +01:00
Neels Hofmeyr
8cf9107670
ranap_common.h: declare ranap_parse_lai()
2016-01-25 18:01:24 +01:00
Daniel Willmann
08834b1160
Add pcap of successful PS/GTP data transfer with osmo-sgsn/ggsn
2016-01-25 16:59:42 +01:00
Daniel Willmann
5f8c718786
hnbgw: Print out the hnbgw context map per HNB
2016-01-14 15:42:07 +01:00
Daniel Willmann
8592716116
hnb-test: Increment UE conn_id for each new loc_upd_req
2016-01-14 15:36:49 +01:00
Daniel Willmann
b39bad1281
dummy_cn: Respond to initial UE message with empty ranap message
2016-01-14 15:36:12 +01:00
Daniel Willmann
4deab942cc
hnbgw: Mark ps_cnlink as ps
2016-01-14 15:35:11 +01:00
Daniel Willmann
defd29912c
context_map: Have one mapping per UE/cnlink combination
2016-01-14 15:10:05 +01:00
Daniel Willmann
0118839829
Revert "hnbgw_hnbap: Zero IEs_t before decode is called"
...
This reverts commit a8b6b1e3a1
.
Zeroing is now done inside of the decode function
2016-01-12 10:14:11 +01:00
Daniel Willmann
86a14053d8
asn1tostruct.py: Zero IEs_t target struct in decode function
2016-01-12 09:46:21 +01:00
Neels Hofmeyr
a2be99e585
Add readme to hint at mscgen
2016-01-11 14:51:38 +01:00
Neels Hofmeyr
0e8010457e
Add ascii art protocol overview.
...
I have my paper notes, but they exist only once.
2016-01-11 14:49:55 +01:00
Neels Hofmeyr
66965ca74c
Add missing ranap_ies_defs.h (generated from 'make regen' but we want it committed)
2016-01-11 12:46:55 +01:00