Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
openairinterface5G
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
150
Issues
150
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
oai
openairinterface5G
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
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
nr_init.c
openair1/PHY/INIT/nr_init.c
+3
-0
nr_dci_tools.c
openair1/PHY/NR_TRANSPORT/nr_dci_tools.c
+1
-1
phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+1
-1
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 @@
extern
uint32_t
from_earfcn
(
int
eutra_bandP
,
uint32_t
dl_earfcn
);
extern
int32_t
get_uldl_offset
(
int
eutra_bandP
);
extern
void
init_nr_transport
(
PHY_VARS_gNB
*
gNB
);
int
l1_north_init_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
);
/// Transport init necessary for NR synchro
init_nr_transport
(
gNB
);
/*
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,
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
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,
AMP
,
*
fp
,
*
cfg
);
if
(
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
->
nr_gold_pdsch_dmrs
[
slot_idx
],
gNB
->
common_vars
.
txdataF
,
...
...
targets/RT/USER/nr-gnb.c
View file @
ff853139
...
...
@@ -883,8 +883,6 @@ void init_eNB_afterRU(void) {
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
);
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_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