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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
5ec5be71
Commit
5ec5be71
authored
Mar 28, 2024
by
wf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reserve slot correct
parent
93361605
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
4 deletions
+11
-4
cmake_targets/GP.bin
cmake_targets/GP.bin
+0
-0
cmake_targets/rf_params.txt
cmake_targets/rf_params.txt
+1
-1
executables/nr-ru.c
executables/nr-ru.c
+7
-0
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
+2
-2
targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.273PRB.3747840.dpdkrf.conf
...-NR-5GC/CONF/gnb.sa.band78.fr1.273PRB.3747840.dpdkrf.conf
+1
-1
No files found.
cmake_targets/GP.bin
View file @
5ec5be71
No preview for this file type
cmake_targets/rf_params.txt
View file @
5ec5be71
0
4384
0
1
2288
1
7536
executables/nr-ru.c
View file @
5ec5be71
...
...
@@ -791,10 +791,12 @@ void tx_rf(RU_t *ru,int frame,int slot, uint64_t timestamp) {
radio_tx_burst_flag_t
flags_burst
=
TX_BURST_INVALID
;
radio_tx_gpio_flag_t
flags_gpio
=
0
;
if
(
cfg
->
cell_config
.
frame_duplex_type
.
value
==
TDD
&&
!
get_softmodem_params
()
->
continuous_tx
)
{
int
slot_type
=
nr_slot_select
(
cfg
,
frame
,
slot
%
fp
->
slots_per_frame
);
if
(
slot_type
==
NR_MIXED_SLOT
)
{
int
txsymb
=
0
;
return
;
for
(
int
symbol_count
=
0
;
symbol_count
<
NR_NUMBER_OF_SYMBOLS_PER_SLOT
;
symbol_count
++
)
{
if
(
cfg
->
tdd_table
.
max_tdd_periodicity_list
[
slot
].
max_num_of_symbol_per_slot_list
[
symbol_count
].
slot_config
.
value
==
0
)
...
...
@@ -828,6 +830,11 @@ void tx_rf(RU_t *ru,int frame,int slot, uint64_t timestamp) {
}
else
{
flags_burst
=
proc
->
first_tx
==
1
?
TX_BURST_START
:
TX_BURST_MIDDLE
;
}
if
(((
slot
%
10
)
==
0
)
||
((
slot
%
10
)
==
5
))
{
siglen
-=
(
fp
->
ofdm_symbol_size
+
fp
->
nb_prefix_samples
);
}
}
}
else
{
// FDD
flags_burst
=
proc
->
first_tx
==
1
?
TX_BURST_START
:
TX_BURST_MIDDLE
;
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
View file @
5ec5be71
...
...
@@ -239,7 +239,7 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP, frame_t frame, sub_frame_
// This schedules SIB1
if
(
get_softmodem_params
()
->
sa
==
1
)
schedule_nr_sib1
(
module_idP
,
frame
,
slot
,
&
sched_info
->
DL_req
,
&
sched_info
->
TX_req
);
schedule_nr_sib1
(
module_idP
,
frame
,
slot
,
&
sched_info
->
DL_req
,
&
sched_info
->
TX_req
);
// This schedule PRACH if we are not in phy_test mode
if
(
get_softmodem_params
()
->
phy_test
==
0
)
{
...
...
@@ -266,7 +266,7 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP, frame_t frame, sub_frame_
// This schedule RA procedure if not in phy_test mode
// Otherwise consider 5G already connected
if
(
get_softmodem_params
()
->
phy_test
==
0
)
{
if
(
slot
!=
10
)
if
(
(
slot
!=
10
)
&&
((
slot
%
10
)
!=
7
)
)
nr_schedule_RA
(
module_idP
,
frame
,
slot
,
&
sched_info
->
UL_dci_req
,
&
sched_info
->
DL_req
,
&
sched_info
->
TX_req
);
}
...
...
targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.273PRB.3747840.dpdkrf.conf
View file @
5ec5be71
...
...
@@ -207,7 +207,7 @@ L1s = (
prach_dtx_threshold
=
220
;
pucch0_dtx_threshold
=
250
;
ofdm_offset_divisor
=
8
;
#set this to UINT_MAX for offset 0
tx_amp_backoff_dB
=
1
2
; //
12
tx_amp_backoff_dB
=
1
0
; //
12
}
);
...
...
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