Skip to content
Snippets Groups Projects
Forked from oai / openairinterface5G
5544 commits behind the upstream repository.
  • Laurent Thomas's avatar
    553f1d1a
    Add basic E1 functionality · 553f1d1a
    Laurent Thomas authored and Robert Schmidt's avatar Robert Schmidt committed
    With contributions from
    * Sakthivel Velumani <velumani@eurecom.fr>
    * Robert Schmidt <robert.schmidt@openairinterface.org>
    
    Squashed commit of the following:
    
    commit e8488acb
    Merge: f09468eb 5d58645a
    Author: laurent <laurent Thomas>
    Date:   Sat Jan 21 15:03:40 2023 +0100
    
        merge develop
    
    commit f09468eb
    Author: laurent <laurent Thomas>
    Date:   Fri Jan 20 10:43:51 2023 +0100
    
        continue e1AP development
    
    commit 76545cfb
    Author: laurent <laurent Thomas>
    Date:   Wed Jan 18 14:18:47 2023 +0100
    
        fix regressions after merge develop
    
    commit 7071c480
    Merge: 569b9fc5 214aa505
    Author: laurent <laurent Thomas>
    Date:   Mon Jan 16 15:51:50 2023 +0100
    
        merge develop
    
    commit 569b9fc5
    Author: laurent <laurent Thomas>
    Date:   Wed Jan 4 17:07:01 2023 +0100
    
        fix srb2 addition, simplify and remove dead code, fix one race
    
    commit 9fa89151
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Jan 4 20:02:05 2023 +0530
    
        Bearer context release decoder and encoder
    
    commit 7011cb51
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Jan 4 13:43:58 2023 +0530
    
        Update documentation
    
    commit 3e8899fc
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Jan 4 10:14:11 2023 +0530
    
        Fix function arguments and warnings
    
    commit 989ad183
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jan 3 20:18:31 2023 +0530
    
        Moved E1-design.md to doc/
    
    commit 04a8633d
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jan 3 20:13:46 2023 +0530
    
        Make libraries lower case in CMakeLists
    
    commit 033ec174
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jan 3 17:55:25 2023 +0530
    
        Renamed and updated cucp cuup config files
    
    commit f76a6913
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jan 3 13:31:19 2023 +0530
    
        Removed CU-UP checks from nr-softmodem
    
    commit ae70afe4
    Author: laurent <laurent Thomas>
    Date:   Mon Jan 2 13:01:45 2023 +0100
    
        fix for gcc version hat doesnt accept declarations in switch
    
    commit 6a7a0104
    Author: laurent <laurent Thomas>
    Date:   Tue Dec 27 15:59:28 2022 +0100
    
        first functional commit standalone cu-up
    
    commit 0caa4690
    Merge: 3619f955 1a0c0cd1
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Dec 23 14:21:00 2022 +0530
    
        Merge remote-tracking branch 'origin/develop' into e1-implementation-wip
    
    commit 3619f955
    Merge: 1bcf8d5e cfe698eb
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Dec 21 15:47:40 2022 +0530
    
        Merge remote-tracking branch 'origin/develop' into e1-implementation-wip
    
    commit 1bcf8d5e
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Sep 13 02:10:34 2022 -0400
    
        Fix GTP rnti to ue_id after rebase
    
    commit 23075ff8
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Sep 6 00:32:12 2022 -0400
    
        Added documentation
    
    commit 28f6e507
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Mon Sep 5 15:02:02 2022 -0400
    
        Header cleaups and unitary simulators build fixes
    
    commit e665dbab
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Sep 1 17:52:07 2022 -0400
    
        Common interface between CUCP & CUUP for E1 and non E1 modes
    
    commit 5dcc1bf5
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Sep 1 13:53:49 2022 -0400
    
        Allocate stack where ever possible
        Free memory after ASN encode
    
    commit 793a5379
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Sep 1 10:41:50 2022 -0400
    
        Fixes for build issues
    
    commit 0d3564f2
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 31 20:57:14 2022 -0400
    
        Fixed uesoftmodem linkage error
    
    commit 34adf865
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 31 19:31:50 2022 -0400
    
        Removed RRC thread from CUUP
    
    commit 53674191
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 31 14:21:31 2022 -0400
    
        Add header guard in one of E1AP header
    
    commit 22e9d9b6
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 31 14:00:47 2022 -0400
    
        Fix bug in PDCP ue_id
    
    commit 4c65339b
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 30 18:04:59 2022 -0400
    
        Linked E1AP lib to L2_NR target
        E1AP builds for nr-softmodem
    
    commit 014fe30a
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 30 15:49:27 2022 -0400
    
        Remove xer prints from e1ap
        and gcc warning fixes
    
    commit 71f0c912
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 30 15:42:30 2022 -0400
    
        Fixed bug in integrity protection config
    
    commit 4e393ef9
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 30 14:34:37 2022 -0400
    
        GTP init with only local address
        IP traffic works both directions in Mono, F1 and E1
    
    commit ec3bde2c
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 30 00:16:03 2022 -0400
    
        Fix bug in pdcp config and GTP instance
        UL iperf still not works. Can see packets in wireshark.
    
    commit be8df443
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sat Aug 27 20:15:04 2022 -0400
    
        Fixes in node config after rebase
    
    commit 6f42ff88
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sat Aug 27 01:38:21 2022 -0400
    
        Added N3 tunnel address in config params
        fixed bug in address length feild
    
    commit b5e13204
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Aug 26 20:38:47 2022 -0400
    
        Send UL UP address via F1 UE cxt mod msg
    
    commit ecfd0fe2
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Aug 26 15:08:53 2022 -0400
    
        Update GTP remote address from response message
        Modified GTP tunnel update function accordingly
        Put GTP tunnel update out of F1AP
        F1 split works
    
    commit 14a37e41
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sat Aug 20 01:17:36 2022 -0400
    
        Moved GTP tunnel creation out of F1AP message sending
    
    commit cdd58ab9
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Aug 19 17:40:43 2022 -0400
    
        Moved DRB config out of RRCReconfig complete
        Monolithic and F1 split works
    
    commit 61d66e49
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Aug 11 01:30:10 2022 -0400
    
        Allow CUUP to have RRC inst without error
    
    commit dd7ae889
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Aug 11 01:29:21 2022 -0400
    
        Added missing IEs in bearer cxt response handler
    
    commit a6f1fe5f
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 10 21:02:30 2022 -0400
    
        Unified bearer context message transfer for E1 and non-E1 mode
        compiles, to be tested
    
    commit f245ace2
    Author: laurent <laurent Thomas>
    Date:   Tue Aug 9 17:46:52 2022 +0200
    
        remove log_i() of fatal errors
    
    commit d2a0f3c8
    Author: laurent <laurent Thomas>
    Date:   Fri Aug 5 15:01:39 2022 +0200
    
        fix rnti/ue_id for ue
    
    commit 7b52c6cd
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Aug 4 19:14:46 2022 -0400
    
        Created separate functions in PDCP for E1 mode
    
    commit 46680d2b
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Aug 4 19:13:10 2022 -0400
    
        Bug fixes in bearer context setup response
    
    commit 3d091bfd
    Author: laurent <laurent Thomas>
    Date:   Thu Aug 4 15:42:11 2022 +0200
    
        add missing file from previous commit
    
    commit 21838572
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 3 16:59:16 2022 -0400
    
        Minor bug fixes
    
    commit 34eb73fb
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 2 23:16:47 2022 -0400
    
        Added config files for testing
        To be renamed or removed later
    
    commit a7e9c6fb
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 2 23:15:21 2022 -0400
    
        Made rrc_gNB_get_ue_context_from_ngap_ids() non static
    
    commit 028f0407
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 2 23:12:16 2022 -0400
    
        Completed bearer context setup cycle
        To be tested: Handling of bearer context setup response and subsequent UE context modifition msg to F1AP task
    
    commit 4481d113
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 2 23:01:50 2022 -0400
    
        Fixed E1AP PPID (wireshark fixed)
    
    commit 7a22573f
    Author: laurent <laurent Thomas>
    Date:   Fri Jul 29 13:03:31 2022 +0200
    
        fix compile issues, simplify gtp send function
    
    commit 0209011a
    Author: laurent <laurent Thomas>
    Date:   Thu Jul 28 11:51:18 2022 +0200
    
        restore compilation capability, gtp replacement of rnti by ueid
    
    commit ce3b886f
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Jul 22 08:35:31 2022 -0400
    
        Included missing IEs in bearer cxt setup message
    
    commit 1208ae0d
    Author: Cedric Roux <cedric.roux@eurecom.fr>
    Date:   Tue Jul 19 10:53:35 2022 +0200
    
        replace rnti by ue_id in pdcp
    
        some sdap and gtp files had to be touched, the work is not finished in there
    
        some changes in nr_pdcp_oai_api.c simply assume ue_id is indeed rnti
        (will functions in this file be used by cu-up?)
    
    commit e67d1c88
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jul 19 10:08:39 2022 +0200
    
        Replace RNTI with UE ID in GTP files
        (half done. Laurent to change ctxt_t)
    
    commit 7a141e8e
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jul 19 10:04:15 2022 +0200
    
        Added RRC handler for bearer cxt setup in CUUP
    
    commit fe210667
    Author: laurent <laurent Thomas>
    Date:   Mon Jul 11 13:30:30 2022 +0200
    
        fix race in startup procedure (config before starting threads that use the config)
    
    commit 3197baab
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sun Jul 10 11:30:31 2022 +0200
    
        Fixed bugs in bearer creation
    
    commit 26be6116
    Author: laurent <laurent Thomas>
    Date:   Sun Jul 10 10:50:57 2022 +0200
    
        fix a race, add asn1c debug method
    
    commit 26750d18
    Author: laurent <laurent Thomas>
    Date:   Wed Jul 6 22:34:10 2022 +0200
    
        e1ap bearer setup encoding invalid
    
    commit d092788a
    Author: laurent <laurent Thomas>
    Date:   Wed Jul 6 14:18:39 2022 +0200
    
        fix regression with F1, some basic cleaning in NGAP
    
    commit 41a13573
    Author: laurent <laurent Thomas>
    Date:   Wed Jul 6 11:24:52 2022 +0200
    
        fix some ngap regressions
    
    commit 460acd84
    Author: laurent <laurent Thomas>
    Date:   Tue Jul 5 21:19:13 2022 +0200
    
        build, run in F1 mode until UE connect but pdu session still fails
    
    commit 7c067095
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sat Jun 25 22:45:46 2022 +0530
    
        Populate PDU and DRB paramenters from NGAP
    
    commit c4ada56a
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jun 7 22:16:58 2022 +0530
    
        setup resp decoding success
    
    commit a2f41597
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sat Jun 4 13:50:55 2022 +0530
    
        Fixed bugs in E1 setup procedure
        E1 setup request decoding successful
    
    commit 6106207b
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu May 26 20:13:14 2022 +0530
    
        Fixing build issues
    
    commit 67235fac
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Mon May 23 12:04:22 2022 +0200
    
        Make nr-softmodem depend on E1AP module
    
    commit 391cee93
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Mon May 23 11:57:15 2022 +0200
    
        Fix ITTI errors in E1AP target
    
    commit db4146e4
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed May 18 06:59:03 2022 +0530
    
        CP UP task created
    
    commit 3058d2fc
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue May 10 08:12:19 2022 +0530
    
        Bearer context setup response message
    
    commit b911e9db
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue May 3 16:52:49 2022 +0530
    
        Bearer context setup c structs
    
    commit d0f4d5f3
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Apr 28 02:21:50 2022 +0530
    
        Bearer context setup message
    
    commit 489a5358
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Apr 21 10:11:03 2022 +0530
    
        Started with CUUP task
    
    commit b416061f
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Apr 15 18:46:27 2022 +0530
    
        Setup request and response messages
    
    commit faca4b97
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Mon Apr 11 15:01:48 2022 +0200
    
        Fixup for cmake execution
    
    commit ecfd9f76
    Author: Robert Schmidt <robert.schmidt@eurecom.fr>
    Date:   Tue Nov 24 21:39:20 2020 +0100
    
        Move CMakeLists.txt into root
    
    commit 9f41f7c5
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Tue Apr 12 12:07:18 2022 +0200
    
        Remove hwlat refs in build_oai: targets don't exist anymore
    
    commit e666cf5e
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Mon Apr 11 14:37:32 2022 +0200
    
        Create CMake E1AP_RELEASE variable from E1AP_VERSION
    
    commit 1f841336
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Sun Apr 10 14:25:38 2022 +0200
    
        Add E1AP lib
    
    commit 7465cea4
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Sun Apr 10 14:48:40 2022 +0200
    
        Add E1AP Grammar and build ASN.1 lib at build time
    
    commit cde22f83
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Fri Apr 22 13:42:51 2022 +0200
    
        Accept higher vers. nums in make_version/MAKE_VERSION
    
    commit d5127b23
    Author: Robert Schmidt <robert.schmidt@eurecom.fr>
    Date:   Tue Nov 24 21:39:20 2020 +0100
    
        Move CMakeLists.txt into root
    553f1d1a
    History
    Add basic E1 functionality
    Laurent Thomas authored and Robert Schmidt's avatar Robert Schmidt committed
    With contributions from
    * Sakthivel Velumani <velumani@eurecom.fr>
    * Robert Schmidt <robert.schmidt@openairinterface.org>
    
    Squashed commit of the following:
    
    commit e8488acb
    Merge: f09468eb 5d58645a
    Author: laurent <laurent Thomas>
    Date:   Sat Jan 21 15:03:40 2023 +0100
    
        merge develop
    
    commit f09468eb
    Author: laurent <laurent Thomas>
    Date:   Fri Jan 20 10:43:51 2023 +0100
    
        continue e1AP development
    
    commit 76545cfb
    Author: laurent <laurent Thomas>
    Date:   Wed Jan 18 14:18:47 2023 +0100
    
        fix regressions after merge develop
    
    commit 7071c480
    Merge: 569b9fc5 214aa505
    Author: laurent <laurent Thomas>
    Date:   Mon Jan 16 15:51:50 2023 +0100
    
        merge develop
    
    commit 569b9fc5
    Author: laurent <laurent Thomas>
    Date:   Wed Jan 4 17:07:01 2023 +0100
    
        fix srb2 addition, simplify and remove dead code, fix one race
    
    commit 9fa89151
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Jan 4 20:02:05 2023 +0530
    
        Bearer context release decoder and encoder
    
    commit 7011cb51
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Jan 4 13:43:58 2023 +0530
    
        Update documentation
    
    commit 3e8899fc
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Jan 4 10:14:11 2023 +0530
    
        Fix function arguments and warnings
    
    commit 989ad183
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jan 3 20:18:31 2023 +0530
    
        Moved E1-design.md to doc/
    
    commit 04a8633d
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jan 3 20:13:46 2023 +0530
    
        Make libraries lower case in CMakeLists
    
    commit 033ec174
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jan 3 17:55:25 2023 +0530
    
        Renamed and updated cucp cuup config files
    
    commit f76a6913
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jan 3 13:31:19 2023 +0530
    
        Removed CU-UP checks from nr-softmodem
    
    commit ae70afe4
    Author: laurent <laurent Thomas>
    Date:   Mon Jan 2 13:01:45 2023 +0100
    
        fix for gcc version hat doesnt accept declarations in switch
    
    commit 6a7a0104
    Author: laurent <laurent Thomas>
    Date:   Tue Dec 27 15:59:28 2022 +0100
    
        first functional commit standalone cu-up
    
    commit 0caa4690
    Merge: 3619f955 1a0c0cd1
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Dec 23 14:21:00 2022 +0530
    
        Merge remote-tracking branch 'origin/develop' into e1-implementation-wip
    
    commit 3619f955
    Merge: 1bcf8d5e cfe698eb
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Dec 21 15:47:40 2022 +0530
    
        Merge remote-tracking branch 'origin/develop' into e1-implementation-wip
    
    commit 1bcf8d5e
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Sep 13 02:10:34 2022 -0400
    
        Fix GTP rnti to ue_id after rebase
    
    commit 23075ff8
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Sep 6 00:32:12 2022 -0400
    
        Added documentation
    
    commit 28f6e507
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Mon Sep 5 15:02:02 2022 -0400
    
        Header cleaups and unitary simulators build fixes
    
    commit e665dbab
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Sep 1 17:52:07 2022 -0400
    
        Common interface between CUCP & CUUP for E1 and non E1 modes
    
    commit 5dcc1bf5
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Sep 1 13:53:49 2022 -0400
    
        Allocate stack where ever possible
        Free memory after ASN encode
    
    commit 793a5379
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Sep 1 10:41:50 2022 -0400
    
        Fixes for build issues
    
    commit 0d3564f2
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 31 20:57:14 2022 -0400
    
        Fixed uesoftmodem linkage error
    
    commit 34adf865
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 31 19:31:50 2022 -0400
    
        Removed RRC thread from CUUP
    
    commit 53674191
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 31 14:21:31 2022 -0400
    
        Add header guard in one of E1AP header
    
    commit 22e9d9b6
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 31 14:00:47 2022 -0400
    
        Fix bug in PDCP ue_id
    
    commit 4c65339b
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 30 18:04:59 2022 -0400
    
        Linked E1AP lib to L2_NR target
        E1AP builds for nr-softmodem
    
    commit 014fe30a
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 30 15:49:27 2022 -0400
    
        Remove xer prints from e1ap
        and gcc warning fixes
    
    commit 71f0c912
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 30 15:42:30 2022 -0400
    
        Fixed bug in integrity protection config
    
    commit 4e393ef9
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 30 14:34:37 2022 -0400
    
        GTP init with only local address
        IP traffic works both directions in Mono, F1 and E1
    
    commit ec3bde2c
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 30 00:16:03 2022 -0400
    
        Fix bug in pdcp config and GTP instance
        UL iperf still not works. Can see packets in wireshark.
    
    commit be8df443
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sat Aug 27 20:15:04 2022 -0400
    
        Fixes in node config after rebase
    
    commit 6f42ff88
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sat Aug 27 01:38:21 2022 -0400
    
        Added N3 tunnel address in config params
        fixed bug in address length feild
    
    commit b5e13204
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Aug 26 20:38:47 2022 -0400
    
        Send UL UP address via F1 UE cxt mod msg
    
    commit ecfd0fe2
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Aug 26 15:08:53 2022 -0400
    
        Update GTP remote address from response message
        Modified GTP tunnel update function accordingly
        Put GTP tunnel update out of F1AP
        F1 split works
    
    commit 14a37e41
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sat Aug 20 01:17:36 2022 -0400
    
        Moved GTP tunnel creation out of F1AP message sending
    
    commit cdd58ab9
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Aug 19 17:40:43 2022 -0400
    
        Moved DRB config out of RRCReconfig complete
        Monolithic and F1 split works
    
    commit 61d66e49
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Aug 11 01:30:10 2022 -0400
    
        Allow CUUP to have RRC inst without error
    
    commit dd7ae889
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Aug 11 01:29:21 2022 -0400
    
        Added missing IEs in bearer cxt response handler
    
    commit a6f1fe5f
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 10 21:02:30 2022 -0400
    
        Unified bearer context message transfer for E1 and non-E1 mode
        compiles, to be tested
    
    commit f245ace2
    Author: laurent <laurent Thomas>
    Date:   Tue Aug 9 17:46:52 2022 +0200
    
        remove log_i() of fatal errors
    
    commit d2a0f3c8
    Author: laurent <laurent Thomas>
    Date:   Fri Aug 5 15:01:39 2022 +0200
    
        fix rnti/ue_id for ue
    
    commit 7b52c6cd
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Aug 4 19:14:46 2022 -0400
    
        Created separate functions in PDCP for E1 mode
    
    commit 46680d2b
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Aug 4 19:13:10 2022 -0400
    
        Bug fixes in bearer context setup response
    
    commit 3d091bfd
    Author: laurent <laurent Thomas>
    Date:   Thu Aug 4 15:42:11 2022 +0200
    
        add missing file from previous commit
    
    commit 21838572
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed Aug 3 16:59:16 2022 -0400
    
        Minor bug fixes
    
    commit 34eb73fb
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 2 23:16:47 2022 -0400
    
        Added config files for testing
        To be renamed or removed later
    
    commit a7e9c6fb
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 2 23:15:21 2022 -0400
    
        Made rrc_gNB_get_ue_context_from_ngap_ids() non static
    
    commit 028f0407
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 2 23:12:16 2022 -0400
    
        Completed bearer context setup cycle
        To be tested: Handling of bearer context setup response and subsequent UE context modifition msg to F1AP task
    
    commit 4481d113
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Aug 2 23:01:50 2022 -0400
    
        Fixed E1AP PPID (wireshark fixed)
    
    commit 7a22573f
    Author: laurent <laurent Thomas>
    Date:   Fri Jul 29 13:03:31 2022 +0200
    
        fix compile issues, simplify gtp send function
    
    commit 0209011a
    Author: laurent <laurent Thomas>
    Date:   Thu Jul 28 11:51:18 2022 +0200
    
        restore compilation capability, gtp replacement of rnti by ueid
    
    commit ce3b886f
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Jul 22 08:35:31 2022 -0400
    
        Included missing IEs in bearer cxt setup message
    
    commit 1208ae0d
    Author: Cedric Roux <cedric.roux@eurecom.fr>
    Date:   Tue Jul 19 10:53:35 2022 +0200
    
        replace rnti by ue_id in pdcp
    
        some sdap and gtp files had to be touched, the work is not finished in there
    
        some changes in nr_pdcp_oai_api.c simply assume ue_id is indeed rnti
        (will functions in this file be used by cu-up?)
    
    commit e67d1c88
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jul 19 10:08:39 2022 +0200
    
        Replace RNTI with UE ID in GTP files
        (half done. Laurent to change ctxt_t)
    
    commit 7a141e8e
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jul 19 10:04:15 2022 +0200
    
        Added RRC handler for bearer cxt setup in CUUP
    
    commit fe210667
    Author: laurent <laurent Thomas>
    Date:   Mon Jul 11 13:30:30 2022 +0200
    
        fix race in startup procedure (config before starting threads that use the config)
    
    commit 3197baab
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sun Jul 10 11:30:31 2022 +0200
    
        Fixed bugs in bearer creation
    
    commit 26be6116
    Author: laurent <laurent Thomas>
    Date:   Sun Jul 10 10:50:57 2022 +0200
    
        fix a race, add asn1c debug method
    
    commit 26750d18
    Author: laurent <laurent Thomas>
    Date:   Wed Jul 6 22:34:10 2022 +0200
    
        e1ap bearer setup encoding invalid
    
    commit d092788a
    Author: laurent <laurent Thomas>
    Date:   Wed Jul 6 14:18:39 2022 +0200
    
        fix regression with F1, some basic cleaning in NGAP
    
    commit 41a13573
    Author: laurent <laurent Thomas>
    Date:   Wed Jul 6 11:24:52 2022 +0200
    
        fix some ngap regressions
    
    commit 460acd84
    Author: laurent <laurent Thomas>
    Date:   Tue Jul 5 21:19:13 2022 +0200
    
        build, run in F1 mode until UE connect but pdu session still fails
    
    commit 7c067095
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sat Jun 25 22:45:46 2022 +0530
    
        Populate PDU and DRB paramenters from NGAP
    
    commit c4ada56a
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue Jun 7 22:16:58 2022 +0530
    
        setup resp decoding success
    
    commit a2f41597
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Sat Jun 4 13:50:55 2022 +0530
    
        Fixed bugs in E1 setup procedure
        E1 setup request decoding successful
    
    commit 6106207b
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu May 26 20:13:14 2022 +0530
    
        Fixing build issues
    
    commit 67235fac
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Mon May 23 12:04:22 2022 +0200
    
        Make nr-softmodem depend on E1AP module
    
    commit 391cee93
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Mon May 23 11:57:15 2022 +0200
    
        Fix ITTI errors in E1AP target
    
    commit db4146e4
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Wed May 18 06:59:03 2022 +0530
    
        CP UP task created
    
    commit 3058d2fc
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue May 10 08:12:19 2022 +0530
    
        Bearer context setup response message
    
    commit b911e9db
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Tue May 3 16:52:49 2022 +0530
    
        Bearer context setup c structs
    
    commit d0f4d5f3
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Apr 28 02:21:50 2022 +0530
    
        Bearer context setup message
    
    commit 489a5358
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Thu Apr 21 10:11:03 2022 +0530
    
        Started with CUUP task
    
    commit b416061f
    Author: Sakthivel Velumani <velumani@eurecom.fr>
    Date:   Fri Apr 15 18:46:27 2022 +0530
    
        Setup request and response messages
    
    commit faca4b97
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Mon Apr 11 15:01:48 2022 +0200
    
        Fixup for cmake execution
    
    commit ecfd9f76
    Author: Robert Schmidt <robert.schmidt@eurecom.fr>
    Date:   Tue Nov 24 21:39:20 2020 +0100
    
        Move CMakeLists.txt into root
    
    commit 9f41f7c5
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Tue Apr 12 12:07:18 2022 +0200
    
        Remove hwlat refs in build_oai: targets don't exist anymore
    
    commit e666cf5e
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Mon Apr 11 14:37:32 2022 +0200
    
        Create CMake E1AP_RELEASE variable from E1AP_VERSION
    
    commit 1f841336
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Sun Apr 10 14:25:38 2022 +0200
    
        Add E1AP lib
    
    commit 7465cea4
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Sun Apr 10 14:48:40 2022 +0200
    
        Add E1AP Grammar and build ASN.1 lib at build time
    
    commit cde22f83
    Author: Robert Schmidt <robert.schmidt@openairinterface.org>
    Date:   Fri Apr 22 13:42:51 2022 +0200
    
        Accept higher vers. nums in make_version/MAKE_VERSION
    
    commit d5127b23
    Author: Robert Schmidt <robert.schmidt@eurecom.fr>
    Date:   Tue Nov 24 21:39:20 2020 +0100
    
        Move CMakeLists.txt into root
