mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-02 13:03:31 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7002c1e4b5 | ||
|
|
2392f23d7f | ||
|
|
2bf8d6c3c7 |
18
debian/changelog
vendored
18
debian/changelog
vendored
@@ -1,3 +1,21 @@
|
||||
open5gs (2.1.1) unstable; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 16 Dec 2020 23:04:41 -0500
|
||||
|
||||
open5gs (2.1.1~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 16 Dec 2020 23:03:25 -0500
|
||||
|
||||
open5gs (2.1.1~focal) focal; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 16 Dec 2020 23:02:04 -0500
|
||||
|
||||
open5gs (2.1.0) unstable; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: "v2.0.22 - 4G EPC More Stabilization"
|
||||
title: "v2.0.22 - Running for 1 Month"
|
||||
date: 2020-11-19 09:35:00 -0500
|
||||
categories:
|
||||
- Release
|
||||
@@ -17,7 +17,7 @@ head_inline: "<style> ul { padding-bottom: 1em; } </style>"
|
||||
- Network Restorations from GTP-U Error Indication ([1bed0d5](https://github.com/open5gs/open5gs/commit/1bed0d587275ad105c5fe6f0d9ca4ef1508a74e0))
|
||||
- Work around SCTP_EVENTS broken - copy blindly from Osmocom's libosmo-netif ([f137d194](https://github.com/open5gs/open5gs/commit/f137d1947f0afaaf0a3ec37b35ff1ce99c757ded))
|
||||
|
||||
#### Re-adding feature
|
||||
#### Re-adding features
|
||||
- Support OAI UE/RAN ([#651](https://github.com/open5gs/open5gs/issues/651), [#584](https://github.com/open5gs/open5gs/issues/584)) -- [asoltanian1979](https://github.com/asoltanian1979), [s5uishida](https://github.com/s5uishida)
|
||||
- Provide SGW GTP(S1) address to be advertised inside S1AP messages ([#367](https://github.com/open5gs/open5gs/pull/367)) -- [herlesupreeth](https://github.com/herlesupreeth)
|
||||
|
||||
|
||||
32
docs/_posts/2020-12-11-release-v2.1.0.md
Normal file
32
docs/_posts/2020-12-11-release-v2.1.0.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
title: "v2.1.0 - More Feature in 5G Core"
|
||||
date: 2020-12-11 14:20:00 -0500
|
||||
categories:
|
||||
- Release
|
||||
tags:
|
||||
- News
|
||||
- Release
|
||||
head_inline: "<style> ul { padding-bottom: 1em; } </style>"
|
||||
---
|
||||
|
||||
#### Add PCF(Policy Control Function)
|
||||
|
||||
#### Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI
|
||||
|
||||
#### PFCP Update
|
||||
- Flow-Description use 'to assigned' in Gx Interface
|
||||
- Support SDF Filter ID
|
||||
- Support F-TEID's Choose
|
||||
- BAR(Buffering) is added in PFCP session
|
||||
- Default Apply Action uses NOCP+BUFF
|
||||
|
||||
#### Enhancement
|
||||
- Add parameter 'use_openair' for legacy UE ([#688](https://github.com/open5gs/open5gs/issues/688)) -- [s5uishida](https://github.com/s5uishida)
|
||||
- Add CentOS vagrant ([#684](https://github.com/open5gs/open5gs/pull/684)) -- [danielgora](https://github.com/danielgora)
|
||||
|
||||
#### Bug Fixes
|
||||
- SCTP workaround for PEER_ADDR_PARAMS ([#707](https://github.com/open5gs/open5gs/issues/707)) -- [infinitydon](https://github.com/infinitydon)
|
||||
- Fix UPF for Landslide ([#685](https://github.com/open5gs/open5gs/issues/685)) -- [valenciakarlos](https://github.com/valenciakarlos)
|
||||
|
||||
Download -- [v2.1.0.tar.gz](https://github.com/open5gs/open5gs/archive/v2.1.0.tar.gz)
|
||||
{: .notice--info}
|
||||
@@ -228,6 +228,12 @@ ED2(uint8_t spare:5;,
|
||||
#define OGS_PFCP_PDN_TYPE_IPV6 OGS_PDU_SESSION_TYPE_IPV6
|
||||
#define OGS_PFCP_PDN_TYPE_IPV4V6 OGS_PDU_SESSION_TYPE_IPV4V6
|
||||
#define OGS_PFCP_PDN_TYPE_NONIP OGS_PDU_SESSION_TYPE_NONIP
|
||||
|
||||
#define OGS_GTP_PDN_TYPE_IS_VALID(x) \
|
||||
((x) == OGS_GTP_PDN_TYPE_IPV4 || \
|
||||
(x) == OGS_GTP_PDN_TYPE_IPV6 || \
|
||||
(x) == OGS_GTP_PDN_TYPE_IPV4V6) \
|
||||
|
||||
uint8_t pdn_type:3;)
|
||||
union {
|
||||
/* GTP_PDN_TYPE_IPV4 */
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
project('open5gs', 'c',
|
||||
version : '2.1.0',
|
||||
version : '2.1.1',
|
||||
license : 'AGPL-3.0-or-later',
|
||||
meson_version : '>= 0.43.0',
|
||||
default_options : [
|
||||
@@ -24,7 +24,7 @@ project('open5gs', 'c',
|
||||
],
|
||||
)
|
||||
|
||||
libogslib_version = '2.1.0'
|
||||
libogslib_version = '2.1.1'
|
||||
|
||||
prefix = get_option('prefix')
|
||||
bindir = join_paths(prefix, get_option('bindir'))
|
||||
|
||||
@@ -213,8 +213,8 @@ ogs_pkbuf_t *esm_build_activate_default_bearer_context_request(
|
||||
pdn_address->length = OGS_NAS_PDU_ADDRESS_IPV4V6_LEN;
|
||||
ogs_debug(" IPv4v6");
|
||||
} else {
|
||||
ogs_error("Unexpected PDN Type %u", pdn_address->pdn_type);
|
||||
return NULL;
|
||||
ogs_fatal("Unexpected PDN Type %u", pdn_address->pdn_type);
|
||||
ogs_assert_if_reached();
|
||||
}
|
||||
|
||||
if (pdn->ambr.downlink || pdn->ambr.uplink) {
|
||||
|
||||
@@ -148,30 +148,14 @@ int esm_handle_information_response(mme_sess_t *sess,
|
||||
if (sess->pdn) {
|
||||
ogs_debug(" APN[%s]", sess->pdn->apn);
|
||||
|
||||
if (SESSION_CONTEXT_IS_AVAILABLE(mme_ue)) {
|
||||
if (SESSION_CONTEXT_IS_AVAILABLE(mme_ue) &&
|
||||
OGS_GTP_PDN_TYPE_IS_VALID(sess->pdn->paa.pdn_type)) {
|
||||
mme_csmap_t *csmap = mme_csmap_find_by_tai(&mme_ue->tai);
|
||||
mme_ue->csmap = csmap;
|
||||
|
||||
if (csmap) {
|
||||
sgsap_send_location_update_request(mme_ue);
|
||||
} else {
|
||||
|
||||
if (sess->pdn->paa.pdn_type == OGS_GTP_PDN_TYPE_IPV4) {
|
||||
/* Nothing */
|
||||
} else if (sess->pdn->paa.pdn_type == OGS_GTP_PDN_TYPE_IPV6) {
|
||||
/* Nothing */
|
||||
} else if (sess->pdn->paa.pdn_type == OGS_GTP_PDN_TYPE_IPV4V6) {
|
||||
/* Nothing */
|
||||
} else {
|
||||
ogs_error("Unknown PDN[%s] Type %u:%u",
|
||||
sess->pdn->apn,
|
||||
sess->pdn->pdn_type,
|
||||
sess->pdn->paa.pdn_type);
|
||||
nas_eps_send_pdn_connectivity_reject(
|
||||
sess, ESM_CAUSE_UNKNOWN_PDN_TYPE);
|
||||
return OGS_ERROR;
|
||||
}
|
||||
|
||||
nas_eps_send_attach_accept(mme_ue);
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -126,6 +126,18 @@ void mme_s11_handle_create_session_response(
|
||||
cause_value = OGS_GTP_CAUSE_MANDATORY_IE_MISSING;
|
||||
}
|
||||
|
||||
if (rsp->pdn_address_allocation.presence) {
|
||||
ogs_paa_t paa;
|
||||
|
||||
memcpy(&paa, rsp->pdn_address_allocation.data,
|
||||
rsp->pdn_address_allocation.len);
|
||||
|
||||
if (!OGS_GTP_PDN_TYPE_IS_VALID(paa.pdn_type)) {
|
||||
ogs_error("Unknown PDN Type[%u]", paa.pdn_type);
|
||||
cause_value = OGS_GTP_CAUSE_MANDATORY_IE_INCORRECT;
|
||||
}
|
||||
}
|
||||
|
||||
if (cause_value != OGS_GTP_CAUSE_REQUEST_ACCEPTED) {
|
||||
if (sess && SESSION_CONTEXT_IN_ATTACH(sess)) {
|
||||
ogs_error("[%s] Attach reject", mme_ue->imsi_bcd);
|
||||
@@ -195,12 +207,15 @@ void mme_s11_handle_create_session_response(
|
||||
mme_ue->csmap = csmap;
|
||||
|
||||
if (csmap) {
|
||||
ogs_assert(OGS_GTP_PDN_TYPE_IS_VALID(pdn->paa.pdn_type));
|
||||
sgsap_send_location_update_request(mme_ue);
|
||||
} else {
|
||||
ogs_assert(OGS_GTP_PDN_TYPE_IS_VALID(pdn->paa.pdn_type));
|
||||
nas_eps_send_attach_accept(mme_ue);
|
||||
}
|
||||
|
||||
} else {
|
||||
ogs_assert(OGS_GTP_PDN_TYPE_IS_VALID(pdn->paa.pdn_type));
|
||||
nas_eps_send_activate_default_bearer_context_request(bearer);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user