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
360d4b3a
Commit
360d4b3a
authored
May 24, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/k2-slot0-fix' into integration_2022_wk21
parents
103e21a0
9354d430
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
19 deletions
+2
-19
openair2/LAYER2/NR_MAC_gNB/config.c
openair2/LAYER2/NR_MAC_gNB/config.c
+1
-3
openair2/RRC/NR/nr_rrc_config.c
openair2/RRC/NR/nr_rrc_config.c
+1
-16
No files found.
openair2/LAYER2/NR_MAC_gNB/config.c
View file @
360d4b3a
...
...
@@ -551,9 +551,7 @@ int rrc_mac_config_req_gNB(module_id_t Mod_idP,
AssertFatal
(
RC
.
nrmac
[
Mod_idP
]
->
common_channels
[
0
].
frame_type
==
FDD
,
"Dynamic TDD not handled yet
\n
"
);
for
(
int
slot
=
0
;
slot
<
n
;
++
slot
)
{
if
(
RC
.
nrmac
[
Mod_idP
]
->
common_channels
[
0
].
frame_type
==
FDD
||
(
slot
!=
0
))
RC
.
nrmac
[
Mod_idP
]
->
dlsch_slot_bitmap
[
slot
/
64
]
|=
(
uint64_t
)((
slot
%
nr_slots_period
)
<
nr_dl_slots
)
<<
(
slot
%
64
);
RC
.
nrmac
[
Mod_idP
]
->
dlsch_slot_bitmap
[
slot
/
64
]
|=
(
uint64_t
)((
slot
%
nr_slots_period
)
<
nr_dl_slots
)
<<
(
slot
%
64
);
RC
.
nrmac
[
Mod_idP
]
->
ulsch_slot_bitmap
[
slot
/
64
]
|=
(
uint64_t
)((
slot
%
nr_slots_period
)
>=
nr_ulstart_slot
)
<<
(
slot
%
64
);
LOG_I
(
NR_MAC
,
"In %s: slot %d DL %d UL %d
\n
"
,
...
...
openair2/RRC/NR/nr_rrc_config.c
View file @
360d4b3a
...
...
@@ -354,22 +354,7 @@ void nr_rrc_config_ul_tda(NR_ServingCellConfigCommon_t *scc, int min_fb_delay){
//TODO change to accomodate for SRS
frame_type_t
frame_type
=
get_frame_type
(
*
scc
->
downlinkConfigCommon
->
frequencyInfoDL
->
frequencyBandList
.
list
.
array
[
0
],
*
scc
->
ssbSubcarrierSpacing
);
int
temp_min_delay
=
6
;
// k2 = 2 or 3 won'r work as well as higher values
if
(
frame_type
==
TDD
&&
scc
->
tdd_UL_DL_ConfigurationCommon
)
{
switch
(
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern1
.
dl_UL_TransmissionPeriodicity
)
{
case
NR_TDD_UL_DL_Pattern__dl_UL_TransmissionPeriodicity_ms2p5
:
// 30kHz SCS
case
NR_TDD_UL_DL_Pattern__dl_UL_TransmissionPeriodicity_ms2
:
// 60kHz SCS
case
NR_TDD_UL_DL_Pattern__dl_UL_TransmissionPeriodicity_ms1p25
:
// 60kHz SCS
case
NR_TDD_UL_DL_Pattern__dl_UL_TransmissionPeriodicity_ms1
:
// 120kHz SCS
case
NR_TDD_UL_DL_Pattern__dl_UL_TransmissionPeriodicity_ms0p625
:
// 120kHz SCS
case
NR_TDD_UL_DL_Pattern__dl_UL_TransmissionPeriodicity_ms0p5
:
// 120kHz SCS
temp_min_delay
=
2
;
break
;
}
}
int
k2
=
(
min_fb_delay
<
temp_min_delay
)
?
temp_min_delay
:
min_fb_delay
;
const
int
k2
=
min_fb_delay
;
uint8_t
DELTA
[
4
]
=
{
2
,
3
,
4
,
6
};
// Delta parameter for Msg3
int
mu
=
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
genericParameters
.
subcarrierSpacing
;
...
...
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