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
518edc74
Commit
518edc74
authored
Apr 29, 2021
by
Eurecom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
n300 fixes 50 MHz configuration
parent
14978574
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
1 deletion
+32
-1
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+1
-0
executables/nr-ru.c
executables/nr-ru.c
+11
-0
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+1
-0
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
+15
-0
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
+2
-0
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
+2
-1
No files found.
cmake_targets/tools/build_helper
View file @
518edc74
...
...
@@ -113,6 +113,7 @@ check_supported_distribution() {
"rhel7.6") return 0 ;;
"rhel7.7") return 0 ;;
"rhel7.8") return 0 ;;
"rhel7.9") return 0 ;;
"rhel8.2") return 0 ;;
"rhel8.3") return 0 ;;
"rhel8.4") return 0 ;;
...
...
executables/nr-ru.c
View file @
518edc74
...
...
@@ -861,6 +861,17 @@ void fill_rf_config(RU_t *ru, char *rf_config_file) {
cfg
->
tx_bw
=
40e6
;
cfg
->
rx_bw
=
40e6
;
}
}
else
if
(
N_RB
==
133
)
{
if
(
fp
->
threequarter_fs
)
{
AssertFatal
(
1
==
0
,
"N_RB %d cannot use 3/4 sampling
\n
"
,
N_RB
);
}
else
{
cfg
->
sample_rate
=
61.44e6
;
cfg
->
samples_per_frame
=
614400
;
cfg
->
tx_bw
=
50e6
;
cfg
->
rx_bw
=
50e6
;
}
}
else
{
AssertFatal
(
0
==
1
,
"N_RB %d not yet supported for numerology %d
\n
"
,
N_RB
,
mu
);
}
...
...
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
518edc74
...
...
@@ -380,6 +380,7 @@ void nr_fill_indication(PHY_VARS_gNB *gNB, int frame, int slot_rx, int ULSCH_id,
// scale the 16 factor in N_TA calculation in 38.213 section 4.2 according to the used FFT size
switch
(
gNB
->
frame_parms
.
N_RB_DL
)
{
case
106
:
timing_advance_update
/=
16
;
break
;
case
133
:
timing_advance_update
/=
16
;
break
;
case
217
:
timing_advance_update
/=
32
;
break
;
case
245
:
timing_advance_update
/=
32
;
break
;
case
273
:
timing_advance_update
/=
32
;
break
;
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
View file @
518edc74
...
...
@@ -753,6 +753,21 @@ void nr_schedule_ue_spec(module_id_t module_id,
current_harq_pid
,
harq
->
round
,
harq
->
ndi
);
if
((
get_softmodem_params
()
->
phy_test
==
1
)
&&
(
frame
&
127
)
==
0
)
LOG_D
(
MAC
,
"%4d.%2d RNTI %04x start %d RBs %d startSymbol %d nb_symbsol %d MCS %d TBS %d (%f Mbps) HARQ PID %d round %d NDI %d
\n
"
,
frame
,
slot
,
rnti
,
sched_ctrl
->
rbStart
,
sched_ctrl
->
rbSize
,
startSymbolIndex
,
nrOfSymbols
,
sched_ctrl
->
mcs
,
TBS
,((
double
)
TBS
)
*
(
1
<<
scc
->
uplinkConfigCommon
->
initialUplinkBWP
->
genericParameters
.
subcarrierSpacing
))
/
1000
,
current_harq_pid
,
harq
->
round
,
harq
->
ndi
);
NR_BWP_Downlink_t
*
bwp
=
sched_ctrl
->
active_bwp
;
AssertFatal
(
bwp
->
bwp_Dedicated
->
pdcch_Config
->
choice
.
setup
->
searchSpacesToAddModList
,
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
View file @
518edc74
...
...
@@ -370,6 +370,8 @@ void nr_preprocessor_phytest(module_id_t module_id,
/* mark the corresponding RBs as used */
for
(
int
rb
=
0
;
rb
<
sched_ctrl
->
rbSize
;
rb
++
)
vrb_map
[
rb
+
sched_ctrl
->
rbStart
]
=
1
;
if
((
frame
&
127
)
==
0
)
LOG_I
(
MAC
,
"phytest: %d.%d DL mcs %d, DL rbStart %d, DL rbSize %d
\n
"
,
frame
,
slot
,
sched_ctrl
->
mcs
,
rbStart
,
rbSize
);
}
bool
nr_ul_preprocessor_phytest
(
module_id_t
module_id
,
...
...
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
View file @
518edc74
...
...
@@ -38,6 +38,7 @@
#include <stdint.h>
#include <executables/softmodem-common.h>
static
nr_rlc_ue_manager_t
*
nr_rlc_ue_manager
;
/* TODO: handle time a bit more properly */
...
...
@@ -250,7 +251,7 @@ mac_rlc_status_resp_t mac_rlc_status_ind(
+
buf_stat
.
retx_size
+
buf_stat
.
tx_size
;
}
else
{
LOG_W
(
RLC
,
"[%s] Radio Bearer (channel ID %d) is NULL for UE with rntiP %x
\n
"
,
__FUNCTION__
,
channel_idP
,
rntiP
);
if
(
get_softmodem_params
()
->
phy_test
==
0
)
LOG_W
(
RLC
,
"[%s] Radio Bearer (channel ID %d) is NULL for UE with rntiP %x
\n
"
,
__FUNCTION__
,
channel_idP
,
rntiP
);
ret
.
bytes_in_buffer
=
0
;
}
...
...
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