Harald Welte
77847ad020
add copyright statement and AGPLv3 headers to source code files
2015-10-06 22:07:04 +02:00
Harald Welte
6286880caa
the Context ID is a 24bit number, we cannot use len = 4 bytes!
2015-09-18 01:23:55 +02:00
Harald Welte
1d2c39d83b
various cleanups (compiler warnings, coding style)
2015-09-11 17:49:37 +02:00
Harald Welte
393f2bd9fb
move BCD string encoding/decoding functions to iu_helpers.[ch]
2015-09-11 17:13:51 +02:00
Harald Welte
3af1db87ed
hnbap: Print error messages in error cases
2015-09-11 17:03:16 +02:00
Harald Welte
10dfc5a97d
respond to HNBAP UE REGISTER REQ withe correspnding ACCEPT
...
The Accept incudes the IMSI that the phone presented, but
somehow we fail to encode the Context ID as bitstring, see
../pcap/20150911-hnbap-ue_register.pcap
2015-09-11 01:36:44 +02:00
Harald Welte
b534e5c085
introduce ue_context management
...
We keep one 'ue_context' structure for every UE that we see
a UE REGISTER REQUEST for.
2015-09-11 00:15:54 +02:00
Harald Welte
7b54e32c63
hnbap: Don't enqueue a NULL msgb for transmit
2015-09-07 22:41:45 +02:00
Harald Welte
3f71256750
Use implement HNBAP transmit using per-hnb write_queue
2015-09-07 22:25:35 +02:00
Harald Welte
2204f9d43d
hnbgw: zero-initialize the output struct before aper_decode()
...
asn1c has this strange behavior that the _output_ struct must be
zero-initialized.
2015-09-07 22:25:35 +02:00
Harald Welte
27f9c4ab4b
migration of code from ffasn1c to asn1c + asn1tostruct.py
2015-08-30 22:48:59 +02:00
Harald Welte
ee77cff224
hnbgw: Actually link in + call ffasn1c runtime library
2015-08-30 16:57:53 +02:00
Harald Welte
30afef3073
move asn.1 helper functions to asn1helpers.[ch]
2015-08-30 12:28:29 +02:00
Harald Welte
b3dae30e5e
first compiling code (untested)
2015-08-30 12:20:09 +02:00
Harald Welte
a2e6a7a05e
further tiny steps of progress on the hnb-gw infrastructure
2015-08-29 21:47:39 +02:00
Harald Welte
ba43de4bf6
very early intial code snippets for handling HNBAP in a HNB-GW
2015-08-29 20:33:16 +02:00