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
lizhongxiao
OpenXG-RAN
Commits
5055023d
Commit
5055023d
authored
Jul 10, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix in activation of pucch_vars
parent
8981f5cb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
+1
-0
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
+3
-0
No files found.
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
View file @
5055023d
...
@@ -204,6 +204,7 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response){
...
@@ -204,6 +204,7 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response){
memcpy
((
void
*
)
&
(
pucch_vars
->
pucch_pdu
[
j
]),
(
void
*
)
pucch_config_pdu
,
sizeof
(
fapi_nr_ul_config_pucch_pdu
));
memcpy
((
void
*
)
&
(
pucch_vars
->
pucch_pdu
[
j
]),
(
void
*
)
pucch_config_pdu
,
sizeof
(
fapi_nr_ul_config_pucch_pdu
));
pucch_vars
->
active
[
j
]
=
true
;
pucch_vars
->
active
[
j
]
=
true
;
found
=
true
;
found
=
true
;
break
;
}
}
}
}
if
(
!
found
)
if
(
!
found
)
...
...
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
View file @
5055023d
...
@@ -321,6 +321,7 @@ void pucch_procedures_ue_nr(PHY_VARS_NR_UE *ue,
...
@@ -321,6 +321,7 @@ void pucch_procedures_ue_nr(PHY_VARS_NR_UE *ue,
for
(
int
i
=
0
;
i
<
2
;
i
++
)
{
for
(
int
i
=
0
;
i
<
2
;
i
++
)
{
if
(
pucch_vars
->
active
[
i
])
{
if
(
pucch_vars
->
active
[
i
])
{
pucch_pdu
=
&
pucch_vars
->
pucch_pdu
[
i
];
pucch_pdu
=
&
pucch_vars
->
pucch_pdu
[
i
];
uint16_t
nb_of_prbs
=
pucch_pdu
->
prb_size
;
uint16_t
nb_of_prbs
=
pucch_pdu
->
prb_size
;
/* Generate PUCCH signal according to its format and parameters */
/* Generate PUCCH signal according to its format and parameters */
...
@@ -350,6 +351,8 @@ void pucch_procedures_ue_nr(PHY_VARS_NR_UE *ue,
...
@@ -350,6 +351,8 @@ void pucch_procedures_ue_nr(PHY_VARS_NR_UE *ue,
tx_amp
=
AMP
;
tx_amp
=
AMP
;
#endif
#endif
LOG_D
(
PHY
,
"Generation of PUCCH format %d at frame.slot %d.%d
\n
"
,
pucch_pdu
->
format_type
,
proc
->
frame_tx
,
nr_slot_tx
);
switch
(
pucch_pdu
->
format_type
)
{
switch
(
pucch_pdu
->
format_type
)
{
case
0
:
case
0
:
nr_generate_pucch0
(
ue
,
nr_generate_pucch0
(
ue
,
...
...
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