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
zzha zzha
OpenXG-RAN
Commits
1a7a0864
Commit
1a7a0864
authored
Mar 01, 2021
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Passing symbolStart to fill_dmrs_mask
Adding missed changes in previous commit
parent
75cad822
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
+6
-6
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
View file @
1a7a0864
...
@@ -2880,7 +2880,7 @@ int16_t fill_dmrs_mask(NR_PDSCH_Config_t *pdsch_Config,int dmrs_TypeA_Position,i
...
@@ -2880,7 +2880,7 @@ int16_t fill_dmrs_mask(NR_PDSCH_Config_t *pdsch_Config,int dmrs_TypeA_Position,i
// Relative to start of slot
// Relative to start of slot
ld
+=
startSymbol
;
ld
+=
startSymbol
;
NR_DMRS_DownlinkConfig_t
*
dmrs_config
=
(
NR_DMRS_DownlinkConfig_t
*
)
pdsch_Config
->
dmrs_DownlinkForPDSCH_MappingTypeA
->
choice
.
setup
;
NR_DMRS_DownlinkConfig_t
*
dmrs_config
=
(
NR_DMRS_DownlinkConfig_t
*
)
pdsch_Config
->
dmrs_DownlinkForPDSCH_MappingTypeA
->
choice
.
setup
;
AssertFatal
(
NrOfSymbols
>
1
&&
NrOfSymbols
<
15
,
"Illegal NrOfSymbols %d
\n
"
,
NrOfSymbols
);
AssertFatal
(
ld
>
1
&&
ld
<
15
,
"Illegal l_d %d
\n
"
,
ld
);
int
pos2
=
0
;
int
pos2
=
0
;
if
(
dmrs_config
->
maxLength
==
NULL
)
{
if
(
dmrs_config
->
maxLength
==
NULL
)
{
// this is Table 7.4.1.1.2-3: PDSCH DM-RS positions l for single-symbol DM-RS
// this is Table 7.4.1.1.2-3: PDSCH DM-RS positions l for single-symbol DM-RS
...
@@ -2889,7 +2889,7 @@ int16_t fill_dmrs_mask(NR_PDSCH_Config_t *pdsch_Config,int dmrs_TypeA_Position,i
...
@@ -2889,7 +2889,7 @@ int16_t fill_dmrs_mask(NR_PDSCH_Config_t *pdsch_Config,int dmrs_TypeA_Position,i
return
(
1
<<
l0
);
return
(
1
<<
l0
);
switch
(
NrOfSymbols
)
{
switch
(
ld
)
{
case
2
:
case
2
:
case
3
:
case
3
:
case
4
:
case
4
:
...
@@ -2930,10 +2930,10 @@ int16_t fill_dmrs_mask(NR_PDSCH_Config_t *pdsch_Config,int dmrs_TypeA_Position,i
...
@@ -2930,10 +2930,10 @@ int16_t fill_dmrs_mask(NR_PDSCH_Config_t *pdsch_Config,int dmrs_TypeA_Position,i
}
}
else
{
else
{
// Table 7.4.1.1.2-4: PDSCH DM-RS positions l for double-symbol DM-RS.
// Table 7.4.1.1.2-4: PDSCH DM-RS positions l for double-symbol DM-RS.
AssertFatal
(
NrOfSymbols
>
3
,
"Illegal NrOfSymbols %d for len2 DMRS
\n
"
,
NrOfSymbols
);
AssertFatal
(
ld
>
3
,
"Illegal l_d %d for len2 DMRS
\n
"
,
ld
);
if
(
NrOfSymbols
<
10
)
return
(
1
<<
l0
);
if
(
ld
<
10
)
return
(
1
<<
l0
);
if
(
NrOfSymbols
<
13
&&
*
dmrs_config
->
dmrs_AdditionalPosition
==
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
);
if
(
ld
<
13
&&
*
dmrs_config
->
dmrs_AdditionalPosition
==
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
);
if
(
NrOfSymbols
<
13
&&
*
dmrs_config
->
dmrs_AdditionalPosition
!=
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
|
1
<<
8
);
if
(
ld
<
13
&&
*
dmrs_config
->
dmrs_AdditionalPosition
!=
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
|
1
<<
8
);
if
(
*
dmrs_config
->
dmrs_AdditionalPosition
!=
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
);
if
(
*
dmrs_config
->
dmrs_AdditionalPosition
!=
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
);
if
(
*
dmrs_config
->
dmrs_AdditionalPosition
!=
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos1
)
return
(
1
<<
l0
|
1
<<
10
);
if
(
*
dmrs_config
->
dmrs_AdditionalPosition
!=
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos1
)
return
(
1
<<
l0
|
1
<<
10
);
if
(
*
dmrs_config
->
dmrs_AdditionalPosition
==
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
);
if
(
*
dmrs_config
->
dmrs_AdditionalPosition
==
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
);
...
...
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