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
54980609
Commit
54980609
authored
May 26, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SLDCH RX statistics
parent
46ca2820
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
openair1/PHY/LTE_TRANSPORT/sldch.c
openair1/PHY/LTE_TRANSPORT/sldch.c
+2
-1
openair1/PHY/defs.h
openair1/PHY/defs.h
+1
-0
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+2
-1
No files found.
openair1/PHY/LTE_TRANSPORT/sldch.c
View file @
54980609
...
@@ -284,10 +284,11 @@ void sldch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
...
@@ -284,10 +284,11 @@ void sldch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
// printf("slsch decoding round %d ret %d\n",ue->dlsch_rx_sldch->harq_processes[0]->round,ret);
// printf("slsch decoding round %d ret %d\n",ue->dlsch_rx_sldch->harq_processes[0]->round,ret);
if
(
ret
<
ue
->
dlsch_rx_sldch
[
npsdch
]
->
max_turbo_iterations
)
{
if
(
ret
<
ue
->
dlsch_rx_sldch
[
npsdch
]
->
max_turbo_iterations
)
{
LOG_
I
(
PHY
,
"SLDCH received for npsdch %d (rvidx %d, iter %d)
\n
"
,
LOG_
D
(
PHY
,
"SLDCH received for npsdch %d (rvidx %d, iter %d)
\n
"
,
npsdch
,
npsdch
,
rvidx
,
ret
);
rvidx
,
ret
);
ue
->
sldch_received
[
npsdch
]
=
1
;
ue
->
sldch_received
[
npsdch
]
=
1
;
ue
->
sldch_rxcnt
[
npsdch
]
++
;
}
}
//exit(-1);
//exit(-1);
...
...
openair1/PHY/defs.h
View file @
54980609
...
@@ -1313,6 +1313,7 @@ typedef struct {
...
@@ -1313,6 +1313,7 @@ typedef struct {
LTE_UE_DLSCH_t
*
dlsch_rx_slsch
;
LTE_UE_DLSCH_t
*
dlsch_rx_slsch
;
LTE_UE_DLSCH_t
*
dlsch_rx_sldch
[
MAX_SLDCH
];
LTE_UE_DLSCH_t
*
dlsch_rx_sldch
[
MAX_SLDCH
];
int
sldch_received
[
MAX_SLDCH
];
int
sldch_received
[
MAX_SLDCH
];
int
sldch_rxcnt
[
MAX_SLDCH
];
int16_t
**
sl_rxdataF
[
RX_NB_TH_MAX
];
int16_t
**
sl_rxdataF
[
RX_NB_TH_MAX
];
int16_t
**
sl_rxdata_7_5kHz
[
RX_NB_TH_MAX
];
int16_t
**
sl_rxdata_7_5kHz
[
RX_NB_TH_MAX
];
int16_t
*
slsch_dlsch_llr
;
int16_t
*
slsch_dlsch_llr
;
...
...
openair1/SCHED/phy_procedures_lte_ue.c
View file @
54980609
...
@@ -4788,7 +4788,8 @@ void phy_procedures_UE_SL_RX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc) {
...
@@ -4788,7 +4788,8 @@ void phy_procedures_UE_SL_RX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc) {
if
(
ue
->
is_SynchRef
==
0
&&
frame_rx
==
0
&&
subframe_rx
==
0
)
LOG_I
(
PHY
,
"Connected with SyncRef UE (slbch errors %d/%d)
\n
"
,
if
(
ue
->
is_SynchRef
==
0
&&
frame_rx
==
0
&&
subframe_rx
==
0
)
LOG_I
(
PHY
,
"Connected with SyncRef UE (slbch errors %d/%d)
\n
"
,
ue
->
slbch_errors
,
ue
->
slbch_rxops
);
ue
->
slbch_errors
,
ue
->
slbch_rxops
);
if
(
frame_rx
==
0
&&
subframe_rx
==
0
)
for
(
int
i
=
0
;
i
<
MAX_SLDCH
;
i
++
)
if
(
ue
->
sldch_rxcnt
[
i
]
>
0
)
LOG_I
(
PHY
,
"n_psdch %d count %d
\n
"
,
i
,
ue
->
sldch_rxcnt
[
i
]);
}
}
int
phy_procedures_UE_RX
(
PHY_VARS_UE
*
ue
,
UE_rxtx_proc_t
*
proc
,
uint8_t
eNB_id
,
int
phy_procedures_UE_RX
(
PHY_VARS_UE
*
ue
,
UE_rxtx_proc_t
*
proc
,
uint8_t
eNB_id
,
...
...
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