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
promise
OpenXG-RAN
Commits
475242c6
Commit
475242c6
authored
May 19, 2019
by
matzakos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unitary simulation compilation errors resolved
parent
c1152f30
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
12 deletions
+8
-12
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+1
-2
openair1/SCHED_NR/fapi_nr_l1.c
openair1/SCHED_NR/fapi_nr_l1.c
+1
-1
openair1/SIMULATION/NR_PHY/dlschsim.c
openair1/SIMULATION/NR_PHY/dlschsim.c
+3
-3
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+1
-4
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
+2
-2
No files found.
openair1/PHY/INIT/nr_init.c
View file @
475242c6
...
...
@@ -285,9 +285,8 @@ void phy_free_nr_gNB(PHY_VARS_gNB *gNB) {
LTE_eNB_SRS *const srs_vars = gNB->srs_vars;
LTE_eNB_PRACH *const prach_vars = &gNB->prach_vars;*/
uint32_t
***
pdcch_dmrs
=
gNB
->
nr_gold_pdcch_dmrs
;
int
i
,
UE_id
;
for
(
i
=
0
;
i
<
15
;
i
++
)
{
for
(
i
nt
i
=
0
;
i
<
15
;
i
++
)
{
free_and_zero
(
common_vars
->
txdataF
[
i
]);
/* rxdataF[i] is not allocated -> don't free */
}
...
...
openair1/SCHED_NR/fapi_nr_l1.c
View file @
475242c6
...
...
@@ -150,7 +150,7 @@ void nr_schedule_response(NR_Sched_Rsp_t *Sched_INFO){
uint16_t
invalid_pdu
=
pdu_index
==
-
1
;
uint8_t
*
sdu
=
invalid_pdu
?
NULL
:
pdu_index
>=
tx_pdus
?
NULL
:
TX_req
->
tx_request_body
.
tx_pdu_list
[
pdu_index
].
segments
[
0
].
segment_data
;
AssertFatal
(
sdu
!=
NULL
,
"sdu is null, pdu_index %d, tx_pdus %d
\n
"
);
AssertFatal
(
sdu
!=
NULL
,
"sdu is null, pdu_index %d, tx_pdus %d
\n
"
,
pdu_index
,
tx_pdus
);
handle_nr_nfapi_dlsch_pdu
(
gNB
,
frame
,
slot
,
&
dl_config_pdu
->
dlsch_pdu
,
sdu
);
do_oai
=
1
;
}
...
...
openair1/SIMULATION/NR_PHY/dlschsim.c
View file @
475242c6
...
...
@@ -149,7 +149,7 @@ int main(int argc, char **argv) {
uint16_t
N_RB_DL
=
106
,
mu
=
1
;
//unsigned char frame_type = 0;
unsigned
char
pbch_phase
=
0
;
int
frame
=
0
,
s
ubframe
=
0
;
int
frame
=
0
,
s
lot
=
0
;
int
frame_length_complex_samples
;
//int frame_length_complex_samples_no_prefix;
NR_DL_FRAME_PARMS
*
frame_parms
;
...
...
@@ -528,7 +528,7 @@ int main(int argc, char **argv) {
//printf("crc32: [0]->0x%08x\n",crc24c(test_input, 32));
// generate signal
if
(
input_fd
==
NULL
)
{
nr_dlsch_encoding
(
test_input
,
subframe
,
dlsch
,
frame_parms
);
nr_dlsch_encoding
(
test_input
,
frame
,
slot
,
dlsch
,
frame_parms
);
}
for
(
SNR
=
snr0
;
SNR
<
snr1
;
SNR
+=
snr_step
)
{
...
...
@@ -583,7 +583,7 @@ int main(int argc, char **argv) {
#endif
ret
=
nr_dlsch_decoding
(
UE
,
channel_output_fixed
,
&
UE
->
frame_parms
,
dlsch0_ue
,
dlsch0_ue
->
harq_processes
[
0
],
frame
,
nb_symb_sch
,
s
ubframe
,
harq_pid
,
is_crnti
,
llr8_flag
);
s
lot
,
harq_pid
,
is_crnti
,
llr8_flag
);
if
(
ret
>
dlsch0_ue
->
max_ldpc_iterations
)
n_errors
++
;
...
...
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
475242c6
...
...
@@ -177,7 +177,6 @@ int main(int argc, char **argv)
int
slot_length_complex_samples_no_prefix
;
NR_DL_FRAME_PARMS
*
frame_parms
;
nfapi_nr_config_request_t
*
gNB_config
;
gNB_L1_rxtx_proc_t
gNB_proc
;
UE_nr_rxtx_proc_t
UE_proc
;
NR_Sched_Rsp_t
Sched_INFO
;
gNB_MAC_INST
*
gNB_mac
;
...
...
@@ -554,9 +553,7 @@ int main(int argc, char **argv)
Sched_INFO
.
TX_req
=
&
gNB_mac
->
TX_req
[
0
];
nr_schedule_response
(
&
Sched_INFO
);
gNB_proc
.
frame_tx
=
frame
;
gNB_proc
.
slot_tx
=
slot
;
phy_procedures_gNB_TX
(
gNB
,
&
gNB_proc
,
0
);
phy_procedures_gNB_TX
(
gNB
,
frame
,
slot
,
0
);
//nr_common_signal_procedures (gNB,frame,subframe);
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
View file @
475242c6
...
...
@@ -163,7 +163,7 @@ void nr_schedule_css_dlsch_phytest(module_id_t module_idP,
TX_req
->
pdu_index
=
nr_mac
->
pdu_index
[
CC_id
]
++
;
TX_req
->
num_segments
=
1
;
TX_req
->
segments
[
0
].
segment_length
=
8
;
TX_req
->
segments
[
0
].
segment_data
=
cc
[
CC_id
].
RAR_pdu
.
payload
[
0
];
TX_req
->
segments
[
0
].
segment_data
=
&
cc
[
CC_id
].
RAR_pdu
.
payload
[
0
];
nr_mac
->
TX_req
[
CC_id
].
tx_request_body
.
number_of_pdus
++
;
nr_mac
->
TX_req
[
CC_id
].
sfn_sf
=
sfn_sf
;
nr_mac
->
TX_req
[
CC_id
].
tx_request_body
.
tl
.
tag
=
NFAPI_TX_REQUEST_BODY_TAG
;
...
...
@@ -296,7 +296,7 @@ void nr_schedule_uss_dlsch_phytest(module_id_t module_idP,
TX_req
->
pdu_length
=
dlsch_pdu_rel15
->
transport_block_size
;
TX_req
->
pdu_index
=
nr_mac
->
pdu_index
[
CC_id
]
++
;
TX_req
->
num_segments
=
1
;
TX_req
->
segments
[
0
].
segment_data
=
nr_mac
->
UE_list
.
DLSCH_pdu
[
CC_id
][
0
][
0
].
payload
;
TX_req
->
segments
[
0
].
segment_data
=
nr_mac
->
UE_list
.
DLSCH_pdu
[
CC_id
][
0
][
0
].
payload
[
0
]
;
TX_req
->
segments
[
0
].
segment_length
=
dlsch_pdu_rel15
->
transport_block_size
+
2
;
nr_mac
->
TX_req
[
CC_id
].
tx_request_body
.
number_of_pdus
++
;
...
...
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