OAI 5G SA tutorial

Table of Contents

In the following tutorial we describe how to deploy configure and test the two SA OAI setups:

  • SA setup with OAI gNB and COTS UE
  • SA setup with OAI gNB and OAI UE

The operating system and hardware requirements to support OAI 5G NR are described here.

1. SA setup with COTS UE

At the moment of writing this document interoperability with the following COTS UE devices is being tested:

End-to-end control plane signaling to achieve a 5G SA connection, UE registration and PDU session establishment with the CN, as well as some basic user-plane traffic tests have been validated so far using SIMCOM/Quectel modules and Huawei Mate 30 pro. In terms of interoperability with different 5G Core Networks, so far this setup has been tested with:

1.1 gNB build and configuration

To get the code and build the gNB executable:

Build gNB

    git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git
    git checkout develop
    cd openairinterface5g/
    source oaienv
    cd cmake_targets/
    ./build_oai -I -w USRP #For OAI first time installation only to install software dependencies
    ./build_oai --gNB -w USRP

A reference configuration file for the monolithic gNB is provided here.

In the following, we highlight the fields of the file that have to be configured according to the configuration and interfaces of the Core Network. First, the PLMN section has to be filled with the proper values that match the configuration of the AMF and the UE USIM.

    // Tracking area code, 0x0000 and 0xfffe are reserved values
    tracking_area_code  =  1;
    plmn_list = ({ mcc = 208; mnc = 99; mnc_length = 2; snssaiList = ({ sst = 1 }) });

