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
Michael Black
OpenXG-RAN
Commits
d6e960e4
Commit
d6e960e4
authored
May 30, 2022
by
Roberto Louro Magueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implementation of tables and get values to precoding information
parent
762eba23
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
275 additions
and
33 deletions
+275
-33
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
+260
-26
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.h
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.h
+7
-0
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+8
-7
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
View file @
d6e960e4
This diff is collapsed.
Click to expand it.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.h
View file @
d6e960e4
...
@@ -53,6 +53,13 @@ uint8_t compute_srs_resource_indicator(NR_UplinkConfig_t *uplinkConfig,
...
@@ -53,6 +53,13 @@ uint8_t compute_srs_resource_indicator(NR_UplinkConfig_t *uplinkConfig,
nr_srs_feedback_t
*
srs_feedback
,
nr_srs_feedback_t
*
srs_feedback
,
uint16_t
*
val
);
uint16_t
*
val
);
uint8_t
compute_precoding_information
(
NR_PUSCH_Config_t
*
pusch_Config
,
NR_SRS_Config_t
*
srs_config
,
dci_field_t
srs_resource_indicator
,
nr_srs_feedback_t
*
srs_feedback
,
const
uint8_t
*
nrOfLayers
,
uint16_t
*
val
);
uint16_t
nr_dci_size
(
const
NR_BWP_DownlinkCommon_t
*
initialDLBWP
,
uint16_t
nr_dci_size
(
const
NR_BWP_DownlinkCommon_t
*
initialDLBWP
,
const
NR_BWP_UplinkCommon_t
*
initialULBWP
,
const
NR_BWP_UplinkCommon_t
*
initialULBWP
,
const
NR_CellGroupConfig_t
*
cg
,
const
NR_CellGroupConfig_t
*
cg
,
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
d6e960e4
...
@@ -1080,16 +1080,17 @@ void config_uldci(const NR_SIB1_t *sib1,
...
@@ -1080,16 +1080,17 @@ void config_uldci(const NR_SIB1_t *sib1,
uplinkConfig
=
cg
->
spCellConfig
->
spCellConfigDedicated
->
uplinkConfig
;
uplinkConfig
=
cg
->
spCellConfig
->
spCellConfigDedicated
->
uplinkConfig
;
}
}
compute_srs_resource_indicator
(
uplinkConfig
,
compute_srs_resource_indicator
(
uplinkConfig
,
ubwpd
->
pusch_Config
?
ubwpd
->
pusch_Config
->
choice
.
setup
:
NULL
,
ubwpd
2
->
pusch_Config
?
ubwpd2
->
pusch_Config
->
choice
.
setup
:
NULL
,
ubwpd2
&&
ubwpd2
->
srs_Config
?
ubwpd
->
srs_Config
->
choice
.
setup
:
NULL
,
ubwpd2
&&
ubwpd2
->
srs_Config
?
ubwpd
2
->
srs_Config
->
choice
.
setup
:
NULL
,
srs_feedback
,
srs_feedback
,
&
dci_pdu_rel15
->
srs_resource_indicator
.
val
);
&
dci_pdu_rel15
->
srs_resource_indicator
.
val
);
}
}
dci_pdu_rel15
->
precoding_information
.
val
=
0
;
compute_precoding_information
(
ubwpd2
->
pusch_Config
?
ubwpd2
->
pusch_Config
->
choice
.
setup
:
NULL
,
if
(
pusch_pdu
->
nrOfLayers
==
2
)
ubwpd2
&&
ubwpd2
->
srs_Config
?
ubwpd2
->
srs_Config
->
choice
.
setup
:
NULL
,
dci_pdu_rel15
->
precoding_information
.
val
=
4
;
dci_pdu_rel15
->
srs_resource_indicator
,
else
if
(
pusch_pdu
->
nrOfLayers
==
4
)
srs_feedback
,
dci_pdu_rel15
->
precoding_information
.
val
=
11
;
&
pusch_pdu
->
nrOfLayers
,
&
dci_pdu_rel15
->
precoding_information
.
val
);
// antenna_ports.val = 0 for transform precoder is disabled, dmrs-Type=1, maxLength=1, Rank=1/2/3/4
// antenna_ports.val = 0 for transform precoder is disabled, dmrs-Type=1, maxLength=1, Rank=1/2/3/4
// Antenna Ports
// Antenna Ports
...
...
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