srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
525 stars 179 forks source link

Connect more than one sdr #865

Closed faratell closed 1 month ago

faratell commented 1 month ago

Hello. Is it possible to connect two (or more) SDRs to srsRAN_4G (or srsRAN_project)?

pgawlowicz commented 1 month ago

With srsRAN_project, it is possible to run disaggregated gnb with multiple DUs each connected to own SDR.

faratell commented 1 month ago

Thanks. I do not have access to 5G SIM cards and handsets. I use oyeitime 4G& volte simes and usrp b210. Can 4G SIM cards and open5gs (4G or 5G) core integrated with srsRAN_Project?

pgawlowicz commented 1 month ago

It should be possible, please try and report back.

faratell commented 1 month ago

I tested my 4G SIMs in the srsRAN project with 5GC, but the SIMs cannot find the network. Additionally, the gNB cannot directly connect to the EPC Open5GS core. Should I follow the NSA architecture with eNB + gNB and the EPC Open5GS core?

pgawlowicz commented 1 month ago

please follow this tutorial https://docs.srsran.com/projects/project/en/latest/tutorials/source/cotsUE/source/index.html

faratell commented 1 month ago

Perhaps the problem is that my phone does not support 5G.

faratell commented 2 weeks ago

Hello. I use a phone that support 5g. My sim is Oyeitimes 4G simcard. I run this function in open5gs: nrf,scp,amf,smf,upf,ausf,udm,pcf,nssf,udr and bsf .

My sim can find open5gs 5G network but can not register on it. in amf show this error: [gmm] INFO: [suci-0-001-01-0-0-0-0000000018] SUCI (../src/amf/gmm-handler.c:157) 11/09 11:09:56.796: [gmm] ERROR: [suci-0-001-01-0-0-0-0000000018] HTTP response error [400] (../src/amf/gmm-sm.c:1555) 11/09 11:09:56.796: [amf] WARNING: [suci-0-001-01-0-0-0-0000000018] Registration reject [95] (../src/amf/nas-path.c:219) 11/09 11:09:56.933: [amf] INFO: UE Context Release [Action:3] (../src/amf/ngap-handler.c:1677) 11/09 11:09:56.933: [amf] INFO: RAN_UE_NGAP_ID[0] AMF_UE_NGAP_ID[1] (../src/amf/ngap-handler.c:1678) 11/09 11:09:56.933: [amf] INFO: SUCI[suci-0-001-01-0-0-0-0000000018] (../src/amf/ngap-handler.c:1681) 11/09 11:09:56.933: [amf] INFO: [Removed] Number of gNB-UEs is now 0 (../src/amf/context.c:2530) 11/09 11:09:56.933: [amf] INFO: [Removed] Number of AMF-UEs is now 0 (../src/amf/context.c:1663)

and in nrf show this error: 11/09 11:09:31.686: [nrf] INFO: [c2196076-9e6d-41ef-aa3b-db7872dff51e] NF registered [Heartbeat:10s] (../src/nrf/nf-sm.c:190) 11/09 11:09:56.796: [nrf] ERROR: Invalid API name [nausf-auth] (../src/nrf/nrf-sm.c:243).

pgawlowicz commented 2 weeks ago

Did you add the UE data to the subscriber database?

faratell commented 1 day ago

I solved this issue. Now my ue connected to network and show 5G tag. But have not connection to internet and on amf show this log:

11/24 16:15:30.217: [gmm] INFO: Service request (../src/amf/gmm-sm.c:1171)
11/24 16:15:30.217: [gmm] INFO: [suci-0-001-01-0-0-0-0000000023]    5G-S_GUTI[AMF_ID:0x20040,M_TMSI:0xc00001ff] (../src/amf/gmm-handler.c:658)
11/24 16:15:30.365: [amf] INFO: [Added] Number of AMF-Sessions is now 2 (../src/amf/context.c:2544)
11/24 16:15:30.365: [gmm] INFO: UE SUPI[imsi-001010000000023] DNN[internet] S_NSSAI[SST:1 SD:0xffffff] (../src/amf/gmm-handler.c:1247)
11/24 16:15:30.490: [amf] INFO: [imsi-001010000000023:2:11][0:0:NULL] /nsmf-pdusession/v1/sm-contexts/{smContextRef}/modify (../src/amf/nsmf-handler.c:837)
11/24 16:15:39.077: [gmm] WARNING: [imsi-001010000000023] DNN Not Supported OR Not Subscribed in the Slice (../src/amf/gmm-handler.c:1234)
11/24 16:15:55.077: [gmm] WARNING: [imsi-001010000000023] DNN Not Supported OR Not Subscribed in the Slice (../src/amf/gmm-handler.c:1234)
11/24 16:16:11.077: [gmm] WARNING: [imsi-001010000000023] DNN Not Supported OR Not Subscribed in the Slice (../src/amf/gmm-handler.c:1234)
11/24 16:16:19.148: [amf] INFO: [imsi-001010000000023:2:13][0:0:NULL] /nsmf-pdusession/v1/sm-contexts/{smContextRef}/modify (../src/amf/nsmf-handler.c:837)
11/24 16:16:19.285: [amf] INFO: UE Context Release [Action:2] (../src/amf/ngap-handler.c:1677)
11/24 16:16:19.285: [amf] INFO:     RAN_UE_NGAP_ID[2] AMF_UE_NGAP_ID[3] (../src/amf/ngap-handler.c:1678)
11/24 16:16:19.285: [amf] INFO:     SUCI[suci-0-001-01-0-0-0-0000000023] (../src/amf/ngap-handler.c:1681)
11/24 16:16:19.285: [amf] INFO: [Removed] Number of gNB-UEs is now 0 (../src/amf/context.c:2530)
pgawlowicz commented 7 hours ago

could you share ngap.pcap file?