Then, the source and destination IP interfaces for the communication with the Core Network also need to be set as shown below.

    ////////// AMF parameters:
    amf_ip_address      = ( { ipv4       = "192.168.70.132";
                              ipv6       = "192:168:30::17";
                              active     = "yes";
                              preference = "ipv4";
                            }
                          );


    NETWORK_INTERFACES :
    {
        GNB_INTERFACE_NAME_FOR_NG_AMF            = "demo-oai";
        GNB_IPV4_ADDRESS_FOR_NG_AMF              = "192.168.70.129/24";
        GNB_INTERFACE_NAME_FOR_NGU               = "demo-oai";
        GNB_IPV4_ADDRESS_FOR_NGU                 = "192.168.70.129/24";
        GNB_PORT_FOR_S1U                         = 2152; # Spec 2152
    };

In the first part (amf_ip_address) we specify the IP of the AMF and in the second part (NETWORK_INTERFACES) we specify the gNB local interface with AMF (N2 interface) and the UPF (N3 interface).

CAUTION: the 192.168.70.132 AMF IF address is the OAI-CN5G AMF Container IP address. You certainly will need to do some networking manipulations for the gNB server to be able to see this AMF container.

Please read CN5G tutorial for more details.

gNB configuration in F1 (CU/DU split mode)

