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
lizhongxiao
OpenXG-RAN
Commits
84504a38
Commit
84504a38
authored
Oct 11, 2023
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes for LCID/SLRB ids
parent
4bd30075
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
openair2/LAYER2/NR_MAC_UE/nr_slsch_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_slsch_scheduler.c
+1
-1
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
+3
-3
openair2/RRC/NR_UE/rrc_sl_preconfig.c
openair2/RRC/NR_UE/rrc_sl_preconfig.c
+3
-2
No files found.
openair2/LAYER2/NR_MAC_UE/nr_slsch_scheduler.c
View file @
84504a38
...
...
@@ -42,7 +42,7 @@
bool
nr_schedule_slsch
(
int
frameP
,
int
slotP
,
nr_sci_pdu_t
*
sci_pdu
,
nr_sci_pdu_t
*
sci2_pdu
,
uint8_t
*
slsch_pdu
,
nr_sci_format_t
format2
,
uint16_t
*
slsch_pdu_length_max
)
{
mac_rlc_status_resp_t
rlc_status
=
mac_rlc_status_ind
(
0
,
0
,
0
,
frameP
,
slotP
,
ENB_FLAG_NO
,
MBMS_FLAG_NO
,
4
,
0
,
0
);
mac_rlc_status_resp_t
rlc_status
=
mac_rlc_status_ind
(
0
,
0
,
0
,
frameP
,
slotP
,
ENB_FLAG_NO
,
MBMS_FLAG_NO
,
5
,
0
,
0
);
// rlc_status.bytes_in_buffer = 0;
*
slsch_pdu_length_max
=
0
;
...
...
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
View file @
84504a38
...
...
@@ -771,7 +771,7 @@ static void add_drb_am(int rnti, int drb_id, const NR_RLC_BearerConfig_t *rlc_Be
sn_field_length
);
nr_rlc_ue_add_drb_rlc_entity
(
ue
,
drb_id
,
nr_rlc_am
);
LOG_I
(
RLC
,
"%s:%d:%s: added drb %d to UE with RNTI 0x%x
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
,
drb_id
,
rnti
);
LOG_I
(
RLC
,
"%s:%d:%s: added drb %d to UE with RNTI 0x%x
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
,
drb_id
,
rnti
);
}
nr_rlc_manager_unlock
(
nr_rlc_ue_manager
);
}
...
...
@@ -925,7 +925,7 @@ static void add_drb_um_sl(int src_id, int drb_id, const NR_SL_RLC_BearerConfig_r
logical_channel_group
=
*
l
->
sl_LogicalChannelGroup_r16
;
/* TODO: accept other values? */
if
(
logical_channel_group
!=
4
)
{
if
(
logical_channel_group
!=
1
)
{
LOG_E
(
RLC
,
"%s:%d:%s: fatal error
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
exit
(
1
);
}
...
...
@@ -983,7 +983,7 @@ void nr_rlc_add_drb_sl(int srcid, int drb_id, const NR_SL_RLC_BearerConfig_r16_t
__FILE__
,
__LINE__
,
__FUNCTION__
);
exit
(
1
);
}
LOG_I
(
RLC
,
"%s:%s:%d: added SL_DRB
to UE with SRCID 0x%x
\n
"
,
__FILE__
,
__FUNCTION__
,
__LINE__
,
srcid
);
LOG_I
(
RLC
,
"%s:%s:%d: added SL_DRB
%d to UE with SRCID 0x%x
\n
"
,
__FILE__
,
__FUNCTION__
,
__LINE__
,
drb_id
,
srcid
);
}
/* Dummy function due to dependency from LTE libraries */
rlc_op_status_t
rrc_rlc_config_asn1_req
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
...
...
openair2/RRC/NR_UE/rrc_sl_preconfig.c
View file @
84504a38
...
...
@@ -392,7 +392,8 @@ NR_SL_PreconfigurationNR_r16_t *prepare_NR_SL_PRECONFIGURATION(uint16_t num_tx_p
struct
NR_SL_RLC_BearerConfig_r16
*
sl_RLC_BearerConfig_r16
=
calloc
(
1
,
sizeof
(
*
sl_RLC_BearerConfig_r16
));
// initialize with UM for now
sl_RLC_BearerConfig_r16
->
sl_RLC_BearerConfigIndex_r16
=
0
;
sl_RLC_BearerConfig_r16
->
sl_ServedRadioBearer_r16
=
NULL
;
sl_RLC_BearerConfig_r16
->
sl_ServedRadioBearer_r16
=
calloc
(
1
,
sizeof
(
*
sl_RLC_BearerConfig_r16
->
sl_ServedRadioBearer_r16
));
*
sl_RLC_BearerConfig_r16
->
sl_ServedRadioBearer_r16
=
1
;
sl_RLC_BearerConfig_r16
->
sl_RLC_Config_r16
=
calloc
(
1
,
sizeof
(
*
sl_RLC_BearerConfig_r16
->
sl_RLC_Config_r16
));
sl_RLC_BearerConfig_r16
->
sl_RLC_Config_r16
->
present
=
NR_SL_RLC_Config_r16_PR_sl_UM_RLC_r16
;
sl_RLC_BearerConfig_r16
->
sl_RLC_Config_r16
->
choice
.
sl_UM_RLC_r16
=
calloc
(
1
,
sizeof
(
*
sl_RLC_BearerConfig_r16
->
sl_RLC_Config_r16
->
choice
.
sl_UM_RLC_r16
));
...
...
@@ -410,7 +411,7 @@ NR_SL_PreconfigurationNR_r16_t *prepare_NR_SL_PRECONFIGURATION(uint16_t num_tx_p
sl_RLC_BearerConfig_r16
->
sl_MAC_LogicalChannelConfig_r16
->
sl_AllowedCG_List_r16
=
NULL
;
sl_RLC_BearerConfig_r16
->
sl_MAC_LogicalChannelConfig_r16
->
sl_AllowedSCS_List_r16
=
NULL
;
sl_RLC_BearerConfig_r16
->
sl_MAC_LogicalChannelConfig_r16
->
sl_LogicalChannelGroup_r16
=
calloc
(
1
,
sizeof
(
*
sl_RLC_BearerConfig_r16
->
sl_MAC_LogicalChannelConfig_r16
->
sl_LogicalChannelGroup_r16
));
*
sl_RLC_BearerConfig_r16
->
sl_MAC_LogicalChannelConfig_r16
->
sl_LogicalChannelGroup_r16
=
4
;
*
sl_RLC_BearerConfig_r16
->
sl_MAC_LogicalChannelConfig_r16
->
sl_LogicalChannelGroup_r16
=
1
;
sl_RLC_BearerConfig_r16
->
sl_MAC_LogicalChannelConfig_r16
->
sl_SchedulingRequestId_r16
=
NULL
;
sl_RLC_BearerConfig_r16
->
sl_MAC_LogicalChannelConfig_r16
->
sl_LogicalChannelSR_DelayTimerApplied_r16
=
NULL
;
ASN_SEQUENCE_ADD
(
&
sl_preconfig
->
sl_RLC_BearerPreConfigList_r16
->
list
,
sl_RLC_BearerConfig_r16
);
...
...
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