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
zzha zzha
OpenXG-RAN
Commits
4a00c99a
Commit
4a00c99a
authored
Mar 23, 2022
by
Mario Hudon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed rebaseline to develop
parent
5ec4a940
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
36 deletions
+9
-36
openair1/PHY/INIT/nr_init_ue.c
openair1/PHY/INIT/nr_init_ue.c
+5
-29
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
+1
-5
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
+2
-1
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+1
-1
No files found.
openair1/PHY/INIT/nr_init_ue.c
View file @
4a00c99a
...
@@ -410,9 +410,13 @@ int init_nr_ue_signal(PHY_VARS_NR_UE *ue, int nb_connected_gNB)
...
@@ -410,9 +410,13 @@ int init_nr_ue_signal(PHY_VARS_NR_UE *ue, int nb_connected_gNB)
ue
->
pdsch_vars
[
th_id
][
gNB_id
]
->
dl_ch_magb1
[
k
][
l
][
idx
]
=
(
int32_t
*
)
malloc16_clear
(
7
*
2
*
sizeof
(
int32_t
)
*
(
fp
->
N_RB_DL
*
12
));
ue
->
pdsch_vars
[
th_id
][
gNB_id
]
->
dl_ch_magb1
[
k
][
l
][
idx
]
=
(
int32_t
*
)
malloc16_clear
(
7
*
2
*
sizeof
(
int32_t
)
*
(
fp
->
N_RB_DL
*
12
));
}
}
}
}
}
}
}
}
}
// RACH
prach_vars
[
gNB_id
]
->
prachF
=
(
int16_t
*
)
malloc16_clear
(
sizeof
(
int
)
*
(
7
*
2
*
sizeof
(
int
)
*
(
fp
->
ofdm_symbol_size
*
12
))
);
prach_vars
[
gNB_id
]
->
prach
=
(
int16_t
*
)
malloc16_clear
(
sizeof
(
int
)
*
(
7
*
2
*
sizeof
(
int
)
*
(
fp
->
ofdm_symbol_size
*
12
))
);
}
}
// initialization for the last instance of pdsch_vars (used for MU-MIMO)
// initialization for the last instance of pdsch_vars (used for MU-MIMO)
...
@@ -539,34 +543,6 @@ void term_nr_ue_signal(PHY_VARS_NR_UE *ue, int nb_connected_gNB)
...
@@ -539,34 +543,6 @@ void term_nr_ue_signal(PHY_VARS_NR_UE *ue, int nb_connected_gNB)
free_and_zero
(
ue
->
pdsch_vars
[
th_id
][
gNB_id
]);
free_and_zero
(
ue
->
pdsch_vars
[
th_id
][
gNB_id
]);
}
}
for
(
int
th_id
=
0
;
th_id
<
RX_NB_TH_MAX
;
th_id
++
)
{
for
(
int
i
=
0
;
i
<
fp
->
nb_antennas_rx
;
i
++
)
{
for
(
int
j
=
0
;
j
<
4
;
j
++
)
{
int
idx
=
j
*
fp
->
nb_antennas_rx
+
i
;
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
dl_ch_estimates
[
idx
]);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
dl_ch_estimates_time
[
idx
]);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
rxdataF_comp
[
idx
]);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
dl_ch_rho_ext
[
idx
]);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
rxdataF_ext
[
idx
]);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
dl_ch_estimates_ext
[
idx
]);
}
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
rho
[
i
]);
}
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
llr
);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
llr16
);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
wbar
);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
e_rx
);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
rxdataF_comp
);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
dl_ch_rho_ext
);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
rho
);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
rxdataF_ext
);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
dl_ch_estimates_ext
);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
dl_ch_estimates
);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]
->
dl_ch_estimates_time
);
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]);
}
for
(
int
i
=
0
;
i
<
fp
->
nb_antennas_rx
;
i
++
)
{
for
(
int
i
=
0
;
i
<
fp
->
nb_antennas_rx
;
i
++
)
{
free_and_zero
(
ue
->
nr_srs_info
->
srs_received_signal
[
i
]);
free_and_zero
(
ue
->
nr_srs_info
->
srs_received_signal
[
i
]);
free_and_zero
(
ue
->
nr_srs_info
->
srs_ls_estimated_channel
[
i
]);
free_and_zero
(
ue
->
nr_srs_info
->
srs_ls_estimated_channel
[
i
]);
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
View file @
4a00c99a
...
@@ -391,12 +391,8 @@ int nr_rx_pbch( PHY_VARS_NR_UE *ue,
...
@@ -391,12 +391,8 @@ int nr_rx_pbch( PHY_VARS_NR_UE *ue,
uint8_t
gNB_id
,
uint8_t
gNB_id
,
uint8_t
i_ssb
,
uint8_t
i_ssb
,
MIMO_mode_t
mimo_mode
,
MIMO_mode_t
mimo_mode
,
<<<<<<<
HEAD
NR_UE_PDCCH_CONFIG
*
phy_pdcch_config
,
NR_UE_PDCCH_CONFIG
*
phy_pdcch_config
)
{
=======
fapiPbch_t
*
result
)
{
fapiPbch_t
*
result
)
{
>>>>>>>
oai
-
eurecom
/
develop
NR_UE_COMMON
*
nr_ue_common_vars
=
&
ue
->
common_vars
;
NR_UE_COMMON
*
nr_ue_common_vars
=
&
ue
->
common_vars
;
int
max_h
=
0
;
int
max_h
=
0
;
int
symbol
;
int
symbol
;
...
...
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
View file @
4a00c99a
...
@@ -286,6 +286,7 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response){
...
@@ -286,6 +286,7 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response){
if
(
scheduled_response
->
dl_config
!=
NULL
){
if
(
scheduled_response
->
dl_config
!=
NULL
){
fapi_nr_dl_config_request_t
*
dl_config
=
scheduled_response
->
dl_config
;
fapi_nr_dl_config_request_t
*
dl_config
=
scheduled_response
->
dl_config
;
fapi_nr_dl_config_dlsch_pdu_rel15_t
*
dlsch_config_pdu
;
fapi_nr_dl_config_dlsch_pdu_rel15_t
*
dlsch_config_pdu
;
fapi_nr_dl_config_dci_dl_pdu_rel15_t
*
pdcch_config
;
for
(
int
i
=
0
;
i
<
dl_config
->
number_pdus
;
++
i
){
for
(
int
i
=
0
;
i
<
dl_config
->
number_pdus
;
++
i
){
AssertFatal
(
dl_config
->
number_pdus
<
FAPI_NR_DL_CONFIG_LIST_NUM
,
"dl_config->number_pdus %d out of bounds
\n
"
,
dl_config
->
number_pdus
);
AssertFatal
(
dl_config
->
number_pdus
<
FAPI_NR_DL_CONFIG_LIST_NUM
,
"dl_config->number_pdus %d out of bounds
\n
"
,
dl_config
->
number_pdus
);
...
@@ -299,7 +300,7 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response){
...
@@ -299,7 +300,7 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response){
phy_pdcch_config
=
(
NR_UE_PDCCH_CONFIG
*
)
scheduled_response
->
phy_data
;
phy_pdcch_config
=
(
NR_UE_PDCCH_CONFIG
*
)
scheduled_response
->
phy_data
;
phy_pdcch_config
->
nb_search_space
=
0
;
phy_pdcch_config
->
nb_search_space
=
0
;
}
}
fapi_nr_dl_config_dci_dl_pdu_rel15_t
*
pdcch_config
=
&
dl_config
->
dl_config_list
[
i
].
dci_config_pdu
.
dci_config_rel15
;
pdcch_config
=
&
dl_config
->
dl_config_list
[
i
].
dci_config_pdu
.
dci_config_rel15
;
memcpy
((
void
*
)
&
phy_pdcch_config
->
pdcch_config
[
phy_pdcch_config
->
nb_search_space
],(
void
*
)
pdcch_config
,
sizeof
(
*
pdcch_config
));
memcpy
((
void
*
)
&
phy_pdcch_config
->
pdcch_config
[
phy_pdcch_config
->
nb_search_space
],(
void
*
)
pdcch_config
,
sizeof
(
*
pdcch_config
));
phy_pdcch_config
->
nb_search_space
=
phy_pdcch_config
->
nb_search_space
+
1
;
phy_pdcch_config
->
nb_search_space
=
phy_pdcch_config
->
nb_search_space
+
1
;
phy_pdcch_config
->
sfn
=
scheduled_response
->
frame
;
phy_pdcch_config
->
sfn
=
scheduled_response
->
frame
;
...
...
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
4a00c99a
...
@@ -1013,7 +1013,7 @@ int handle_bcch_bch(module_id_t module_id, int cc_id,
...
@@ -1013,7 +1013,7 @@ int handle_bcch_bch(module_id_t module_id, int cc_id,
return
nr_ue_decode_mib
(
module_id
,
return
nr_ue_decode_mib
(
module_id
,
cc_id
,
cc_id
,
gNB_index
,
gNB_index
,
phy_data
,
phy_data
,
additional_bits
,
additional_bits
,
ssb_length
,
// Lssb = 64 is not support
ssb_length
,
// Lssb = 64 is not support
ssb_index
,
ssb_index
,
...
...
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