This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/15548 Change subject: WIP: bssgp nsei/bvci handling ...................................................................... WIP: bssgp nsei/bvci handling Change-Id: I5487bc2d20414c41bc7c97cae2fd1b93e9511fcf --- M include/osmocom/sgsn/Makefile.am A include/osmocom/sgsn/gprs_gb_nm.h M src/sgsn/Makefile.am A src/sgsn/gprs_gb_nm.c M src/sgsn/sgsn_main.c 5 files changed, 21 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/48/15548/1 diff --git a/include/osmocom/sgsn/Makefile.am b/include/osmocom/sgsn/Makefile.am index 3fdb6b3..ead0e44 100644 --- a/include/osmocom/sgsn/Makefile.am +++ b/include/osmocom/sgsn/Makefile.am @@ -4,6 +4,7 @@ debug.h \ gb_proxy.h \ gprs_gb.h \ + gprs_gb_nm.h \ gprs_gb_parse.h \ gprs_gmm.h \ gprs_gmm_fsm.h \ diff --git a/include/osmocom/sgsn/gprs_gb_nm.h b/include/osmocom/sgsn/gprs_gb_nm.h new file mode 100644 index 0000000..23744a9 --- /dev/null +++ b/include/osmocom/sgsn/gprs_gb_nm.h @@ -0,0 +1,7 @@ +#pragma once + +#include <stdint.h> + +struct gprs_ra_id; + +int gprs_nm_rx_reset(uint16_t nsei, uint16_t bvci, struct gprs_ra_id *ra_id); diff --git a/src/sgsn/Makefile.am b/src/sgsn/Makefile.am index 8bc1abb..6b9b5f4 100644 --- a/src/sgsn/Makefile.am +++ b/src/sgsn/Makefile.am @@ -41,6 +41,7 @@ osmo_sgsn_SOURCES = \ gprs_gb.c \ + gprs_gb_nm.c \ gprs_gmm_attach.c \ gprs_gmm.c \ gprs_gmm_fsm.c \ diff --git a/src/sgsn/gprs_gb_nm.c b/src/sgsn/gprs_gb_nm.c new file mode 100644 index 0000000..7d25700 --- /dev/null +++ b/src/sgsn/gprs_gb_nm.c @@ -0,0 +1,8 @@ + +#include <osmocom/sgsn/gprs_gb_nm.h> +#include <osmocom/gsm/gsm48.h> + +int gprs_nm_rx_reset(uint16_t nsei, uint16_t bvci, struct gprs_ra_id *ra_id) +{ + return 0; +} diff --git a/src/sgsn/sgsn_main.c b/src/sgsn/sgsn_main.c index eef5f8f..50e71ce 100644 --- a/src/sgsn/sgsn_main.c +++ b/src/sgsn/sgsn_main.c @@ -136,6 +136,10 @@ } break; case SAP_BSSGP_NM: + switch (oph->primitive) { + case PRIM_NM_BVC_RESET: + return gprs_nm_rx_reset(bp->nsei, bp->bvci, bp->ra_id); + } break; } return 0; -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/15548 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I5487bc2d20414c41bc7c97cae2fd1b93e9511fcf Gerrit-Change-Number: 15548 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190917/e1cb75ac/attachment.htm>