For the configuration of the gNB in CU and DU blocks, the following sample configuration files are provided for the CU and the DU entities respectively. These configuration files have to be updated with the IP addresses of the CU and the DU over the F1 interface. For example, in the following section from the DU configuration file, local_n_address corresponds to the DU address and remote_n_address corresponds to the CU address:

MACRLCs = (
  {
    num_cc           = 1;
    tr_s_preference  = "local_L1";
    tr_n_preference  = "f1";
    local_n_if_name = "lo";
    local_n_address = "127.0.0.3";
    remote_n_address = "127.0.0.4";
    local_n_portc   = 601;
    local_n_portd   = 2152;
    remote_n_portc  = 600;
    remote_n_portd  = 2152;

  }
);

At the point of writing this document the control-plane exchanges between the CU and the DU over F1-C interface, as well as some IP traffic tests over F1-U have been validated using the OAI gNB/nrUE in RFSIMULATOR mode.

gNB configuration with F1 and E1

Please refer to E1-design for more information.

1.2 OAI 5G Core Network installation and configuration

The instructions for the installation of OAI CN components (AMF, SMF, NRF, UPF) using docker-compose can be found here.

1.3 Execution of SA scenario

After having configured the gNB, we can start the individual components in the following sequence:

  • Launch 5G Core Network
  • Launch gNB
  • Launch COTS UE (disable airplane mode)

