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
alex037yang
OpenXG-RAN
Commits
037e37ea
Commit
037e37ea
authored
Aug 03, 2018
by
WEI-TAI CHEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do_SERVINGCELLCONFIGCOMMON will be reuse for fill common config
parent
02a602fa
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
382 additions
and
187 deletions
+382
-187
openair2/COMMON/rrc_messages_types.h
openair2/COMMON/rrc_messages_types.h
+0
-1
openair2/RRC/NR/MESSAGES/asn1_msg.c
openair2/RRC/NR/MESSAGES/asn1_msg.c
+182
-173
openair2/RRC/NR/MESSAGES/asn1_msg.h
openair2/RRC/NR/MESSAGES/asn1_msg.h
+3
-2
openair2/RRC/NR/nr_rrc_common.c
openair2/RRC/NR/nr_rrc_common.c
+143
-9
openair2/RRC/NR/nr_rrc_defs.h
openair2/RRC/NR/nr_rrc_defs.h
+10
-0
openair2/RRC/NR/nr_rrc_proto.h
openair2/RRC/NR/nr_rrc_proto.h
+7
-0
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+37
-2
No files found.
openair2/COMMON/rrc_messages_types.h
View file @
037e37ea
...
@@ -405,7 +405,6 @@ typedef struct NRRrcConfigurationReq_s {
...
@@ -405,7 +405,6 @@ typedef struct NRRrcConfigurationReq_s {
long
PDCCH_TCI_StateId
[
MAX_NUM_CCs
];
long
PDCCH_TCI_StateId
[
MAX_NUM_CCs
];
BOOLEAN_t
tci_PresentInDCI
[
MAX_NUM_CCs
];
BOOLEAN_t
tci_PresentInDCI
[
MAX_NUM_CCs
];
uint32_t
PDCCH_DMRS_ScramblingID
[
MAX_NUM_CCs
];
uint32_t
PDCCH_DMRS_ScramblingID
[
MAX_NUM_CCs
];
uint8_t
frequencyDomainResources_buf
[
6
];
//NR PDCCH-ConfigCommon commonSearchSpaces
//NR PDCCH-ConfigCommon commonSearchSpaces
long
SearchSpaceId
[
MAX_NUM_CCs
];
long
SearchSpaceId
[
MAX_NUM_CCs
];
...
...
openair2/RRC/NR/MESSAGES/asn1_msg.c
View file @
037e37ea
This diff is collapsed.
Click to expand it.
openair2/RRC/NR/MESSAGES/asn1_msg.h
View file @
037e37ea
...
@@ -80,10 +80,11 @@ uint8_t do_MIB_NR(rrc_gNB_carrier_data_t *carrier,
...
@@ -80,10 +80,11 @@ uint8_t do_MIB_NR(rrc_gNB_carrier_data_t *carrier,
uint8_t
do_SIB1_NR
(
rrc_gNB_carrier_data_t
*
carrier
,
int
Mod_id
,
int
CC_id
,
gNB_RrcConfigurationReq
*
configuration
);
uint8_t
do_SIB1_NR
(
rrc_gNB_carrier_data_t
*
carrier
,
int
Mod_id
,
int
CC_id
,
gNB_RrcConfigurationReq
*
configuration
);
void
do_SERVINGCELLCONFIGCOMMON
(
uint8_t
Mod_id
,
void
do_SERVINGCELLCONFIGCOMMON
(
uint8_t
Mod_id
,
int
CC_id
int
CC_id
,
#if defined(ENABLE_ITTI)
#if defined(ENABLE_ITTI)
,
gNB_RrcConfigurationReq
*
configuration
gNB_RrcConfigurationReq
*
configuration
,
#endif
#endif
int
initial_flag
);
);
...
...
openair2/RRC/NR/nr_rrc_common.c
View file @
037e37ea
This diff is collapsed.
Click to expand it.
openair2/RRC/NR/nr_rrc_defs.h
View file @
037e37ea
...
@@ -338,6 +338,16 @@ typedef struct gNB_RRC_UE_s {
...
@@ -338,6 +338,16 @@ typedef struct gNB_RRC_UE_s {
uint32_t
ue_reestablishment_timer
;
uint32_t
ue_reestablishment_timer
;
uint32_t
ue_reestablishment_timer_thres
;
uint32_t
ue_reestablishment_timer_thres
;
uint8_t
e_rab_release_command_flag
;
uint8_t
e_rab_release_command_flag
;
//------------------------------------------------------------------------------//
NR_CellGroupId_t
cellGroupId
;
struct
NR_SpCellConfig
*
spCellConfig
;
struct
NR_CellGroupConfig__sCellToAddModList
*
sCellconfig
;
struct
NR_CellGroupConfig__sCellToReleaseList
*
sCellconfigRelease
;
struct
NR_CellGroupConfig__rlc_BearerToAddModList
*
rlc_BearerBonfig
;
struct
NR_CellGroupConfig__rlc_BearerToReleaseList
*
rlc_BearerRelease
;
struct
NR_MAC_CellGroupConfig
*
mac_CellGroupConfig
;
struct
NR_PhysicalCellGroupConfig
*
physicalCellGroupConfig
;
}
gNB_RRC_UE_t
;
}
gNB_RRC_UE_t
;
typedef
uid_t
ue_uid_t
;
typedef
uid_t
ue_uid_t
;
...
...
openair2/RRC/NR/nr_rrc_proto.h
View file @
037e37ea
...
@@ -58,6 +58,13 @@ void rrc_gNB_generate_SgNBAdditionRequestAcknowledge(
...
@@ -58,6 +58,13 @@ void rrc_gNB_generate_SgNBAdditionRequestAcknowledge(
rrc_gNB_ue_context_t
*
const
ue_context_pP
rrc_gNB_ue_context_t
*
const
ue_context_pP
);
);
void
rrc_config_servingcellconfigcommon
(
uint8_t
Mod_id
,
int
CC_id
#if defined(ENABLE_ITTI)
,
gNB_RrcConfigurationReq
*
common_configuration
#endif
);
#if defined(ENABLE_ITTI)
#if defined(ENABLE_ITTI)
/**\brief RRC eNB task.
/**\brief RRC eNB task.
\param void *args_p Pointer on arguments to start the task. */
\param void *args_p Pointer on arguments to start the task. */
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
037e37ea
...
@@ -144,6 +144,40 @@ void rrc_gNB_generate_SgNBAdditionRequestAcknowledge(
...
@@ -144,6 +144,40 @@ void rrc_gNB_generate_SgNBAdditionRequestAcknowledge(
rrc_gNB_ue_context_t
*
const
ue_context_pP
rrc_gNB_ue_context_t
*
const
ue_context_pP
){
){
uint8_t
size
;
uint8_t
buffer
[
100
];
int
CC_id
=
ue_context_pP
->
ue_context
.
primaryCC_id
;
/*
NR_CellGroupId_t cellGroupId;
struct NR_CellGroupConfig__rlc_BearerToAddModList *rlc_BearerToAddModList;
struct NR_MAC_CellGroupConfig *mac_CellGroupConfig;
struct NR_PhysicalCellGroupConfig *physicalCellGroupConfig;
struct NR_SpCellConfig *spCellConfig;
struct NR_CellGroupConfig__sCellToAddModList *sCellToAddModList;
*/
gNB_RrcConfigurationReq
*
common_configuration
;
common_configuration
=
CALLOC
(
1
,
sizeof
(
gNB_RrcConfigurationReq
));
//Fill config
rrc_config_servingcellconfigcommon
(
ctxt_pP
->
module_id
,
ue_context_pP
->
ue_context
.
primaryCC_id
#if defined(ENABLE_ITTI)
,
common_configuration
#endif
);
//Fill config to structure
do_SERVINGCELLCONFIGCOMMON
(
ctxt_pP
->
module_id
,
ue_context_pP
->
ue_context
.
primaryCC_id
,
#if defined(ENABLE_ITTI)
common_configuration
,
#endif
0
);
/*
memcpy( (*spCellConfig)->reconfigurationWithSync->spCellConfigCommon ,
RC.nrrrc[ctxt_pP->module_id]->carrier[0].servingcellconfigcommon,
sizeof(struct NR_ServingCellConfigCommon));
*/
}
}
...
@@ -184,10 +218,11 @@ static void init_NR_SI(const protocol_ctxt_t* const ctxt_pP,
...
@@ -184,10 +218,11 @@ static void init_NR_SI(const protocol_ctxt_t* const ctxt_pP,
);
);
do_SERVINGCELLCONFIGCOMMON
(
ctxt_pP
->
module_id
,
do_SERVINGCELLCONFIGCOMMON
(
ctxt_pP
->
module_id
,
CC_id
CC_id
,
#if defined(ENABLE_ITTI)
#if defined(ENABLE_ITTI)
,
configuration
configuration
,
#endif
#endif
1
);
);
LOG_I
(
NR_RRC
,
"Done init_NR_SI
\n
"
);
LOG_I
(
NR_RRC
,
"Done init_NR_SI
\n
"
);
...
...
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