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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
c4344f26
Commit
c4344f26
authored
10 months ago
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
Branches unavailable
2025.w14
2025.w13
2025.w12
2025.w11
2025.w10
2025.w09
2025.w08
2025.w07
2025.w06
2025.w05
2025.w04
2025.w03
2025.w02
2024.w51
2024.w50
2024.w49
2024.w48
2024.w47
2024.w46
2024.w45
2024.w44
2024.w43
2024.w42
v2.2.0
No related merge requests found
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)
...
@@ -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
return
;
// no problem: the UE will re-request a NAS PDU
uint8_t
buffer
[
4096
];
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
);
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
"
);
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
;
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)
...
@@ -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
));
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
;
NR_IntegrityProtAlgorithm_t
integrity_algorithm
=
(
NR_IntegrityProtAlgorithm_t
)
ue_p
->
integrity_algorithm
;
int
size
=
do_NR_SecurityModeCommand
(
buffer
,
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
,
ue_p
->
ciphering_algorithm
,
integrity_algorithm
);
integrity_algorithm
);
LOG_DUMPMSG
(
NR_RRC
,
DEBUG_RRC
,
(
char
*
)
buffer
,
size
,
"[MSG] RRC Security Mode Command
\n
"
);
LOG_DUMPMSG
(
NR_RRC
,
DEBUG_RRC
,
(
char
*
)
buffer
,
size
,
"[MSG] RRC Security Mode Command
\n
"
);
...
...
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