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
spbro
OpenXG-RAN
Commits
568973d5
Commit
568973d5
authored
Mar 13, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
incorrectLogicOperator
parent
8404da75
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
+1
-2
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures_sl.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures_sl.c
+7
-5
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
View file @
568973d5
...
...
@@ -3605,8 +3605,7 @@ int16_t fill_dmrs_mask(const NR_PDSCH_Config_t *pdsch_Config,
AssertFatal
(
startSymbol
<=
l0
,
"Wrong config, Start symbol %d cannot be later than dmrs_TypeA_Position %d
\n
"
,
startSymbol
,
l0
);
// Section 7.4.1.1.2 in Spec 38.211
AssertFatal
(
l0
==
2
||
(
l0
==
3
&&
(
ld
!=
3
||
ld
!=
4
)),
"ld 3 or 4 symbols only possible with dmrs_TypeA_Position POS2
\n
"
);
AssertFatal
(
l0
==
2
||
(
l0
==
3
&&
(
ld
!=
3
&&
ld
!=
4
)),
"ld 3 or 4 symbols only possible with dmrs_TypeA_Position POS2
\n
"
);
}
// number of front loaded symbols
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures_sl.c
View file @
568973d5
...
...
@@ -510,13 +510,15 @@ uint8_t sl_determine_sci_1a_len(uint16_t *num_subchannels,
?
*
pscch_config
->
sl_NumReservedBits_r16
:
0
;
}
AssertFatal
((
num_reservedbits
>=
2
)
||
(
num_reservedbits
<=
4
)
,
"Num Reserved bits can only be 2or3or
4. Resource Pool Configuration Error.
\n
"
);
AssertFatal
((
num_reservedbits
>=
2
)
&&
(
num_reservedbits
<=
4
)
,
"Num Reserved bits can only be 2 or 3 or
4. Resource Pool Configuration Error.
\n
"
);
sci_1a_len
+=
num_reservedbits
;
sci_1a
->
reserved_bits
.
nbits
=
num_reservedbits
;
LOG_D
(
NR_MAC
,
"sci 1A - reserved_bits:%d, sci 1a len:%d, sci_1a->reserved_bits.nbits:%d
\n
"
,
num_reservedbits
,
sci_1a_len
,
sci_1a
->
reserved_bits
.
nbits
);
LOG_D
(
NR_MAC
,
"sci 1A - reserved_bits:%d, sci 1a len:%d, sci_1a->reserved_bits.nbits:%d
\n
"
,
num_reservedbits
,
sci_1a_len
,
sci_1a
->
reserved_bits
.
nbits
);
LOG_D
(
NR_MAC
,
"sci 1A Length in bits: %d
\n
"
,
sci_1a_len
);
...
...
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