Commit Graph

17 Commits

Author SHA1 Message Date
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 256c67ad81 ue context: fix linked list insert 2015-09-11 01:22:29 +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 350814a5cb first dispatch of RUA into RANAP
This is becoming more and more of a hack, as asn1c + asn1tostruct.py
don't really deal well with the RANAP syntax :(
2015-09-10 22:32:15 +02:00
Harald Welte 318e4d5713 actually dispatch RUA messages to RUA handling code 2015-09-10 18:47:08 +02:00
Harald Welte f2f3000457 msgb_free() all received messages after handling 2015-09-08 00:09:23 +02:00
Harald Welte 17878e267f avoid parsing SCTP noficiations as user data 2015-09-08 00:09:13 +02:00
Harald Welte 9e270b4834 hnbgw.c: Fix double-free in wait-queue transmit code 2015-09-07 22:41:26 +02:00
Harald Welte cfcc1e67ad use htonl(ppid) when sending a SCTP message 2015-09-07 22:39:56 +02:00
Harald Welte 3f71256750 Use implement HNBAP transmit using per-hnb write_queue 2015-09-07 22:25:35 +02:00
Harald Welte 5c11c94637 hnbgw: Fix SCTP server/receiver
* we need to swap PPID endianness
* we need to explicitly subscrie to the event(s) for sctp_sndrcvinfo
2015-09-07 22:25:35 +02:00
Harald Welte 08a793be9f hnbgw: Initialize linked list header of hnbgw's 2015-09-07 22:25:35 +02:00
Harald Welte 1c0f538a8b hnbgw: Bind to INADDR_ANY, not to localhost only 2015-09-07 22:25:35 +02:00
Harald Welte 08de638790 start using the shared libasn1c, now that it has aper support 2015-08-31 09:54:45 +02:00
Harald Welte ee77cff224 hnbgw: Actually link in + call ffasn1c runtime library 2015-08-30 16:57:53 +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