Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
c4b2eeb2
Commit
c4b2eeb2
authored
Aug 27, 2019
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intermediate commit before merge
parent
6fed116b
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1345 additions
and
1 deletion
+1345
-1
openair2/RRC/NR/nr_rrc_defs.h
openair2/RRC/NR/nr_rrc_defs.h
+3
-1
openair2/RRC/NR/rrc_gNB_nsa.c
openair2/RRC/NR/rrc_gNB_nsa.c
+63
-0
openair2/RRC/NR/rrc_gNB_reconfig.c
openair2/RRC/NR/rrc_gNB_reconfig.c
+1279
-0
No files found.
openair2/RRC/NR/nr_rrc_defs.h
View file @
c4b2eeb2
...
...
@@ -385,7 +385,9 @@ typedef struct {
int
ssb_SubcarrierOffset
;
NR_ServingCellConfigCommon_t
*
servingcellconfigcommon
;
int
num_UEs
;
NR_RRCReconfiguration_t
*
reconfig
[
MAX_NR_RRC_UE_CONTEXTS
];
NR_CellGroupConfig_t
*
secondaryCellGroup
[
MAX_NR_RRC_UE_CONTEXTS
];
NR_SRB_INFO
SI
;
NR_SRB_INFO
Srb0
;
...
...
openair2/RRC/NR/rrc_gNB_nsa.c
0 → 100644
View file @
c4b2eeb2
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/*! \file rrc_gNB_nsa.c
* \brief rrc NSA procedures for gNB
* \author Raymond Knopp
* \date 2019
* \version 1.0
* \company Eurecom
* \email: raymond.knopp@eurecom.fr
*/
#define RRC_GNB_NSA_C
#define RRC_GNB_NSA_C
#include "NR_RRCReconfiguration.h"
void
rrc_parse_ue_capabilities
()
{
}
void
rrc_add_nsa_user
(
NR_RRC_VARS
*
rrc
)
{
// generate nr-Config-r15 containers for LTE RRC : inside message for X2 EN-DC (CG-Config Message from 38.331)
// NR RRCReconfiguration
AssertFatal
(
rrc
->
reconfig
[
rrc
->
num_UEs
]
==
NULL
,
"rrc->reconfig[%d] isn't null
\n
"
,
rrc
->
num_UEs
);
AssertFatal
(
rrc
->
num_UEs
<
MAX_NR_RRC_UE_CONTEXTS
);
rrc
->
reconfig
[
rrc
->
num_UEs
]
=
calloc
(
1
,
sizeof
(
NR_RRCReconfiguration_t
));
rrc
->
secondaryCellGroup
[
rrc
->
num_UEs
]
=
calloc
(
1
,
sizeof
(
NR_CellGroupConfig_t
));
memset
((
void
*
)
rrc
->
reconfig
[
rrc
->
num_UEs
],
0
,
sizeof
(
NR_RRCReconfiguration_t
));
rrc
->
reconfig
[
rrc
->
num_UEs
].
present
=
NR_RRCReconfiguration__criticalExtensions_PR_rrcReconfiguration
;
NR_RRCReconfiguration_IEs_t
*
reconfig_ies
=
calloc
(
1
,
sizeof
(
NR_RRCReconfiguration_IEs_t
));
rrc
->
reconfig
[
rrc
->
num_UEs
].
choice
.
rrcReconiguration
=
reconfig_ies
;
fill_default_reconfig
(
rrc
->
scc
,
reconfig_ies
);
rrc
->
num_UEs
++
;
}
#endif
openair2/RRC/NR/rrc_gNB_reconfig.c
0 → 100644
View file @
c4b2eeb2
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment