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
lizhongxiao
OpenXG-RAN
Commits
b93cb714
Commit
b93cb714
authored
Sep 14, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improvement in setting ssb parameters
parent
9eb813b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
+10
-11
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
View file @
b93cb714
...
...
@@ -60,22 +60,21 @@ uint16_t get_ssboffset_pointa(NR_ServingCellConfigCommon_t *scc,const long band)
int
ratio
;
switch
(
*
scc
->
ssbSubcarrierSpacing
)
{
case
NR_SubcarrierSpacing_kHz15
:
AssertFatal
(
band
<=
79
,
AssertFatal
(
band
<=
95
,
"Band %ld is not possible for SSB with 15 kHz SCS
\n
"
,
band
);
if
(
band
<
77
)
// below 3G
Hz
// no band available above 3GHz using 15k
Hz
ratio
=
3
;
// NRARFCN step is 5 kHz
else
ratio
=
1
;
// NRARFCN step is 15 kHz
break
;
case
NR_SubcarrierSpacing_kHz30
:
AssertFatal
(
band
<=
79
,
"Band %ld is not possible for SSB with
15
kHz SCS
\n
"
,
AssertFatal
(
band
<=
96
,
"Band %ld is not possible for SSB with
30
kHz SCS
\n
"
,
band
);
if
(
band
<
77
)
// below 3GHz
ratio
=
6
;
// NRARFCN step is 5 kHz
else
if
(
band
==
46
||
band
==
48
||
band
==
77
||
band
==
78
||
band
==
79
||
band
==
96
)
// above 3GHz
ratio
=
2
;
// NRARFCN step is 15 kHz
else
ratio
=
6
;
// NRARFCN step is 5 kHz
break
;
case
NR_SubcarrierSpacing_kHz120
:
AssertFatal
(
band
>=
257
,
...
...
@@ -363,7 +362,7 @@ uint32_t schedule_control_sib1(module_id_t module_id,
const
uint16_t
bwpSize
=
type0_PDCCH_CSS_config
->
num_rbs
;
int
rbStart
=
type0_PDCCH_CSS_config
->
cset_start_rb
;
printf
(
"%d %d
\n
"
,
bwpSize
,
rbStart
);
// TODO: There are exceptions to this in table 5.1.2.1.1-4,5 (Default time domain allocation tables B, C)
int
mappingtype
=
(
startSymbolIndex
<=
3
)
?
typeA
:
typeB
;
...
...
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