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
3e357076
Commit
3e357076
authored
Jul 09, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loggin for SLCCH
parent
9200c7b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
openair1/PHY/LTE_TRANSPORT/slsch.c
openair1/PHY/LTE_TRANSPORT/slsch.c
+4
-4
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+2
-0
No files found.
openair1/PHY/LTE_TRANSPORT/slsch.c
View file @
3e357076
...
...
@@ -810,6 +810,7 @@ void pscch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
if
(
amod
<
(
slsch
->
N_SL_RB_SC
>>
1
))
nprb
=
slsch
->
prb_Start_SC
+
amod
;
else
nprb
=
slsch
->
prb_End_SC
-
(
slsch
->
N_SL_RB_SC
>>
1
)
+
amod
;
if
(
frame_rx
<
100
)
LOG_I
(
PHY
,
"%d.%d: Running pscch decoding slot %d, nprb %d, a %d, amod %d,N_SL_RB_SC %d
\n
"
,
frame_rx
,
subframe_rx
,
slot
,
nprb
,
a
,
amod
,
slsch
->
N_SL_RB_SC
);
// slot FEP
if
(
proc
->
sl_fep_done
==
0
)
{
RU_t
ru_tmp
;
...
...
@@ -1004,9 +1005,6 @@ void pscch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
// extract SCI bit fields
int
RAbits
=
length
-
32
;
#ifdef DEBUG_SCI_DECODING
printf
(
"sci %lx (%d bits) CRC res %d
\n
"
,
sci_rx_flip
,
length
,
res
);
#endif
if
(
res
==
0
)
{
ue
->
slsch_rx
.
freq_hopping_flag
=
(
sci_rx_flip
>>
63
)
&
1
;
...
...
@@ -1124,7 +1122,9 @@ void rx_slcch(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subframe_rx)
uint32_t
a2
=
a1
+
n_pscch
/
LPSCCH
+
(
M_RB_PSCCH_RP
>>
1
);
uint32_t
b1
=
n_pscch
%
LPSCCH
;
uint32_t
b2
=
(
n_pscch
+
1
+
(
a1
%
(
LPSCCH
-
1
)))
%
LPSCCH
;
if
(
frame_rx
<
100
)
LOG_I
(
PHY
,
"%d.%d: Checking n_pscch %d => a1 %d, a2 %d, b1 %d, b2 %d (LPSCCH %d, M_RB_PSCCH_RP %d)
\n
"
,
frame_rx
,
subframe_rx
,
n_pscch
,
a1
,
a2
,
b1
,
b2
,
LPSCCH
,
M_RB_PSCCH_RP
);
if
(
absSF_modP
==
b1
)
pscch_decoding
(
ue
,
proc
,
frame_rx
,
subframe_rx
,
a1
,
0
);
else
if
(
absSF_modP
==
b2
)
pscch_decoding
(
ue
,
proc
,
frame_rx
,
subframe_rx
,
a2
,
1
);
else
continue
;
...
...
openair1/SCHED/phy_procedures_lte_ue.c
View file @
3e357076
...
...
@@ -4796,6 +4796,8 @@ void phy_procedures_UE_SL_RX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc) {
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 RX count %d
\n
"
,
i
,
ue
->
sldch_rxcnt
[
i
]);
rx_slcch
(
ue
,
proc
,
frame_rx
,
subframe_rx
);
}
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