This is needed for instance:
* AUDIO: video calls
* GTP: secondary pdp contexts
For better abstraction, now both AUDIO and GTP conns use unique ID
namespaces, and one ID is used to identify each one. Each conn relate in
turn to a UE since a context_id is passed during connection
establishment.
Related: SYS#5516
Change-Id: Ib3f60d5ba21defe5259c25e2034fc2217c4d93df
This first implementation uses libgtp to manage the GTPv1-U socket and
pdp contexts, as a proof of concept to have something working for now.
At a later step, it is expected to drop libgtp and use some adhoc code
to handle GTP-U.
Related: SYS#5516
Change-Id: I5a6f5dfc4e508c92adb35210b4dc576d64353366
This first version can send and receive regular RTP, but does not talk IuUP.
Support for IuUP will be added in a future patch. This way we can
already test the whole LLSK<->RTP path.
Change-Id: I9909a7c054ddaabb1bb63d7d06331cc79f642b5d
The LLSK socket is an interface allowing thid-parties to implement and
hook their RLC/MAC/RRC stack to osmo-hnodbe, which takes care of
interconnection with the rest of the RAN and core network (Iuh, RTP,
GTP-U, etc.).
Related: SYS#5516
Change-Id: Icaabb2206d6f141d4fba47dedf71f8ec37e6257d
The higher level bits were used in originally imported hnb-test code in
order to control interaction with the HNBGW over the VTY. This is no
longer needed in osmo-hnodeb, as NAS is in layers above the ones being
handled by an hNodeB.
Regarding RANAP, most of it is going to be handled by the LowerLayer UD
socket peer to be introduced in the future, so we can drop most of it,
as in osmo-hnodeb we'll basically be speaking RUA to the HNBGW and
passing RANAP buffers transparently.
We keep the .c/.h files since some small helpers functions will be
ntroduced later on when adding support for the mentioned LL socket.
Related: SYS#5516
Change-Id: I6aae54734c1c4607beede19169f16bafe35b3a61
The shutdown_fsm doesn't do much right now, but it's included there in
order to allow easy clean up of resources upon Iuh reconnect in the
future, as well as reset the lower layers.
Change-Id: Id35d692218af366843186b0966b62f65bb9eb620
The Iuh code will be further extended next to properly support
reconnect, and hnb will also gain proper shutdown support soon.
Change-Id: I6e94210ab06a34b70c61bb074c58d7b0f4ee75de
Fix for:
File not found: /home/abuild/rpmbuild/BUILDROOT/osmo-hnodeb-0.0.0.202111021358-1.1.arm/usr/share/doc/packages/osmo-hnodeb/examples/osmo-hnodeb/*/osmo-hnodeb*.cfg
File not found: /home/abuild/rpmbuild/BUILDROOT/osmo-hnodeb-0.0.0.202111021358-1.1.arm/usr/share/doc/packages/osmo-hnodeb/README
With this patch applied, the deb and rpm packages build successfully now
(verified in own OBS namespace).
Related: SYS#5516
Change-Id: I3c728489d38272d8477da5050f407708b8c4289b
autoconf-archive is apparently needed to build the package. We have it
in few other Osmocom projects as build dependency too, others seem to
ship related m4 macros directly in a m4 dir.
Fix for:
configure: error: Please install autoconf-archive; re-run 'autoreconf -fi' for it to take effect.
Related: SYS#5516
Change-Id: If9ff232844d72094fb883700185ae152ca40493d
Fixes following warning types:
"passing argument 1 of ‘ranap_cn_rx_co’ from incompatible pointer type
[-Wincompatible-pointer-types]"
Change-Id: If80b57a8d36c28dee7db28cb36a88ed41e0a7328
Let's use already available functionality to handle the conn for us.
This is specially useful since we gain a connect_cb.
Change-Id: I9d884231577aa47af22cd6319130ca5c9e595d61
Import from osmo-iuh.git Change-Id Iba106dcc18e3d429b4b9808610a44ac29b798172,
with minimal renaming of s/hnb_test/hnb/ and required mangling to have
it compile and run.
Change-Id: I36fd4aa5d39222371bd36e9f540b91e36a26de43
osmo-hnodeb calls sctp_recvmsg directly, which is provided by libsctp.
Hence, we need to depend and link on it.
Change-Id: I793d6fe8601cf9a8dd72bf6884b469204b513c11
An empty debian/changelog is illegal and makes dpkg-buildpackage fail.
This in turn causes our nightly builds to fail like this
+ git -C ./debian commit -m 'auto-commit: debian: depend on osmocom-nightly (= 1.0.0.202111020026)' .
[master 83b1eb7] auto-commit: debian: depend on osmocom-nightly (= 1.0.0.202111020026)
1 file changed, 3 insertions(+), 3 deletions(-)
+ dch -b -v .202111020026 -m 'Snapshot build'
dch: warning: debian/changelog(l0): found end of file where expected first heading
dch: error: fatal error occurred while parsing debian/changelog
Build step 'Execute shell' marked build as failure
Sending e-mails to: jenkins-notifications@lists.osmocom.org
Finished: FAILURE
Change-Id: Ic0c1fcd34a40355691f39224d9a473951b0f3d8e
This commit contains all the relevant project structure to build the
osmo-hnodeb binary, its doc, tests, packaging, etc.
The osmo-hnodeb binary itself is still just an empty main().
Related: SYS#5516
Change-Id: I6ae3215ae4b956689d2adc88db7c3ead5df14f37