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
8c6a71a7
Commit
8c6a71a7
authored
Aug 12, 2022
by
Vaibhav Shrivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MAC ulsch TBS size fix
parent
310b97f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
22 deletions
+25
-22
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+4
-0
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+21
-22
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
8c6a71a7
...
...
@@ -1631,6 +1631,10 @@ schedule_ulsch_rnti(module_id_t module_idP,
}
const
uint8_t
ndi
=
1
-
UE_template_ptr
->
oldNDI_UL
[
harq_pid
];
// NDI: new data indicator
// Changed pre_assigned_mcs_ul for sending full SDU to UE on DRB in System Simulator Mode
if
(
RC
.
ss
.
mode
==
SS_SOFTMODEM
){
UE_template_ptr
->
pre_assigned_mcs_ul
=
16
;
}
const
uint8_t
mcs
=
UE_template_ptr
->
pre_assigned_mcs_ul
;
UE_template_ptr
->
oldNDI_UL
[
harq_pid
]
=
ndi
;
UE_info
->
eNB_UE_stats
[
CC_id
][
UE_id
].
ulsch_rounds
[
0
]
++
;
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
8c6a71a7
...
...
@@ -10489,31 +10489,30 @@ void *rrc_enb_process_itti_msg(void *notUsed) {
if
(
dl_ccch_msg
->
message
.
choice
.
c1
.
present
==
LTE_DL_CCCH_MessageType__c1_PR_rrcConnectionSetup
)
{
RRCConnSetup_PDU_Present
=
true
;
rrc_eNB_generate_RRCConnectionSetup
(
&
ctxt
,
ue_context_pP
,
0
);
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
"CALLING RLC CONFIG SRB1 (rbid %d)
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
&
ctxt
),
Idx
);
rrc_pdcp_config_asn1_req
(
&
ctxt
,
ue_context_pP
->
ue_context
.
SRB_configList
,
(
LTE_DRB_ToAddModList_t
*
)
NULL
,
(
LTE_DRB_ToReleaseList_t
*
)
NULL
,
0xff
,
NULL
,
NULL
,
NULL
,
(
LTE_PMCH_InfoList_r9_t
*
)
NULL
,
NULL
);
if
(
!
NODE_IS_CU
(
RC
.
rrc
[
ctxt
.
module_id
]
->
node_type
))
{
rrc_rlc_config_asn1_req
(
&
ctxt
,
ue_context_pP
->
ue_context
.
SRB_configList
,
(
LTE_DRB_ToAddModList_t
*
)
NULL
,
(
LTE_DRB_ToReleaseList_t
*
)
NULL
,
(
LTE_PMCH_InfoList_r9_t
*
)
NULL
,
0
,
0
);
}
}
else
if
(
dl_ccch_msg
->
message
.
choice
.
c1
.
present
==
LTE_DL_CCCH_MessageType__c1_PR_rrcConnectionReject
)
{
rrc_eNB_generate_RRCConnectionReject
(
&
ctxt
,
ue_context_pP
,
0
);
}
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
"CALLING RLC CONFIG SRB1 (rbid %d)
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
&
ctxt
),
Idx
);
rrc_pdcp_config_asn1_req
(
&
ctxt
,
ue_context_pP
->
ue_context
.
SRB_configList
,
(
LTE_DRB_ToAddModList_t
*
)
NULL
,
(
LTE_DRB_ToReleaseList_t
*
)
NULL
,
0xff
,
NULL
,
NULL
,
NULL
,
(
LTE_PMCH_InfoList_r9_t
*
)
NULL
,
NULL
);
if
(
!
NODE_IS_CU
(
RC
.
rrc
[
ctxt
.
module_id
]
->
node_type
))
{
rrc_rlc_config_asn1_req
(
&
ctxt
,
ue_context_pP
->
ue_context
.
SRB_configList
,
(
LTE_DRB_ToAddModList_t
*
)
NULL
,
(
LTE_DRB_ToReleaseList_t
*
)
NULL
,
(
LTE_PMCH_InfoList_r9_t
*
)
NULL
,
0
,
0
);
}
}
}
...
...
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