The execution command to start the gNB (in monolithic mode) is the following:

cd cmake_targets/ran_build/build
sudo ./nr-softmodem -E --sa -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf

2. SA Setup with OAI NR UE Softmodem

The SA setup with OAI UE has been validated with RFSIMULATOR. Both control plane and user plane for the successful UE registration and PDU Session establishment has been verified with OAI and Nokia SA Box CNs.

In the following, we provide the instructions on how to build, configure and execute this SA setup.

As another option, if you do not want to build anything and instead deploy the OAI RAN (RFSIMULATOR) and Core Network components directly using docker images and docker-compose, please have a look at this tutorial.

NAS configuration for the OAI UE

The NAS configuration parameters of the OAI UE can be set as input parameters, configuration file or can be hardcoded. More specifically:

  • SUCI (Subscription Concealed Identifier)
  • USIM_API_K and OPc keys
  • NSSAI (Network Slice Assistance Information)
  • DNN (Data Network Name)

Below is a sample configuration file that can be parsed through the execution command (section 2.3).

uicc0 = {
imsi = "208990000007487";
key = "fec86ba6eb707ed08905757b1bb44b8f";
opc= "C42449363BBAD02B66D16BC975D77CC1";
dnn= "oai";
nssai_sst=1;
nssai_sd=1;
}

