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
16e15b33
Commit
16e15b33
authored
Oct 08, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop-UL-RI' into integration_2023_w40
parents
08fca7eb
e5804c48
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1201 additions
and
61 deletions
+1201
-61
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_srs.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_srs.c
+329
-61
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+4
-0
openair2/LAYER2/NR_MAC_gNB/main.c
openair2/LAYER2/NR_MAC_gNB/main.c
+2
-0
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
+4
-0
targets/PROJECTS/GENERIC-NR-5GC/CONF/uecap_ports4.xml
targets/PROJECTS/GENERIC-NR-5GC/CONF/uecap_ports4.xml
+862
-0
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_srs.c
View file @
16e15b33
This diff is collapsed.
Click to expand it.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
16e15b33
...
...
@@ -1319,8 +1319,11 @@ void handle_nr_srs_measurements(const module_id_t module_id,
NR_UE_UL_BWP_t
*
current_BWP
=
&
UE
->
current_UL_BWP
;
sched_ctrl
->
srs_feedback
.
sri
=
NR_SRS_SRI_0
;
start_meas
(
&
nr_mac
->
nr_srs_ri_computation_timer
);
nr_srs_ri_computation
(
&
nr_srs_channel_iq_matrix
,
current_BWP
,
&
sched_ctrl
->
srs_feedback
.
ul_ri
);
stop_meas
(
&
nr_mac
->
nr_srs_ri_computation_timer
);
start_meas
(
&
nr_mac
->
nr_srs_tpmi_computation_timer
);
sched_ctrl
->
srs_feedback
.
tpmi
=
nr_srs_tpmi_estimation
(
current_BWP
->
pusch_Config
,
current_BWP
->
transform_precoding
,
nr_srs_channel_iq_matrix
.
channel_matrix
,
...
...
@@ -1330,6 +1333,7 @@ void handle_nr_srs_measurements(const module_id_t module_id,
nr_srs_channel_iq_matrix
.
prg_size
,
nr_srs_channel_iq_matrix
.
num_prgs
,
sched_ctrl
->
srs_feedback
.
ul_ri
);
stop_meas
(
&
nr_mac
->
nr_srs_tpmi_computation_timer
);
sprintf
(
stats
->
srs_stats
,
"UL-RI %d, TPMI %d"
,
sched_ctrl
->
srs_feedback
.
ul_ri
+
1
,
sched_ctrl
->
srs_feedback
.
tpmi
);
...
...
openair2/LAYER2/NR_MAC_gNB/main.c
View file @
16e15b33
...
...
@@ -69,6 +69,8 @@ void *nrmac_stats_thread(void *arg) {
p
+=
print_meas_log
(
&
gNB
->
schedule_dlsch
,
"dlsch scheduler"
,
NULL
,
NULL
,
p
,
end
-
p
);
p
+=
print_meas_log
(
&
gNB
->
rlc_data_req
,
"rlc_data_req"
,
NULL
,
NULL
,
p
,
end
-
p
);
p
+=
print_meas_log
(
&
gNB
->
rlc_status_ind
,
"rlc_status_ind"
,
NULL
,
NULL
,
p
,
end
-
p
);
p
+=
print_meas_log
(
&
gNB
->
nr_srs_ri_computation_timer
,
"UL-RI computation time"
,
NULL
,
NULL
,
p
,
end
-
p
);
p
+=
print_meas_log
(
&
gNB
->
nr_srs_tpmi_computation_timer
,
"UL-TPMI computation time"
,
NULL
,
NULL
,
p
,
end
-
p
);
fwrite
(
output
,
p
-
output
,
1
,
file
);
fflush
(
file
);
sleep
(
1
);
...
...
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
View file @
16e15b33
...
...
@@ -806,6 +806,10 @@ typedef struct gNB_MAC_INST_s {
time_stats_t
rlc_data_req
;
/// processing time of rlc_status_ind
time_stats_t
rlc_status_ind
;
/// processing time of nr_srs_ri_computation
time_stats_t
nr_srs_ri_computation_timer
;
/// processing time of nr_srs_tpmi_estimation
time_stats_t
nr_srs_tpmi_computation_timer
;
/// processing time of eNB MCH scheduler
time_stats_t
schedule_mch
;
/// processing time of eNB ULSCH reception
...
...
targets/PROJECTS/GENERIC-NR-5GC/CONF/uecap_ports4.xml
0 → 100644
View file @
16e15b33
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