Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shweta Shrivastava
openairinterface5G
Commits
8677d44a
Commit
8677d44a
authored
Aug 14, 2019
by
Florian Kaltenberger
Browse files
fixing a bug in UE FAPI interface
parent
dbc9472a
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
View file @
8677d44a
...
...
@@ -213,7 +213,7 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response)
int8_t
nr_ue_phy_config_request
(
nr_phy_config_t
*
phy_config
){
fapi_nr_config_request_t
nrUE_config
=
PHY_vars_UE_g
[
phy_config
->
Mod_id
][
phy_config
->
CC_id
]
->
nrUE_config
;
fapi_nr_config_request_t
*
nrUE_config
=
&
PHY_vars_UE_g
[
phy_config
->
Mod_id
][
phy_config
->
CC_id
]
->
nrUE_config
;
if
(
phy_config
!=
NULL
){
if
(
phy_config
->
config_req
.
config_mask
&
FAPI_NR_CONFIG_REQUEST_MASK_PBCH
){
...
...
@@ -229,7 +229,7 @@ int8_t nr_ue_phy_config_request(nr_phy_config_t *phy_config){
LOG_I
(
MAC
,
"half frame bit: %d
\n
"
,
phy_config
->
config_req
.
pbch_config
.
half_frame_bit
);
LOG_I
(
MAC
,
"-------------------------------
\n
"
);
memcpy
(
&
nrUE_config
.
pbch_config
,
&
phy_config
->
config_req
.
pbch_config
,
sizeof
(
fapi_nr_pbch_config_t
));
memcpy
(
&
nrUE_config
->
pbch_config
,
&
phy_config
->
config_req
.
pbch_config
,
sizeof
(
fapi_nr_pbch_config_t
));
}
...
...
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