Bostjan Meglic
2d4fbf92eb
[config,metrics] Move metrics configuration section under respective NF section
...
Without this change, using metrics with core setup configurations
(configs/vonr.yaml for example) would not be possible. Having one
metrics section for whole config file causes every NF to start metrics
server on same port causing an abort.
2022-09-25 19:17:49 +09:00
Sukchan Lee
2b8db5d488
Follow-up on #1757
2022-09-23 20:42:04 +09:00
Gaber Stare
d3d4e5ce60
[AMF] Add amfInfoList to NFProfile
...
The actual configured GUAMIs and TAIs are used to form NF profile.
Comparing to SMF the "info" section is not introduced into amf.yaml!
Each amf_id (region, set) produces a separate Info in the InfoList.
Guami list consists of all GUAMIs of particular Info.
taiList consists of all TAIs for all PLMNs of particular Info.
Examle:
amf.yaml:
guami:
- plmn_id:
mcc: 999
mnc: 70
amf_id:
region: 2
set: 2
pointer: 4
- plmn_id:
mcc: 001
mnc: 01
amf_id:
region: 2
set: 1
- plmn_id:
mcc: 001
mnc: 02
amf_id:
region: 2
set: 2
tai:
- plmn_id:
mcc: 001
mnc: 01
tac: [1, 2, 3]
tai:
- plmn_id:
mcc: 002
mnc: 02
tac: 4
- plmn_id:
mcc: 001
mnc: 02
tac: 10
tai:
- plmn_id:
mcc: 004
mnc: 04
tac: [6, 7]
- plmn_id:
mcc: 005
mnc: 05
tac: 8
- plmn_id:
mcc: 999
mnc: 70
tac: [9, 10]
"amfInfoList": {
"1": {
"amfSetId": "002",
"amfRegionId": "02",
"guamiList": [{
"plmnId": {
"mcc": "999",
"mnc": "70"
},
"amfId": "020084"
}, {
"plmnId": {
"mcc": "001",
"mnc": "02"
},
"amfId": "020080"
}],
"taiList": [{
"plmnId": {
"mcc": "001",
"mnc": "02"
},
"tac": "00000a"
}, {
"plmnId": {
"mcc": "999",
"mnc": "70"
},
"tac": "000009"
}, {
"plmnId": {
"mcc": "999",
"mnc": "70"
},
"tac": "00000a"
}]
},
"2": {
"amfSetId": "001",
"amfRegionId": "02",
"guamiList": [{
"plmnId": {
"mcc": "001",
"mnc": "01"
},
"amfId": "020040"
}],
"taiList": [{
"plmnId": {
"mcc": "001",
"mnc": "01"
},
"tac": "000001"
}, {
"plmnId": {
"mcc": "001",
"mnc": "01"
},
"tac": "000002"
}, {
"plmnId": {
"mcc": "001",
"mnc": "01"
},
"tac": "000003"
}]
}
}
2022-09-23 20:37:47 +09:00
Sukchan Lee
1f165c1c33
Follow-up on #1747
2022-09-08 23:17:04 +09:00
Sukchan Lee
c716a1294a
[CORE] Check if timer is double free in SBI module
2022-09-03 15:59:39 +09:00
Sukchan Lee
5295c108ad
Added Service-based NF discovery
...
== Known limitation ==
Placing npcf-smpolicycontrol and pcf-policyauthorization
in different NFs is not supported. Both npcf-smpolicycontrol
and pcf-policyauthorization should be placed in the same NF.
2022-09-02 23:04:57 +09:00
Sukchan Lee
9f98d421a0
[SBI] Added config for service-names discovery
2022-08-27 10:49:07 +09:00
Sukchan Lee
f020732ce9
[SBI] Support service-names in discovery option
2022-08-27 00:12:22 +09:00
Sukchan Lee
e6a14cb73d
Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch]
2022-08-12 14:03:53 +09:00
Sukchan Lee
700c71ef4c
Changed configuration name from gnb to peer
...
And restored gtp_peer configuration
2022-08-05 16:56:36 +09:00
Sukchan Lee
7231dafbf1
[SBI] Fixed nf_instance memory leak
...
- Rollback commit ed3444eef5
- Do not modify reference count when REGISTER/DEREGISTER notified from NRF
2022-08-02 09:44:13 +09:00
Sukchan Lee
a5010a61ef
Support Discovery Optional Parameter ( #1671 )
...
To support target-nf-instance-id in the discovery,
Discovery optional parameter is implemeted
2022-07-24 15:10:09 +09:00
Sukchan Lee
2b41a215d7
Fixed the crash in UERANSIM 500 test ( #1652 )
2022-07-21 00:02:31 +09:00
Bostjan Meglic
d1a2971990
[NAS] modify library to include both directions of deregistration requests
...
Definitions in NAS library now include both directions of deregistration
requests/accepts - from UE and from network.
2022-07-11 22:53:21 +09:00
Sukchan Lee
50be661cf9
Fixed a crash when slice/session overflow ( #1637 )
2022-06-30 13:33:16 +09:00
Sukchan Lee
0f93ec23ab
[MME/AMF] Fixed network name encoding ( #1614 )
2022-06-19 18:16:11 +09:00
Sukchan Lee
c528e0d5bc
[SBI] Change NfInstance.Id to Optional
2022-06-18 23:56:12 +09:00
Sukchan Lee
0b97954208
Re-added to handle an exceptional case ( #1589 )
2022-06-09 21:35:59 +09:00
Bostjan Meglic
5084f6a71d
[AMF] Add support for SUCI protection schemes A and B ( #1589 )
...
For null protection scheme the SUCI needs to be BCD encoded. Whereas for
protection scheme profiles A and B the SUCI needs to be converted from
hexadecimal to ASCII.
This still needs the support for protection schemes A and B in UDM to
work.
2022-06-09 21:27:58 +09:00
Carlos Giraldo
816575dc8d
AMF metrics initial support ( #1585 )
2022-06-08 17:54:46 +09:00
Sukchan Lee
bcf53124d5
Improve the socket option configuration ( #1404 )
...
o GTP-C Option (Default)
- so_bindtodevice : NULL
gtpc:
addr: 127.0.0.7
option:
so_bindtodevice: vrf-blue
o GTP-U Option (Default)
- so_bindtodevice : NULL
gtpu:
addr: 127.0.0.7
option:
so_bindtodevice: vrf-blue
o PFCP Option (Default)
- so_bindtodevice : NULL
pfcp:
addr: 127.0.0.7
option:
so_bindtodevice: vrf-blue
o SBI Option (Default)
- tcp_nodelay : true
- so_linger.l_onoff : false
sbi:
addr: 127.0.0.10
option:
tcp_nodelay: false
so_linger:
l_onoff: true
l_linger: 10
o NGAP Option (Default)
- sctp_nodelay : true
- so_linger.l_onoff : false
ngap:
addr: 127.0.0.5
option:
stcp_nodelay: false
so_linger:
l_onoff: true
l_linger: 10
o NGAP SCTP Option (Default)
- spp_hbinterval : 5000 (5secs)
- spp_sackdelay : 200 (200ms)
- srto_initial : 3000 (3secs)
- srto_min : 1000 (1sec)
- srto_max : 5000 (5secs)
- sinit_num_ostreams : 30
- sinit_max_instreams : 65535
- sinit_max_attempts : 4
- sinit_max_init_timeo : 8000(8secs)
ngap:
addr: 127.0.0.5
option:
sctp:
spp_hbinterval : 5000
spp_sackdelay : 200
srto_initial : 3000
srto_min : 1000
srto_max : 5000
sinit_num_ostreams : 30
sinit_max_instreams : 65535
sinit_max_attempts : 4
sinit_max_init_timeo : 8000
2022-03-15 22:03:50 +09:00
Pau Espin
d06acc7f37
Fix trailing whitespace ( #1402 )
2022-03-01 17:13:40 +09:00
Sukchan Lee
83d56fe40d
[ALL] Fix the memory leak ( #1282 )
2022-01-31 22:58:52 +09:00
Sukchan Lee
a5a5c424c1
Added AMF-initiated AM Policy Termination
2021-12-04 19:31:36 +09:00
Sukchan Lee
0fb8279e36
VoNR added but not tested!
2021-11-14 21:07:56 +09:00
Sukchan Lee
65e96dd75c
[AMF] fix the bug for making allowed NSSAI ( #910 )
2021-07-01 16:23:27 +09:00
Sukchan Lee
118d62d42d
Add more memory log
2021-06-06 22:35:46 +09:00
Sukchan Lee
3b19190f56
[AMF] fix crash due to malformed NGAP ( #960 )
2021-05-08 15:09:10 +09:00
Sukchan Lee
5ea9b22209
[AMF] security protection (UERANSIM-issues316)
...
1. Allocate ngKSI other than the value already used.
2. Add the protection of Service request
3. fix SBI convert error ng_ap_cause
2021-05-08 13:24:17 +09:00
Sukchan Lee
b0e8dbb31a
[NAS] Protection for malformed NAS message ( #959 )
...
Add the protection code to avoid AMF/MME crash due to malformed NAS
message
2021-05-07 23:04:48 +09:00
Sukchan Lee
018b352985
[AMF] fix the UE-AMBR in NGAP message ( #979 )
...
1. DownlinkNASTransport
If AMF has not sent it previously, UE-AMBR is included in Registration
accept.
2. InitialContextSetupRequest
If PDUSessionResourceSetup is available, UE-AMBR is included
3. PDUSessionResourceSetupRequest
If AMF has not sent it previously, UE-AMBR is included
4. HandoverRequest
If PDUSessionResourceSetup is available, UE-AMBR is included
2021-05-07 21:18:45 +09:00
Sukchan Lee
cc03c91bdd
[AMF] 5G-GUTI generation changed ( #910 )
...
The AMF shall assign a new 5G-GUTI for a particular UE:
a) during a successful initial registration procedure;
b) during a successful registration procedure
for mobility registration update; and
c) after a successful service request procedure invoked as a response
to a paging request from the network and before the release
of the N1 NAS signalling connection as specified in subclause 5.4.4.1.
The AMF should assign a new 5G-GUTI for a particular UE
during a successful registration procedure
for periodic registration update. The AMF may assign a new 5G-GUTI
at any time for a particular UE by performing
the generic UE configuration update procedure.
2021-04-13 17:34:25 +09:00
Sukchan Lee
bb38c01229
fix : Allow NSSAI in Registration accept ( #910 )
...
Always Present Allow NSSAI in Registration accept
2021-04-03 14:07:44 +09:00
Sukchan Lee
5f9785af52
sctp: Add sack_delay in sctp configuration ( #895 )
2021-04-01 15:40:46 +09:00
Sukchan Lee
cc30aa2a9a
fix: No S-TMSI in InitialUEMessage ( #890 )
2021-03-31 15:35:59 +09:00
Sukchan Lee
79df32638c
5gc: Add defaultt NSI configuration for NSSF ( #859 )
2021-03-19 11:04:02 +09:00
Sukchan Lee
fc5c9b2af0
Try to fix the UE infinite attach ( #568 )
...
If both Delete-Session-Request/Response and
UEContextReleaseCommand/UEContextReleaseComplete are failed at the same time,
UE cannot attach to the EPC infinitely.
So, I've add the protection code
if timer expires when MME does not receive Delete-Session-Response.
2021-03-09 14:28:07 +09:00
Sukchan Lee
9af4268bab
arch: DB schema Changes ( #796 )
...
- New function : NSSF
- New feature : SMF selection
2021-03-08 21:25:09 +09:00
Sukchan Lee
5e839e25fe
fix: amf crash bug ( #793 )
2021-02-03 23:49:16 -05:00
Sukchan Lee
49a9e58efe
feat: Add N2-Handover
2021-01-28 14:23:54 -05:00
Sukchan Lee
c9363b1320
5gc: Paging was added
2021-01-18 11:48:35 -05:00
Sukchan Lee
7b29cdf898
Handling UEContextRequest of InitialUEMessage
2021-01-07 22:26:06 -05:00
Sukchan Lee
c9cfc4cf6e
etc: update debug message
2021-01-04 23:24:22 -05:00
Sukchan Lee
235a041b8d
feat: Add dedicated QoS flow
2020-12-31 21:07:08 -05:00
Sukchan Lee
371e22c96b
fix: AMF sets default DNN if UE does not send it.
2020-12-21 14:49:05 -05:00
Sukchan Lee
198abc6e8b
Add PCF(Policy Control Function)
2020-12-11 14:03:20 -05:00
Sukchan Lee
6f11a78079
If SCTP use SOCK_STREAM, Use BUFFERING method.
...
Most of the time, an application wants to perform some amount of data buffering
in addition to just responding to events. When we want to write data,
for example, the usual pattern runs something like:
1. Decide that we want to write some data to a connection;
put that data in a buffer.
2. Wait for the connection to become writable
3. Write as much of the data as we can
4. Remember how much we wrote, and if we still have more data to write,
wait for the connection to become writable again.
Now, Open5GS implements the above method by default when transmitting data
in a stream type socket.
2020-11-11 13:21:32 -05:00
Sukchan Lee
f1a207fd9b
Support VoLTE service in ECM-IDLE
2020-11-07 17:27:12 -05:00
Sukchan Lee
93312e8f3d
Fix the bug for S1-reset or eNB-restart( #627 )
2020-10-28 22:59:27 -04:00
Sukchan Lee
60a6551f8a
Oops! change debug level
2020-10-08 22:57:19 -04:00