Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
e8c74760
Commit
e8c74760
authored
3 years ago
by
Francesco Mani
Browse files
Options
Downloads
Patches
Plain Diff
fix to allow traffic to be put in msg3
parent
b6ef23a3
No related branches found
No related tags found
4 merge requests
!1757
Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c
,
!1493
fix DL arq errors in UE
,
!1247
integration_2021_wk35
,
!1214
NR UE SA
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+4
-2
4 additions, 2 deletions
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+2
-2
2 additions, 2 deletions
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
with
6 additions
and
4 deletions
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+
4
−
2
View file @
e8c74760
...
...
@@ -952,12 +952,14 @@ NR_UE_L2_STATE_t nr_ue_scheduler(nr_downlink_indication_t *dl_info, nr_uplink_in
}
LOG_D
(
NR_MAC
,
"Flipping NDI for harq_id %d (Msg3)
\n
"
,
ulcfg_pdu
->
pusch_config_pdu
.
pusch_data
.
new_data_indicator
);
mac
->
UL_ndi
[
ulcfg_pdu
->
pusch_config_pdu
.
pusch_data
.
harq_process_id
]
=
ulcfg_pdu
->
pusch_config_pdu
.
pusch_data
.
new_data_indicator
;
mac
->
first_ul_tx
[
ulcfg_pdu
->
pusch_config_pdu
.
pusch_data
.
harq_process_id
]
=
0
;
mac
->
first_ul_tx
[
ulcfg_pdu
->
pusch_config_pdu
.
pusch_data
.
harq_process_id
]
=
0
;
}
else
{
if
((
mac
->
UL_ndi
[
ulcfg_pdu
->
pusch_config_pdu
.
pusch_data
.
harq_process_id
]
!=
ulcfg_pdu
->
pusch_config_pdu
.
pusch_data
.
new_data_indicator
||
mac
->
first_ul_tx
[
ulcfg_pdu
->
pusch_config_pdu
.
pusch_data
.
harq_process_id
]
==
1
)
&&
((
get_softmodem_params
()
->
phy_test
==
1
)
||
(
ra
->
ra_state
==
RA_SUCCEEDED
))){
((
get_softmodem_params
()
->
phy_test
==
1
)
||
(
ra
->
ra_state
==
RA_SUCCEEDED
)
||
(
ra
->
ra_state
==
WAIT_RAR
&&
ra
->
cfra
))){
// Getting IP traffic to be transmitted
nr_ue_get_sdu
(
mod_id
,
frame_tx
,
slot_tx
,
gNB_index
,
ulsch_input_buffer
,
TBS_bytes
);
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+
2
−
2
View file @
e8c74760
...
...
@@ -487,7 +487,7 @@ void nr_csi_meas_reporting(int Mod_idP,
// preparation is done in first slot of tdd period
if
(
frame
%
(
period
/
n_slots_frame
)
!=
offset
/
n_slots_frame
)
continue
;
LOG_
I
(
MAC
,
"CSI reporting in frame %d slot %d
\n
"
,
frame
,
sched_slot
);
LOG_
D
(
MAC
,
"CSI reporting in frame %d slot %d
\n
"
,
frame
,
sched_slot
);
const
NR_PUCCH_CSI_Resource_t
*
pucchcsires
=
csirep
->
reportConfigType
.
choice
.
periodic
->
pucch_CSI_ResourceList
.
list
.
array
[
0
];
const
NR_PUCCH_ResourceSet_t
*
pucchresset
=
pucch_Config
->
resourceSetToAddModList
->
list
.
array
[
1
];
// set with formats >1
...
...
@@ -986,7 +986,7 @@ void extract_pucch_csi_report(NR_CSI_MeasConfig_t *csi_MeasConfig,
// verify if report with current id has been scheduled for this frame and slot
if
((
n_slots_frame
*
frame
+
slot
-
offset
)
%
period
==
0
)
{
reportQuantity_type
=
UE_info
->
csi_report_template
[
UE_id
][
csi_report_id
].
reportQuantity_type
;
LOG_
I
(
MAC
,
"SFN/SF:%d/%d reportQuantity type = %d
\n
"
,
frame
,
slot
,
reportQuantity_type
);
LOG_
D
(
MAC
,
"SFN/SF:%d/%d reportQuantity type = %d
\n
"
,
frame
,
slot
,
reportQuantity_type
);
switch
(
reportQuantity_type
){
case
NR_CSI_ReportConfig__reportQuantity_PR_cri_RSRP
:
evaluate_rsrp_report
(
UE_info
,
sched_ctrl
,
UE_id
,
csi_report_id
,
payload
,
&
cumul_bits
,
reportQuantity_type
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment