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
df446408
Commit
df446408
authored
May 26, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SLDCH TX statistics
parent
54980609
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
openair1/PHY/LTE_TRANSPORT/sldch.c
openair1/PHY/LTE_TRANSPORT/sldch.c
+2
-0
openair1/PHY/defs.h
openair1/PHY/defs.h
+1
-0
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+3
-1
No files found.
openair1/PHY/LTE_TRANSPORT/sldch.c
View file @
df446408
...
...
@@ -423,6 +423,8 @@ void sldch_codingmodulation(PHY_VARS_UE *ue,int frame_tx,int subframe_tx,int npr
LOG_D
(
PHY
,
"Generating SLDCH in %d.%d for rvidx %d, npsdch %d, first rb %d
\n
"
,
frame_tx
,
subframe_tx
,
rvidx
,
sldch
->
n_psdch
,
nprb
);
if
(
rvidx
==
0
)
ue
->
sldch_txcnt
[
sldch
->
n_psdch
]
++
;
dlsch
->
harq_processes
[
0
]
->
nb_rb
=
2
;
dlsch
->
harq_processes
[
0
]
->
TBS
=
256
;
dlsch
->
harq_processes
[
0
]
->
Qm
=
2
;
...
...
openair1/PHY/defs.h
View file @
df446408
...
...
@@ -1314,6 +1314,7 @@ typedef struct {
LTE_UE_DLSCH_t
*
dlsch_rx_sldch
[
MAX_SLDCH
];
int
sldch_received
[
MAX_SLDCH
];
int
sldch_rxcnt
[
MAX_SLDCH
];
int
sldch_txcnt
[
MAX_SLDCH
];
int16_t
**
sl_rxdataF
[
RX_NB_TH_MAX
];
int16_t
**
sl_rxdata_7_5kHz
[
RX_NB_TH_MAX
];
int16_t
*
slsch_dlsch_llr
;
...
...
openair1/SCHED/phy_procedures_lte_ue.c
View file @
df446408
...
...
@@ -2391,6 +2391,8 @@ void phy_procedures_UE_SL_TX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc) {
}
if
(
frame_tx
==
0
&&
subframe_tx
==
0
)
for
(
int
i
=
0
;
i
<
MAX_SLDCH
;
i
++
)
if
(
ue
->
sldch_txcnt
[
i
]
>
0
)
LOG_I
(
PHY
,
"n_psdch %d TX count %d
\n
"
,
i
,
ue
->
sldch_txcnt
[
i
]);
}
void
phy_procedures_UE_TX
(
PHY_VARS_UE
*
ue
,
UE_rxtx_proc_t
*
proc
,
uint8_t
eNB_id
,
uint8_t
abstraction_flag
,
runmode_t
mode
,
relaying_type_t
r_type
)
{
...
...
@@ -4789,7 +4791,7 @@ 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
"
,
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
]);
for
(
int
i
=
0
;
i
<
MAX_SLDCH
;
i
++
)
if
(
ue
->
sldch_rxcnt
[
i
]
>
0
)
LOG_I
(
PHY
,
"n_psdch %d
RX
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
,
...
...
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