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
Michael Black
OpenXG-RAN
Commits
14a5b696
Commit
14a5b696
authored
Apr 21, 2022
by
lfq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add amp for debugging
parent
4f48fadc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+2
-0
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+5
-4
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
14a5b696
...
...
@@ -1393,6 +1393,8 @@ int nr_rx_pusch(PHY_VARS_gNB *gNB,
LOG_I
(
PHY
,
"UL AMP frame %d %d, symbol %d, rbs %d, res %d, pusch amp %d
\n
"
,
frame
,
slot
,
symbol
,
nb_re_pusch
/
12
,
nb_re_pusch
,
g_pusch_amp
);
cnt
++
;
if
(
cnt
>
100
)
cnt
=
8
;
}
}
}
...
...
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
14a5b696
...
...
@@ -50,6 +50,8 @@
uint8_t
SSB_Table
[
38
]
=
{
0
,
2
,
4
,
6
,
8
,
10
,
12
,
14
,
254
,
254
,
16
,
18
,
20
,
22
,
24
,
26
,
28
,
30
,
254
,
254
,
32
,
34
,
36
,
38
,
40
,
42
,
44
,
46
,
254
,
254
,
48
,
50
,
52
,
54
,
56
,
58
,
60
,
62
};
extern
uint8_t
nfapi_mode
;
extern
uint
g_pusch_amp
;
void
nr_set_ssb_first_subcarrier
(
nfapi_nr_config_request_scf_t
*
cfg
,
NR_DL_FRAME_PARMS
*
fp
)
{
...
...
@@ -244,7 +246,7 @@ void nr_postDecode(PHY_VARS_gNB *gNB, notifiedFIFO_elt_t *req) {
nr_fill_indication
(
gNB
,
ulsch_harq
->
frame
,
ulsch_harq
->
slot
,
rdata
->
ulsch_id
,
rdata
->
harq_pid
,
0
,
0
);
//dumpsig=1;
}
else
{
LOG_I
(
PHY
,
"[gNB %d] ULSCH: Setting NAK for SFN/SF %d/%d (pid %d, ndi %d, status %d, round %d, RV %d, prb_start %d, prb_size %d, TBS %d) r %d
\n
"
,
LOG_I
(
PHY
,
"[gNB %d] ULSCH: Setting NAK for SFN/SF %d/%d (pid %d, ndi %d, status %d, round %d, RV %d, prb_start %d, prb_size %d, TBS %d) r %d
, AMP %d
\n
"
,
gNB
->
Mod_id
,
ulsch_harq
->
frame
,
ulsch_harq
->
slot
,
rdata
->
harq_pid
,
pusch_pdu
->
pusch_data
.
new_data_indicator
,
ulsch_harq
->
status
,
ulsch_harq
->
round
,
...
...
@@ -252,7 +254,8 @@ void nr_postDecode(PHY_VARS_gNB *gNB, notifiedFIFO_elt_t *req) {
ulsch_harq
->
ulsch_pdu
.
rb_start
,
ulsch_harq
->
ulsch_pdu
.
rb_size
,
ulsch_harq
->
TBS
,
r
);
r
,
g_pusch_amp
);
ulsch_harq
->
round
++
;
if
(
ulsch_harq
->
round
>=
ulsch
->
Mlimit
)
{
ulsch_harq
->
status
=
SCH_IDLE
;
...
...
@@ -624,8 +627,6 @@ void phy_procedures_gNB_common_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx)
}
}
extern
uint
g_pusch_amp
;
int
phy_procedures_gNB_uespec_RX
(
PHY_VARS_gNB
*
gNB
,
int
frame_rx
,
int
slot_rx
)
{
/* those variables to log T_GNB_PHY_PUCCH_PUSCH_IQ only when we try to decode */
int
pucch_decode_done
=
0
;
...
...
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