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
a3135235
Commit
a3135235
authored
Jun 05, 2023
by
David Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Lmax value for the proper update in Sidelink.
parent
3116d9bc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
openair1/PHY/INIT/nr_parms.c
openair1/PHY/INIT/nr_parms.c
+7
-1
No files found.
openair1/PHY/INIT/nr_parms.c
View file @
a3135235
...
@@ -43,6 +43,12 @@ static const int nr_ssb_table[48][3] = {
...
@@ -43,6 +43,12 @@ static const int nr_ssb_table[48][3] = {
void
set_Lmax
(
NR_DL_FRAME_PARMS
*
fp
)
{
void
set_Lmax
(
NR_DL_FRAME_PARMS
*
fp
)
{
if
(
get_softmodem_params
()
->
sl_mode
==
2
)
{
if
(
get_softmodem_params
()
->
sl_mode
==
2
)
{
int
sl_NumSSB_WithinPeriod
=
1
;
//TODO: Needs to be updated from RRC parameters
int
sl_TimeOffsetSSB
=
1
;
//TODO: Needs to be updated from RRC parameters
int
sl_TimeInterval
=
1
;
//TODO: Needs to be updated from RRC parameters
if
((
sl_NumSSB_WithinPeriod
==
2
)
&&
((
sl_TimeOffsetSSB
%
fp
->
slots_per_frame
)
+
sl_TimeInterval
<
NR_NUMBER_OF_SUBFRAMES_PER_FRAME
))
fp
->
Lmax
=
2
;
else
fp
->
Lmax
=
1
;
fp
->
Lmax
=
1
;
return
;
return
;
}
}
...
...
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