For interoperability with OAI or other CNs, it should be ensured that the configuration of the aforementioned parameters match the configuration of the corresponding subscribed user at the core network.

2.1 Build and configuration

To build the gNB and OAI UE executables:

    cd cmake_targets
    # Note: For OAI first time installation please install software dependencies as described in 1.1.
    ./build_oai --gNB --nrUE -w SIMU

The gNB configuration can be performed according to what is described in section 1.1, using the same reference configuration file as with the RF scenario.

2.2 OAI 5G Core Network installation and configuration

The instructions for the installation of OAI CN components (AMF, SMF, NRF, UPF) using docker-compose can be found here.

2.3 Execution of SA scenario

The order of starting the different components should be the same as the one described in section 1.3.

the gNB can be launched in 2 modes:

  • To launch the gNB in monolithic mode:
sudo RFSIMULATOR=server ./nr-softmodem --rfsim --sa \
    -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
  • To launch the gNB in CU/DU split mode:

    1. Launch the CU component:
    sudo RFSIMULATOR=server ./nr-softmodem --rfsim --sa \
        -O ../../../ci-scripts/conf_files/gNB_SA_CU.conf
    1. Launch the DU component:
    sudo RFSIMULATOR=server ./nr-softmodem --rfsim --sa \
        -O ../../../ci-scripts/conf_files/gNB_SA_DU.conf
  • To launch the OAI UE (valid in monolithic gNB and CU/DU split gNB):

sudo RFSIMULATOR=127.0.0.1 ./nr-uesoftmodem -r 106 --numerology 1 --band 78 -C 3619200000 \
   --rfsim --sa --nokrnmod -O <PATH_TO_UE_CONF_FILE>

If you get the following error:

Assertion (k2 >= ((5))) failed!
In get_k2() /home/mir/workspace/openairinterface5g/openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c:147
Slot offset K2 (2) cannot be less than DURATION_RX_TO_TX (5). K2 set according to min_rxtxtime in config file.

Add the following parameter (i.e., min_rxtxtime) in the gNB configuration file, just after nr_cellid.

nr_cellid = 12345678L;
min_rxtxtime=6;

or --gNBs.[0].min_rxtxtime 6 to the gNB command line

The IP address at the execution command of the OAI UE corresponds to the target IP of the gNB host that the RFSIMULATOR at the UE will connect to. In the above example, we assume that the gNB and UE are running on the same host so the specified address (127.0.0.1) is the one of the loopback interface.