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
f379f595
Commit
f379f595
authored
Jan 28, 2016
by
alexandr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Energy threshold changed/Debug messages enabled
parent
240560a6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
+2
-2
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+2
-3
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+2
-2
No files found.
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
View file @
f379f595
...
...
@@ -39,7 +39,7 @@
#define k1 ((long long int) 1000)
#define k2 ((long long int) (1024-k1))
//
#define DEBUG_MEAS
#define DEBUG_MEAS
#ifdef USER_MODE
void
print_shorts
(
char
*
s
,
short
*
x
)
...
...
@@ -276,7 +276,7 @@ void ue_rrc_measurements(PHY_VARS_UE *phy_vars_ue,
}
// recompute nushift with eNB_offset corresponding to adjacent eNB on which to perform channel estimation
// printf("[PHY][UE %d] Frame %d slot %d Doing ue_rrc_measurements rsrp/rssi (Nid_cell %d, Nid2 %d, nushift %d, eNB_offset %d)\n",phy_vars_ue->Mod_id,phy_vars_ue->frame,slot,Nid_cell,Nid2,nushift,eNB_offset);
if
(
eNB_offset
>
0
)
if
(
eNB_offset
>
0
)
Nid_cell
=
phy_vars_ue
->
PHY_measurements
.
adj_cell_id
[
eNB_offset
-
1
];
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
f379f595
...
...
@@ -49,7 +49,7 @@
#include "SCHED/phy_procedures_emos.h"
#endif
//
#define DEBUG_PHY_PROC (Already defined in cmake)
#define DEBUG_PHY_PROC (Already defined in cmake)
//#define DEBUG_ULSCH
//#ifdef OPENAIR2
...
...
@@ -296,7 +296,6 @@ int get_ue_active_harq_pid(const uint8_t Mod_id,const uint8_t CC_id,const uint16
return
(
0
);
}
int
CCE_table
[
800
];
void
init_nCCE_table
(
void
)
...
...
@@ -3132,7 +3131,7 @@ void prach_procedures(PHY_VARS_eNB *phy_vars_eNB,uint8_t sched_subframe,uint8_t
preamble_delay_list
[
preamble_max
]);
#endif
if
(
preamble_energy_list
[
preamble_max
]
>
580
)
{
if
(
preamble_energy_list
[
preamble_max
]
>
=
580
)
{
/*
write_output("prach_ifft0.m","prach_t0",prach_ifft[0],2048,1,1);
write_output("prach_rx0.m","prach_rx0",&phy_vars_eNB->lte_eNB_common_vars.rxdata[0][0][subframe*phy_vars_eNB->lte_frame_parms.samples_per_tti],6144+792,1,1);
...
...
openair1/SCHED/phy_procedures_lte_ue.c
View file @
f379f595
...
...
@@ -59,7 +59,7 @@ extern int card;
#endif
#endif
//
#define DEBUG_PHY_PROC
#define DEBUG_PHY_PROC
#define UE_TX_POWER (-10)
//#ifdef OPENAIR2
...
...
@@ -2062,7 +2062,7 @@ int lte_ue_pdcch_procedures(uint8_t eNB_id,PHY_VARS_UE *phy_vars_ue,uint8_t abst
#endif
#ifdef DEBUG_PHY_PROC
LOG_D
(
PHY
,
"[UE %d
] Frame %d, slot %d, Mode %s: DCI found %i
\n
"
,
phy_vars_ue
->
Mod_id
,
frame_rx
,
slot_rx
,
mode_string
[
phy_vars_ue
->
UE_mode
[
eNB_id
]],
dci_cnt
);
LOG_D
(
PHY
,
"[UE %d
/%d] Frame %d, slot %d, Mode %s: DCI found %i
\n
"
,
phy_vars_ue
->
Mod_id
,
phy_vars_ue
->
lte_frame_parms
.
Nid_cell
,
frame_rx
,
slot_rx
,
mode_string
[
phy_vars_ue
->
UE_mode
[
eNB_id
]],
dci_cnt
);
#endif
phy_vars_ue
->
lte_ue_pdcch_vars
[
eNB_id
]
->
dci_received
+=
dci_cnt
;
...
...
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