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
7169e0a3
Commit
7169e0a3
authored
Aug 19, 2022
by
Angelo Athanassopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR RRC - Moved generateDRB in the loop of 5QIs
parent
28b1e9d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+9
-10
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
7169e0a3
...
@@ -827,12 +827,6 @@ rrc_gNB_generate_dedicatedRRCReconfiguration(
...
@@ -827,12 +827,6 @@ rrc_gNB_generate_dedicatedRRCReconfiguration(
if
(
drb_id_add
>
MAX_DRBS_PER_PDUSESSION
)
if
(
drb_id_add
>
MAX_DRBS_PER_PDUSESSION
)
break
;
break
;
uint8_t
drb_id
=
next_available_drb
(
ue_p
,
ue_context_pP
->
ue_context
.
pduSession
[
i
].
param
.
pdusession_id
);
uint8_t
drb_id
=
next_available_drb
(
ue_p
,
ue_context_pP
->
ue_context
.
pduSession
[
i
].
param
.
pdusession_id
);
NR_DRB_ToAddMod_t
*
DRB_config
=
generateDRB
(
ue_p
,
drb_id
,
&
ue_context_pP
->
ue_context
.
pduSession
[
i
],
rrc
->
configuration
.
enable_sdap
,
rrc
->
security
.
do_drb_integrity
,
rrc
->
security
.
do_drb_ciphering
);
// Reference TS23501 Table 5.7.4-1: Standardized 5QI to QoS characteristics mapping
// Reference TS23501 Table 5.7.4-1: Standardized 5QI to QoS characteristics mapping
for
(
qos_flow_index
=
0
;
qos_flow_index
<
ue_context_pP
->
ue_context
.
pduSession
[
i
].
param
.
nb_qos
;
qos_flow_index
++
)
{
for
(
qos_flow_index
=
0
;
qos_flow_index
<
ue_context_pP
->
ue_context
.
pduSession
[
i
].
param
.
nb_qos
;
qos_flow_index
++
)
{
...
@@ -861,14 +855,19 @@ rrc_gNB_generate_dedicatedRRCReconfiguration(
...
@@ -861,14 +855,19 @@ rrc_gNB_generate_dedicatedRRCReconfiguration(
ue_context_pP
->
ue_context
.
pduSession
[
i
].
status
=
PDU_SESSION_STATUS_FAILED
;
ue_context_pP
->
ue_context
.
pduSession
[
i
].
status
=
PDU_SESSION_STATUS_FAILED
;
ue_context_pP
->
ue_context
.
pduSession
[
i
].
xid
=
xid
;
ue_context_pP
->
ue_context
.
pduSession
[
i
].
xid
=
xid
;
pdu_sessions_done
++
;
pdu_sessions_done
++
;
free
(
DRB_config
);
continue
;
continue
;
}
}
}
NR_DRB_ToAddMod_t
*
DRB_config
=
generateDRB
(
ue_p
,
drb_id
,
&
ue_context_pP
->
ue_context
.
pduSession
[
i
],
rrc
->
configuration
.
enable_sdap
,
rrc
->
security
.
do_drb_integrity
,
rrc
->
security
.
do_drb_ciphering
);
ASN_SEQUENCE_ADD
(
&
(
*
DRB_configList
)
->
list
,
DRB_config
);
ASN_SEQUENCE_ADD
(
&
(
*
DRB_configList
)
->
list
,
DRB_config
);
ASN_SEQUENCE_ADD
(
&
(
*
DRB_configList2
)
->
list
,
DRB_config
);
ASN_SEQUENCE_ADD
(
&
(
*
DRB_configList2
)
->
list
,
DRB_config
);
}
}
}
ue_context_pP
->
ue_context
.
pduSession
[
i
].
status
=
PDU_SESSION_STATUS_DONE
;
ue_context_pP
->
ue_context
.
pduSession
[
i
].
status
=
PDU_SESSION_STATUS_DONE
;
ue_context_pP
->
ue_context
.
pduSession
[
i
].
xid
=
xid
;
ue_context_pP
->
ue_context
.
pduSession
[
i
].
xid
=
xid
;
...
...
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