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
Michael Black
OpenXG-RAN
Commits
ff853139
Commit
ff853139
authored
Oct 26, 2018
by
Guy De Souza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transport init
parent
ddccc3d2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+3
-0
openair1/PHY/NR_TRANSPORT/nr_dci_tools.c
openair1/PHY/NR_TRANSPORT/nr_dci_tools.c
+1
-1
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+1
-1
targets/RT/USER/nr-gnb.c
targets/RT/USER/nr-gnb.c
+0
-2
No files found.
openair1/PHY/INIT/nr_init.c
View file @
ff853139
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
extern
uint32_t
from_earfcn
(
int
eutra_bandP
,
uint32_t
dl_earfcn
);
extern
uint32_t
from_earfcn
(
int
eutra_bandP
,
uint32_t
dl_earfcn
);
extern
int32_t
get_uldl_offset
(
int
eutra_bandP
);
extern
int32_t
get_uldl_offset
(
int
eutra_bandP
);
extern
void
init_nr_transport
(
PHY_VARS_gNB
*
gNB
);
int
l1_north_init_gNB
()
{
int
l1_north_init_gNB
()
{
...
@@ -152,6 +153,8 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
...
@@ -152,6 +153,8 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
}
}
nr_init_pdsch_dmrs
(
gNB
,
cfg
->
sch_config
.
physical_cell_id
.
value
);
nr_init_pdsch_dmrs
(
gNB
,
cfg
->
sch_config
.
physical_cell_id
.
value
);
/// Transport init necessary for NR synchro
init_nr_transport
(
gNB
);
/*
/*
lte_gold(fp,gNB->lte_gold_table,fp->Nid_cell);
lte_gold(fp,gNB->lte_gold_table,fp->Nid_cell);
...
...
openair1/PHY/NR_TRANSPORT/nr_dci_tools.c
View file @
ff853139
...
@@ -533,6 +533,6 @@ void nr_fill_dci_and_dlsch(PHY_VARS_gNB *gNB,
...
@@ -533,6 +533,6 @@ void nr_fill_dci_and_dlsch(PHY_VARS_gNB *gNB,
LOG_I
(
PHY
,
"DCI type %d payload (size %d) generated on candidate %d
\n
"
,
dci_alloc
->
pdcch_params
.
dci_format
,
dci_alloc
->
size
,
cand_idx
);
LOG_I
(
PHY
,
"DCI type %d payload (size %d) generated on candidate %d
\n
"
,
dci_alloc
->
pdcch_params
.
dci_format
,
dci_alloc
->
size
,
cand_idx
);
/// DLSCH struct
/// DLSCH struct
memcpy
((
void
*
)
&
dlsch
->
harq_processes
[
dci_alloc
->
harq_pid
]
->
dlsch_pdu
,
(
void
*
)
dlsch_pdu
,
sizeof
(
nfapi_nr_dl_config_dlsch_pdu
));
memcpy
((
void
*
)
&
harq
[
dci_alloc
->
harq_pid
]
->
dlsch_pdu
,
(
void
*
)
dlsch_pdu
,
sizeof
(
nfapi_nr_dl_config_dlsch_pdu
));
}
}
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
ff853139
...
@@ -196,7 +196,7 @@ void phy_procedures_gNB_TX(PHY_VARS_gNB *gNB,
...
@@ -196,7 +196,7 @@ void phy_procedures_gNB_TX(PHY_VARS_gNB *gNB,
AMP
,
*
fp
,
*
cfg
);
AMP
,
*
fp
,
*
cfg
);
if
(
num_pdsch_rnti
)
{
if
(
num_pdsch_rnti
)
{
LOG_I
(
PHY
,
"PDSCH generation started (%d)
\n
"
,
num_pdsch_rnti
);
LOG_I
(
PHY
,
"PDSCH generation started (%d)
\n
"
,
num_pdsch_rnti
);
nr_generate_pdsch
(
*
(
gNB
->
dlsch
[
0
][
0
])
,
nr_generate_pdsch
(
*
gNB
->
dlsch
[
0
][
0
]
,
gNB
->
pdcch_vars
,
gNB
->
pdcch_vars
,
gNB
->
nr_gold_pdsch_dmrs
[
slot_idx
],
gNB
->
nr_gold_pdsch_dmrs
[
slot_idx
],
gNB
->
common_vars
.
txdataF
,
gNB
->
common_vars
.
txdataF
,
...
...
targets/RT/USER/nr-gnb.c
View file @
ff853139
...
@@ -883,8 +883,6 @@ void init_eNB_afterRU(void) {
...
@@ -883,8 +883,6 @@ void init_eNB_afterRU(void) {
AssertFatal
(
gNB
->
gNB_config
.
rf_config
.
tx_antenna_ports
.
value
>
0
,
AssertFatal
(
gNB
->
gNB_config
.
rf_config
.
tx_antenna_ports
.
value
>
0
,
"inst %d, CC_id %d : nb_antennas_rx %d
\n
"
,
inst
,
CC_id
,
gNB
->
gNB_config
.
rf_config
.
tx_antenna_ports
.
value
);
"inst %d, CC_id %d : nb_antennas_rx %d
\n
"
,
inst
,
CC_id
,
gNB
->
gNB_config
.
rf_config
.
tx_antenna_ports
.
value
);
LOG_I
(
PHY
,
"inst %d, CC_id %d : nb_antennas_rx %d
\n
"
,
inst
,
CC_id
,
gNB
->
gNB_config
.
rf_config
.
tx_antenna_ports
.
value
);
LOG_I
(
PHY
,
"inst %d, CC_id %d : nb_antennas_rx %d
\n
"
,
inst
,
CC_id
,
gNB
->
gNB_config
.
rf_config
.
tx_antenna_ports
.
value
);
/// Transport init necessary for NR synchro
init_nr_transport
(
gNB
);
//init_precoding_weights(RC.gNB[inst][CC_id]);
//init_precoding_weights(RC.gNB[inst][CC_id]);
}
}
init_gNB_proc
(
inst
);
init_gNB_proc
(
inst
);
...
...
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