Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
d72a2c12
Commit
d72a2c12
authored
Jul 29, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for pucch prb size
parent
bf5ded2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
+3
-5
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+1
-0
No files found.
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
View file @
d72a2c12
...
@@ -341,15 +341,13 @@ void pucch_procedures_ue_nr(PHY_VARS_NR_UE *ue,
...
@@ -341,15 +341,13 @@ void pucch_procedures_ue_nr(PHY_VARS_NR_UE *ue,
int
tx_amp
;
int
tx_amp
;
#if defined(EXMIMO) || defined(OAI_USRP) || defined(OAI_BLADERF) || defined(OAI_LMSSDR) || defined(OAI_ADRV9371_ZC706)
tx_amp
=
nr_get_tx_amp
(
pucch_tx_power
,
tx_amp
=
nr_get_tx_amp
(
pucch_tx_power
,
ue
->
tx_power_max_dBm
,
ue
->
tx_power_max_dBm
,
ue
->
frame_parms
.
N_RB_UL
,
ue
->
frame_parms
.
N_RB_UL
,
nb_of_prbs
);
nb_of_prbs
);
#else
if
(
tx_amp
==
0
)
tx_amp
=
AMP
;
tx_amp
=
AMP
;
#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
);
LOG_D
(
PHY
,
"Generation of PUCCH format %d at frame.slot %d.%d
\n
"
,
pucch_pdu
->
format_type
,
proc
->
frame_tx
,
nr_slot_tx
);
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
d72a2c12
...
@@ -1414,6 +1414,7 @@ void nr_ue_configure_pucch(NR_UE_MAC_INST_t *mac,
...
@@ -1414,6 +1414,7 @@ void nr_ue_configure_pucch(NR_UE_MAC_INST_t *mac,
pucch_pdu
->
prb_start
=
pucchres
->
startingPRB
;
pucch_pdu
->
prb_start
=
pucchres
->
startingPRB
;
pucch_pdu
->
freq_hop_flag
=
pucchres
->
intraSlotFrequencyHopping
!=
NULL
?
1
:
0
;
pucch_pdu
->
freq_hop_flag
=
pucchres
->
intraSlotFrequencyHopping
!=
NULL
?
1
:
0
;
pucch_pdu
->
second_hop_prb
=
pucchres
->
secondHopPRB
!=
NULL
?
*
pucchres
->
secondHopPRB
:
0
;
pucch_pdu
->
second_hop_prb
=
pucchres
->
secondHopPRB
!=
NULL
?
*
pucchres
->
secondHopPRB
:
0
;
pucch_pdu
->
prb_size
=
1
;
// format 0 or 1
if
((
O_SR
+
O_CSI
+
O_SR
)
>
(
sizeof
(
uint64_t
)
*
8
))
{
if
((
O_SR
+
O_CSI
+
O_SR
)
>
(
sizeof
(
uint64_t
)
*
8
))
{
LOG_E
(
MAC
,
"PUCCH number of UCI bits exceeds payload size : at line %d in function %s of file %s
\n
"
,
LINE_FILE
,
__func__
,
FILE_NAME
);
LOG_E
(
MAC
,
"PUCCH number of UCI bits exceeds payload size : at line %d in function %s of file %s
\n
"
,
LINE_FILE
,
__func__
,
FILE_NAME
);
...
...
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