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
c4344f26
Commit
c4344f26
authored
Oct 16, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly pass ID to rrc_gNB_get_next_transaction_identifier()
parent
132cd64b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+2
-2
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
c4344f26
...
...
@@ -1315,7 +1315,7 @@ void rrc_forward_ue_nas_message(gNB_RRC_INST *rrc, gNB_RRC_UE_t *UE)
return
;
// no problem: the UE will re-request a NAS PDU
uint8_t
buffer
[
4096
];
unsigned
int
xid
=
rrc_gNB_get_next_transaction_identifier
(
0
);
unsigned
int
xid
=
rrc_gNB_get_next_transaction_identifier
(
rrc
->
module_id
);
uint32_t
length
=
do_NR_DLInformationTransfer
(
buffer
,
sizeof
(
buffer
),
xid
,
UE
->
nas_pdu
.
length
,
UE
->
nas_pdu
.
buffer
);
LOG_DUMPMSG
(
NR_RRC
,
DEBUG_RRC
,
buffer
,
length
,
"[MSG] RRC DL Information Transfer
\n
"
);
rb_id_t
srb_id
=
UE
->
Srb
[
2
].
Active
?
DCCH1
:
DCCH
;
...
...
@@ -2445,7 +2445,7 @@ void rrc_gNB_generate_SecurityModeCommand(gNB_RRC_INST *rrc, gNB_RRC_UE_t *ue_p)
T
(
T_ENB_RRC_SECURITY_MODE_COMMAND
,
T_INT
(
0
),
T_INT
(
0
),
T_INT
(
0
),
T_INT
(
ue_p
->
rrc_ue_id
));
NR_IntegrityProtAlgorithm_t
integrity_algorithm
=
(
NR_IntegrityProtAlgorithm_t
)
ue_p
->
integrity_algorithm
;
int
size
=
do_NR_SecurityModeCommand
(
buffer
,
rrc_gNB_get_next_transaction_identifier
(
0
),
rrc_gNB_get_next_transaction_identifier
(
rrc
->
module_id
),
ue_p
->
ciphering_algorithm
,
integrity_algorithm
);
LOG_DUMPMSG
(
NR_RRC
,
DEBUG_RRC
,
(
char
*
)
buffer
,
size
,
"[MSG] RRC Security Mode Command
\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