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
spbro
OpenXG-RAN
Commits
dbeb1ea6
Commit
dbeb1ea6
authored
Oct 15, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup nr_rrc_reconfiguration_req(): pass UE context directly
parent
145ab259
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
openair2/RRC/NR/nr_rrc_proto.h
openair2/RRC/NR/nr_rrc_proto.h
+1
-4
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+3
-9
No files found.
openair2/RRC/NR/nr_rrc_proto.h
View file @
dbeb1ea6
...
...
@@ -79,10 +79,7 @@ void *rrc_gnb_task(void *args_p);
\ *reOffset Pointer to RE Offset Value */
void
rrc_config_dl_ptrs_params
(
NR_BWP_Downlink_t
*
bwp
,
long
*
ptrsNrb
,
long
*
ptrsMcs
,
long
*
epre_Ratio
,
long
*
reOffset
);
int
nr_rrc_reconfiguration_req
(
rrc_gNB_ue_context_t
*
const
ue_context_pP
,
protocol_ctxt_t
*
const
ctxt_pP
,
const
int
dl_bwp_id
,
const
int
ul_bwp_id
);
int
nr_rrc_reconfiguration_req
(
gNB_RRC_INST
*
rrc
,
gNB_RRC_UE_t
*
ue_p
,
const
int
dl_bwp_id
,
const
int
ul_bwp_id
);
void
rrc_gNB_generate_dedicatedRRCReconfiguration_release
(
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
dbeb1ea6
...
...
@@ -1001,13 +1001,9 @@ static void rrc_gNB_process_RRCReestablishmentComplete(gNB_RRC_INST *rrc, gNB_RR
}
//-----------------------------------------------------------------------------
int
nr_rrc_reconfiguration_req
(
rrc_gNB_ue_context_t
*
const
ue_context_pP
,
protocol_ctxt_t
*
const
ctxt_pP
,
const
int
dl_bwp_id
,
const
int
ul_bwp_id
)
int
nr_rrc_reconfiguration_req
(
gNB_RRC_INST
*
rrc
,
gNB_RRC_UE_t
*
ue_p
,
const
int
dl_bwp_id
,
const
int
ul_bwp_id
)
{
uint8_t
xid
=
rrc_gNB_get_next_transaction_identifier
(
ctxt_pP
->
module_id
);
gNB_RRC_UE_t
*
ue_p
=
&
ue_context_pP
->
ue_context
;
uint8_t
xid
=
rrc_gNB_get_next_transaction_identifier
(
rrc
->
module_id
);
ue_p
->
xids
[
xid
]
=
RRC_DEDICATED_RECONF
;
NR_CellGroupConfig_t
*
masterCellGroup
=
ue_p
->
masterCellGroup
;
...
...
@@ -1022,7 +1018,6 @@ int nr_rrc_reconfiguration_req(rrc_gNB_ue_context_t *const ue_context_pP,
uint8_t
buffer
[
NR_RRC_BUF_SIZE
];
int
size
=
do_RRCReconfiguration
(
ue_p
,
buffer
,
NR_RRC_BUF_SIZE
,
xid
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
masterCellGroup
);
gNB_RRC_INST
*
rrc
=
RC
.
nrrrc
[
ctxt_pP
->
module_id
];
nr_rrc_transfer_protected_rrc_message
(
rrc
,
ue_p
,
DCCH
,
buffer
,
size
);
return
0
;
...
...
@@ -2052,8 +2047,7 @@ static void rrc_CU_process_ue_modification_required(MessageDef *msg_p)
xer_fprint
(
stdout
,
&
asn_DEF_NR_CellGroupConfig
,
UE
->
masterCellGroup
);
/* trigger reconfiguration */
nr_rrc_reconfiguration_req
(
ue_context_p
,
&
ctxt
,
0
,
0
);
//rrc_gNB_generate_dedicatedRRCReconfiguration(&ctxt, ue_context_p);
nr_rrc_reconfiguration_req
(
rrc
,
UE
,
0
,
0
);
return
;
}
LOG_W
(
RRC
,
...
...
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