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
fbd0156a
Commit
fbd0156a
authored
May 20, 2020
by
masayuki.harada
Committed by
shono.takafumi
Nov 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pusch signal threshold to config file.
(cherry picked from commit 6f3d14e74663e75f2eaf3cd1c1348d5d028e3379)
parent
548eaae6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
openair1/PHY/defs_eNB.h
openair1/PHY/defs_eNB.h
+1
-0
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+1
-1
openair2/ENB_APP/L1_paramdef.h
openair2/ENB_APP/L1_paramdef.h
+4
-1
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+4
-0
No files found.
openair1/PHY/defs_eNB.h
View file @
fbd0156a
...
...
@@ -667,6 +667,7 @@ typedef struct PHY_VARS_eNB_s {
int32_t
pusch_stats_bsr
[
NUMBER_OF_UE_MAX
][
10240
];
int32_t
pusch_stats_BO
[
NUMBER_OF_UE_MAX
][
10240
];
uint8_t
*
FS6bufferZone
;
int32_t
pusch_signal_threshold
;
}
PHY_VARS_eNB
;
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
fbd0156a
...
...
@@ -1607,7 +1607,7 @@ void fill_rx_indication(PHY_VARS_eNB *eNB,
// estimate UL_CQI for MAC (from antenna port 0 only)
int
SNRtimes10
=
dB_fixed_times10
(
eNB
->
pusch_vars
[
UE_id
]
->
ulsch_power
[
0
])
-
dB_fixed_times10
(
eNB
->
pusch_vars
[
UE_id
]
->
ulsch_interference_power
[
0
]);
if
(
dB_fixed_times10
(
eNB
->
pusch_vars
[
UE_id
]
->
ulsch_power
[
0
])
>
500
)
{
if
(
dB_fixed_times10
(
eNB
->
pusch_vars
[
UE_id
]
->
ulsch_power
[
0
])
>
eNB
->
pusch_signal_threshold
)
{
SNRtimes10
=
300
;
}
...
...
openair2/ENB_APP/L1_paramdef.h
View file @
fbd0156a
...
...
@@ -61,6 +61,7 @@
#define CONFIG_STRING_L1_PRACH_DTX_EMTC3_THRESHOLD "prach_dtx_emtc3_threshold"
#define CONFIG_STRING_L1_PUCCH1_DTX_EMTC3_THRESHOLD "pucch1_dtx_emtc3_threshold"
#define CONFIG_STRING_L1_PUCCH1AB_DTX_EMTC3_THRESHOLD "pucch1ab_dtx_emtc3_threshold"
#define CONFIG_STRING_L1_PUSCH_SIGNAL_THRESHOLD "pusch_signal_threshold"
/*----------------------------------------------------------------------------------------------------------------------------------------------------*/
/* L1 configuration parameters */
/* optname helpstr paramflags XXXptr defXXXval type numelt */
...
...
@@ -89,7 +90,8 @@
{CONFIG_STRING_L1_PUCCH1AB_DTX_EMTC2_THRESHOLD, NULL, 0, iptr:NULL, defintval:4, TYPE_INT, 0}, \
{CONFIG_STRING_L1_PRACH_DTX_EMTC3_THRESHOLD, NULL, 0, iptr:NULL, defintval:200, TYPE_INT, 0}, \
{CONFIG_STRING_L1_PUCCH1_DTX_EMTC3_THRESHOLD, NULL, 0, iptr:NULL, defintval:0, TYPE_INT, 0}, \
{CONFIG_STRING_L1_PUCCH1AB_DTX_EMTC3_THRESHOLD, NULL, 0, iptr:NULL, defintval:4, TYPE_INT, 0} \
{CONFIG_STRING_L1_PUCCH1AB_DTX_EMTC3_THRESHOLD, NULL, 0, iptr:NULL, defintval:4, TYPE_INT, 0}, \
{CONFIG_STRING_L1_PUSCH_SIGNAL_THRESHOLD, NULL, 0, iptr:NULL, defintval:330, TYPE_INT, 0} \
}
#define L1_CC_IDX 0
#define L1_TRANSPORT_N_PREFERENCE_IDX 1
...
...
@@ -115,6 +117,7 @@
#define L1_PRACH_DTX_EMTC3_THRESHOLD_IDX 21
#define L1_PUCCH1_DTX_EMTC3_THRESHOLD_IDX 22
#define L1_PUCCH1AB_DTX_EMTC3_THRESHOLD_IDX 23
#define L1_PUSCH_SIGNAL_THRESHOLD_IDX 28
/*----------------------------------------------------------------------------------------------------------------------------------------------------*/
#endif
openair2/ENB_APP/enb_config.c
View file @
fbd0156a
...
...
@@ -170,6 +170,10 @@ void RCconfig_L1(void) {
RC
.
eNB
[
j
][
0
]
->
pucch1_DTX_threshold_emtc
[
ce_level
]
=
*
(
L1_ParamList
.
paramarray
[
j
][
L1_PUCCH1_DTX_EMTC0_THRESHOLD_IDX
+
ce_level
].
iptr
);
RC
.
eNB
[
j
][
0
]
->
pucch1ab_DTX_threshold_emtc
[
ce_level
]
=
*
(
L1_ParamList
.
paramarray
[
j
][
L1_PUCCH1AB_DTX_EMTC0_THRESHOLD_IDX
+
ce_level
].
iptr
);
}
RC
.
eNB
[
j
][
0
]
->
pusch_signal_threshold
=
*
(
L1_ParamList
.
paramarray
[
j
][
L1_PUSCH_SIGNAL_THRESHOLD_IDX
].
iptr
);
LOG_I
(
ENB_APP
,
"PUSCH singal threshold = %d
\n
"
,
RC
.
eNB
[
j
][
0
]
->
pusch_signal_threshold
);
}
// j=0..num_inst
LOG_I
(
ENB_APP
,
"Initializing northbound interface for L1
\n
"
);
...
...
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