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
55c5d758
Commit
55c5d758
authored
Sep 16, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing hardcoding of min bw size for type0 pdcch
parent
de553cd1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletion
+16
-1
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
+11
-1
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.h
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.h
+1
-0
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+1
-0
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
+3
-0
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
View file @
55c5d758
...
...
@@ -3528,13 +3528,23 @@ void get_type0_PDCCH_CSS_config_parameters(NR_Type0_PDCCH_CSS_config_t *type0_PD
uint16_t
ssb_start_symbol
,
NR_SubcarrierSpacing_t
scs_ssb
,
frequency_range_t
frequency_range
,
int
nr_band
,
uint32_t
ssb_index
,
uint32_t
ssb_period
,
uint32_t
ssb_offset_point_a
)
{
NR_SubcarrierSpacing_t
scs_pdcch
;
channel_bandwidth_t
min_channel_bw
=
bw_10MHz
;
// TODO remove hardcoding and implement Table 5.3.5-1 in 38.104
channel_bandwidth_t
min_channel_bw
;
// according to Table 5.3.5-1 in 38.104
// band 79 is the only one which minimum is 40
// for all the other channels it is either 10 or 5
// and there is no difference between the two for this implementation so it is set it to 10
if
(
nr_band
==
79
)
min_channel_bw
=
bw_40MHz
;
else
min_channel_bw
=
bw_10MHz
;
if
(
frequency_range
==
FR2
)
{
if
(
mib
->
subCarrierSpacingCommon
==
NR_MIB__subCarrierSpacingCommon_scs15or60
)
...
...
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.h
View file @
55c5d758
...
...
@@ -134,6 +134,7 @@ void get_type0_PDCCH_CSS_config_parameters(NR_Type0_PDCCH_CSS_config_t *type0_PD
uint16_t
ssb_start_symbol
,
NR_SubcarrierSpacing_t
scs_ssb
,
frequency_range_t
frequency_range
,
int
nr_band
,
uint32_t
ssb_index
,
uint32_t
ssb_period
,
uint32_t
ssb_offset_point_a
);
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
55c5d758
...
...
@@ -1993,6 +1993,7 @@ void nr_ue_sib1_scheduler(module_id_t module_idP,
ssb_start_symbol
,
scs_ssb
,
frequency_range
,
mac
->
nr_band
,
ssb_index
,
1
,
// If the UE is not configured with a periodicity, the UE assumes a periodicity of a half frame
ssb_offset_point_a
);
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
View file @
55c5d758
...
...
@@ -219,6 +219,7 @@ void schedule_nr_mib(module_id_t module_idP, frame_t frameP, sub_frame_t slotP)
ssb_start_symbol
,
scs
,
FR1
,
band
,
i_ssb
,
ssb_frame_periodicity
,
offset_pointa
);
...
...
@@ -246,6 +247,7 @@ void schedule_nr_mib(module_id_t module_idP, frame_t frameP, sub_frame_t slotP)
ssb_start_symbol
,
scs
,
FR1
,
band
,
i_ssb
,
ssb_frame_periodicity
,
offset_pointa
);
...
...
@@ -281,6 +283,7 @@ void schedule_nr_mib(module_id_t module_idP, frame_t frameP, sub_frame_t slotP)
ssb_start_symbol
,
scs
,
FR2
,
band
,
i_ssb
,
ssb_frame_periodicity
,
offset_pointa
);
...
...
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