Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
0e7664ed
Commit
0e7664ed
authored
Mar 01, 2016
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into hotfix-phy_tools
parents
a64b8a24
5c30bfc1
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
1881 additions
and
48 deletions
+1881
-48
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+6
-6
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+1
-1
targets/ARCH/BLADERF/USERSPACE/LIB/bladerf_lib.c
targets/ARCH/BLADERF/USERSPACE/LIB/bladerf_lib.c
+18
-19
targets/ARCH/LMSSDR/enb_sodera_lowband_Wrx_10MHz_rx19dB_txfull.ini
...RCH/LMSSDR/enb_sodera_lowband_Wrx_10MHz_rx19dB_txfull.ini
+1128
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.lmssdr.conf
...CTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.lmssdr.conf
+171
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.lmssdr.conf
.../PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.lmssdr.conf
+171
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.rrh.usrpb210.conf
...CTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.rrh.usrpb210.conf
+190
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.usrpb210.conf
...ROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.usrpb210.conf
+171
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.lmssdr.conf
...ECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.lmssdr.conf
+2
-2
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.rrh.usrpb210.conf
...ENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.rrh.usrpb210.conf
+1
-3
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.rrh.usrpb210.conf
...ECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.rrh.usrpb210.conf
+6
-7
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf
...PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf
+5
-5
targets/RT/USER/rrh_gw.c
targets/RT/USER/rrh_gw.c
+11
-5
No files found.
openair1/SCHED/phy_procedures_lte_ue.c
View file @
0e7664ed
...
...
@@ -2678,18 +2678,18 @@ int phy_procedures_UE_RX(PHY_VARS_UE *phy_vars_ue,uint8_t eNB_id,uint8_t abstrac
if
(
ret
==
(
1
+
phy_vars_ue
->
dlsch_ue
[
eNB_id
][
0
]
->
max_turbo_iterations
))
{
phy_vars_ue
->
dlsch_errors
[
eNB_id
]
++
;
//
#ifdef DEBUG_PHY_PROC
#ifdef DEBUG_PHY_PROC
LOG_D
(
PHY
,
"[UE %d][PDSCH %x/%d] Frame %d subframe %d DLSCH in error (rv %d,mcs %d,TBS %d)
\n
"
,
phy_vars_ue
->
Mod_id
,
phy_vars_ue
->
dlsch_ue
[
eNB_id
][
0
]
->
rnti
,
harq_pid
,
frame_rx
,
subframe_prev
,
phy_vars_ue
->
dlsch_ue
[
eNB_id
][
0
]
->
harq_processes
[
harq_pid
]
->
rvidx
,
phy_vars_ue
->
dlsch_ue
[
eNB_id
][
0
]
->
harq_processes
[
harq_pid
]
->
mcs
,
phy_vars_ue
->
dlsch_ue
[
eNB_id
][
0
]
->
harq_processes
[
harq_pid
]
->
TBS
);
//
if (abstraction_flag ==0 )
dump_dlsch
(
phy_vars_ue
,
eNB_id
,
subframe_prev
,
harq_pid
);
mac_xface
->
macphy_exit
(
""
);
//
#endif
/*
if (abstraction_flag ==0 )
dump_dlsch(phy_vars_ue,eNB_id,subframe_prev,harq_pid);
mac_xface->macphy_exit("");
*/
#endif
}
else
{
LOG_D
(
PHY
,
"[UE %d][PDSCH %x/%d] Frame %d subframe %d (slot_rx %d): Received DLSCH (rv %d,mcs %d,TBS %d)
\n
"
,
phy_vars_ue
->
Mod_id
,
phy_vars_ue
->
dlsch_ue
[
eNB_id
][
0
]
->
rnti
,
...
...
openair2/ENB_APP/enb_config.c
View file @
0e7664ed
...
...
@@ -1019,7 +1019,7 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP)
enb_properties
.
properties
[
enb_properties_index
]
->
prach_zero_correlation
[
j
]
=
prach_zero_correlation
;
if
((
prach_zero_correlation
<
0
)
||
(
prach_zero_correlation
>
63
))
if
((
prach_zero_correlation
<
0
)
||
(
prach_zero_correlation
>
15
))
AssertError
(
0
,
parse_errors
++
,
"Failed to parse eNB configuration file %s, enb %d unknown value
\"
%d
\"
for prach_zero_correlation choice: 0..15!
\n
"
,
lib_config_file_name_pP
,
i
,
prach_zero_correlation
);
...
...
targets/ARCH/BLADERF/USERSPACE/LIB/bladerf_lib.c
View file @
0e7664ed
...
...
@@ -412,7 +412,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_TX
,
BLADERF_CORR_LMS_DCOFF_I
,
offIold
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
for
(
meanIold
=
meanQold
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
switch
(
i
&
3
)
{
...
...
@@ -438,7 +438,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_TX
,
BLADERF_CORR_LMS_DCOFF_I
,
offI
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
switch
(
i
&
3
)
{
...
...
@@ -474,7 +474,7 @@ void calibrate_rf(openair0_device *device) {
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
switch
(
i
&
3
)
{
...
...
@@ -503,7 +503,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_TX
,
BLADERF_CORR_LMS_DCOFF_Q
,
offQold
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on fs/4
for
(
meanIold
=
meanQold
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -530,7 +530,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_TX
,
BLADERF_CORR_LMS_DCOFF_Q
,
offQ
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
switch
(
i
&
3
)
{
...
...
@@ -568,7 +568,7 @@ void calibrate_rf(openair0_device *device) {
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
switch
(
i
&
3
)
{
...
...
@@ -601,7 +601,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_TX
,
BLADERF_CORR_FPGA_PHASE
,
offphaseold
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on fs/8 (Image of TX signal in +ve frequencies)
for
(
meanIold
=
meanQold
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -618,7 +618,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_TX
,
BLADERF_CORR_FPGA_PHASE
,
offphase
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on fs/8 (Image of TX signal in +ve frequencies)
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -648,7 +648,7 @@ void calibrate_rf(openair0_device *device) {
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on fs/8 (Image of TX signal in +ve frequencies)
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -670,7 +670,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_TX
,
BLADERF_CORR_FPGA_GAIN
,
offgainold
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on fs/8 (Image of TX signal in +ve frequencies)
for
(
meanIold
=
meanQold
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -687,7 +687,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_TX
,
BLADERF_CORR_FPGA_GAIN
,
offgain
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on fs/8 (Image of TX signal in +ve frequencies)
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -716,7 +716,7 @@ void calibrate_rf(openair0_device *device) {
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on fs/8 (Image of TX signal in +ve frequencies)
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -741,7 +741,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_RX
,
BLADERF_CORR_FPGA_PHASE
,
offphaseold
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on -3fs/8 (Image of TX signal in -ve frequencies)
for
(
meanIold
=
meanQold
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -758,7 +758,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_RX
,
BLADERF_CORR_FPGA_PHASE
,
offphase
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on -3fs/8 (Image of TX signal in -ve frequencies)
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -788,7 +788,7 @@ void calibrate_rf(openair0_device *device) {
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on -3fs/8 (Image of TX signal in -ve frequencies)
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -810,7 +810,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_RX
,
BLADERF_CORR_FPGA_GAIN
,
offgainold
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on -3fs/8 (Image of TX signal in +ve frequencies)
for
(
meanIold
=
meanQold
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -827,7 +827,7 @@ void calibrate_rf(openair0_device *device) {
bladerf_set_correction
(
brf
->
dev
,
BLADERF_MODULE_RX
,
BLADERF_CORR_FPGA_GAIN
,
offgain
);
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on 3fs/8 (Image of TX signal in -ve frequencies)
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -856,7 +856,7 @@ void calibrate_rf(openair0_device *device) {
for
(
i
=
0
;
i
<
10
;
i
++
)
{
trx_brf_read
(
device
,
&
ptimestamp
,
(
void
**
)
&
calib_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
);
trx_brf_write
(
device
,
ptimestamp
+
5
*
RXDCLENGTH
,
(
void
**
)
&
calib_tx_buffp
,
RXDCLENGTH
,
0
,
0
);
}
// project on -3fs/8 (Image of TX signal in -ve frequencies)
for
(
meanI
=
meanQ
=
i
=
j
=
0
;
i
<
RXDCLENGTH
;
i
++
)
{
...
...
@@ -1068,7 +1068,6 @@ int device_init(openair0_device *device, openair0_config_t *openair0_cfg) {
bladerf_log_set_verbosity
(
get_brf_log_level
(
openair0_cfg
->
log_level
));
printf
(
"BLADERF: Initializing openair0_device
\n
"
);
device
->
priv
=
brf
;
device
->
Mod_id
=
num_devices
++
;
device
->
type
=
BLADERF_DEV
;
device
->
trx_start_func
=
trx_brf_start
;
...
...
targets/ARCH/LMSSDR/enb_sodera_lowband_Wrx_10MHz_rx19dB_txfull.ini
0 → 100644
View file @
0e7664ed
This diff is collapsed.
Click to expand it.
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.lmssdr.conf
0 → 100644
View file @
0e7664ed
Active_eNBs
= (
"eNB_Eurecom_LTEBox"
);
# Asn1_verbosity, choice in: none, info, annoying
Asn1_verbosity
=
"none"
;
eNBs
=
(
{
//////////
Identification
parameters
:
eNB_ID
=
0
xe00
;
cell_type
=
"CELL_MACRO_ENB"
;
eNB_name
=
"eNB_Eurecom_LTEBox"
;
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
tracking_area_code
=
"1"
;
mobile_country_code
=
"208"
;
mobile_network_code
=
"95"
;
//////////
Physical
parameters
:
component_carriers
= (
{
frame_type
=
"FDD"
;
tdd_config
=
3
;
tdd_config_s
=
0
;
prefix_type
=
"NORMAL"
;
eutra_band
=
13
;
downlink_frequency
=
751000000
L
;
uplink_frequency_offset
=
31000000
;
Nid_cell
=
0
;
N_RB_DL
=
50
;
Nid_cell_mbsfn
=
0
;
nb_antennas_tx
=
1
;
nb_antennas_rx
=
1
;
tx_gain
=
90
;
rx_gain
=
125
;
prach_root
=
0
;
prach_config_index
=
0
;
prach_high_speed
=
"DISABLE"
;
prach_zero_correlation
=
1
;
prach_freq_offset
=
2
;
pucch_delta_shift
=
1
;
pucch_nRB_CQI
=
1
;
pucch_nCS_AN
=
0
;
pucch_n1_AN
=
32
;
pdsch_referenceSignalPower
= -
20
;
pdsch_p_b
=
0
;
pusch_n_SB
=
1
;
pusch_enable64QAM
=
"DISABLE"
;
pusch_hoppingMode
=
"interSubFrame"
;
pusch_hoppingOffset
=
0
;
pusch_groupHoppingEnabled
=
"ENABLE"
;
pusch_groupAssignment
=
0
;
pusch_sequenceHoppingEnabled
=
"DISABLE"
;
pusch_nDMRS1
=
1
;
phich_duration
=
"NORMAL"
;
phich_resource
=
"ONESIXTH"
;
srs_enable
=
"DISABLE"
;
/*
srs_BandwidthConfig
=;
srs_SubframeConfig
=;
srs_ackNackST
=;
srs_MaxUpPts
=;*/
pusch_p0_Nominal
= -
90
;
pusch_alpha
=
"AL1"
;
pucch_p0_Nominal
= -
96
;
msg3_delta_Preamble
=
6
;
pucch_deltaF_Format1
=
"deltaF2"
;
pucch_deltaF_Format1b
=
"deltaF3"
;
pucch_deltaF_Format2
=
"deltaF0"
;
pucch_deltaF_Format2a
=
"deltaF0"
;
pucch_deltaF_Format2b
=
"deltaF0"
;
rach_numberOfRA_Preambles
=
64
;
rach_preamblesGroupAConfig
=
"DISABLE"
;
/*
rach_sizeOfRA_PreamblesGroupA
= ;
rach_messageSizeGroupA
= ;
rach_messagePowerOffsetGroupB
= ;
*/
rach_powerRampingStep
=
4
;
rach_preambleInitialReceivedTargetPower
= -
108
;
rach_preambleTransMax
=
10
;
rach_raResponseWindowSize
=
10
;
rach_macContentionResolutionTimer
=
48
;
rach_maxHARQ_Msg3Tx
=
4
;
pcch_default_PagingCycle
=
128
;
pcch_nB
=
"oneT"
;
bcch_modificationPeriodCoeff
=
2
;
ue_TimersAndConstants_t300
=
1000
;
ue_TimersAndConstants_t301
=
1000
;
ue_TimersAndConstants_t310
=
1000
;
ue_TimersAndConstants_t311
=
10000
;
ue_TimersAndConstants_n310
=
20
;
ue_TimersAndConstants_n311
=
1
;
}
);
srb1_parameters
:
{
# timer_poll_retransmit = (ms) [5, 10, 15, 20,... 250, 300, 350, ... 500]
timer_poll_retransmit
=
80
;
# timer_reordering = (ms) [0,5, ... 100, 110, 120, ... ,200]
timer_reordering
=
35
;
# timer_reordering = (ms) [0,5, ... 250, 300, 350, ... ,500]
timer_status_prohibit
=
0
;
# poll_pdu = [4, 8, 16, 32 , 64, 128, 256, infinity(>10000)]
poll_pdu
=
4
;
# poll_byte = (kB) [25,50,75,100,125,250,375,500,750,1000,1250,1500,2000,3000,infinity(>10000)]
poll_byte
=
99999
;
# max_retx_threshold = [1, 2, 3, 4 , 6, 8, 16, 32]
max_retx_threshold
=
4
;
}
# ------- SCTP definitions
SCTP
:
{
# Number of streams to use in input/output
SCTP_INSTREAMS
=
2
;
SCTP_OUTSTREAMS
=
2
;
};
//////////
MME
parameters
:
mme_ip_address
= ( {
ipv4
=
"192.168.12.62"
;
ipv6
=
"192:168:30::17"
;
active
=
"yes"
;
preference
=
"ipv4"
;
}
);
NETWORK_INTERFACES
:
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth4"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.242/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth4"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.242/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
log_config
:
{
global_log_level
=
"info"
;
global_log_verbosity
=
"medium"
;
hw_log_level
=
"info"
;
hw_log_verbosity
=
"medium"
;
phy_log_level
=
"info"
;
phy_log_verbosity
=
"medium"
;
mac_log_level
=
"info"
;
mac_log_verbosity
=
"high"
;
rlc_log_level
=
"info"
;
rlc_log_verbosity
=
"medium"
;
pdcp_log_level
=
"info"
;
pdcp_log_verbosity
=
"medium"
;
rrc_log_level
=
"info"
;
rrc_log_verbosity
=
"medium"
;
};
}
);
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.lmssdr.conf
0 → 100644
View file @
0e7664ed
Active_eNBs
= (
"eNB_Eurecom_LTEBox"
);
# Asn1_verbosity, choice in: none, info, annoying
Asn1_verbosity
=
"none"
;
eNBs
=
(
{
//////////
Identification
parameters
:
eNB_ID
=
0
xe00
;
cell_type
=
"CELL_MACRO_ENB"
;
eNB_name
=
"eNB_Eurecom_LTEBox"
;
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
tracking_area_code
=
"1"
;
mobile_country_code
=
"208"
;
mobile_network_code
=
"95"
;
//////////
Physical
parameters
:
component_carriers
= (
{
frame_type
=
"FDD"
;
tdd_config
=
3
;
tdd_config_s
=
0
;
prefix_type
=
"NORMAL"
;
eutra_band
=
13
;
downlink_frequency
=
751000000
L
;
uplink_frequency_offset
=
31000000
;
Nid_cell
=
0
;
N_RB_DL
=
25
;
Nid_cell_mbsfn
=
0
;
nb_antennas_tx
=
1
;
nb_antennas_rx
=
1
;
tx_gain
=
90
;
rx_gain
=
125
;
prach_root
=
0
;
prach_config_index
=
0
;
prach_high_speed
=
"DISABLE"
;
prach_zero_correlation
=
1
;
prach_freq_offset
=
2
;
pucch_delta_shift
=
1
;
pucch_nRB_CQI
=
1
;
pucch_nCS_AN
=
0
;
pucch_n1_AN
=
32
;
pdsch_referenceSignalPower
= -
17
;
pdsch_p_b
=
0
;
pusch_n_SB
=
1
;
pusch_enable64QAM
=
"DISABLE"
;
pusch_hoppingMode
=
"interSubFrame"
;
pusch_hoppingOffset
=
0
;
pusch_groupHoppingEnabled
=
"ENABLE"
;
pusch_groupAssignment
=
0
;
pusch_sequenceHoppingEnabled
=
"DISABLE"
;
pusch_nDMRS1
=
1
;
phich_duration
=
"NORMAL"
;
phich_resource
=
"ONESIXTH"
;
srs_enable
=
"DISABLE"
;
/*
srs_BandwidthConfig
=;
srs_SubframeConfig
=;
srs_ackNackST
=;
srs_MaxUpPts
=;*/
pusch_p0_Nominal
= -
90
;
pusch_alpha
=
"AL1"
;
pucch_p0_Nominal
= -
96
;
msg3_delta_Preamble
=
6
;
pucch_deltaF_Format1
=
"deltaF2"
;
pucch_deltaF_Format1b
=
"deltaF3"
;
pucch_deltaF_Format2
=
"deltaF0"
;
pucch_deltaF_Format2a
=
"deltaF0"
;
pucch_deltaF_Format2b
=
"deltaF0"
;
rach_numberOfRA_Preambles
=
64
;
rach_preamblesGroupAConfig
=
"DISABLE"
;
/*
rach_sizeOfRA_PreamblesGroupA
= ;
rach_messageSizeGroupA
= ;
rach_messagePowerOffsetGroupB
= ;
*/
rach_powerRampingStep
=
4
;
rach_preambleInitialReceivedTargetPower
= -
108
;
rach_preambleTransMax
=
10
;
rach_raResponseWindowSize
=
10
;
rach_macContentionResolutionTimer
=
48
;
rach_maxHARQ_Msg3Tx
=
4
;
pcch_default_PagingCycle
=
128
;
pcch_nB
=
"oneT"
;
bcch_modificationPeriodCoeff
=
2
;
ue_TimersAndConstants_t300
=
1000
;
ue_TimersAndConstants_t301
=
1000
;
ue_TimersAndConstants_t310
=
1000
;
ue_TimersAndConstants_t311
=
10000
;
ue_TimersAndConstants_n310
=
20
;
ue_TimersAndConstants_n311
=
1
;
}
);
srb1_parameters
:
{
# timer_poll_retransmit = (ms) [5, 10, 15, 20,... 250, 300, 350, ... 500]
timer_poll_retransmit
=
80
;
# timer_reordering = (ms) [0,5, ... 100, 110, 120, ... ,200]
timer_reordering
=
35
;
# timer_reordering = (ms) [0,5, ... 250, 300, 350, ... ,500]
timer_status_prohibit
=
0
;
# poll_pdu = [4, 8, 16, 32 , 64, 128, 256, infinity(>10000)]
poll_pdu
=
4
;
# poll_byte = (kB) [25,50,75,100,125,250,375,500,750,1000,1250,1500,2000,3000,infinity(>10000)]
poll_byte
=
99999
;
# max_retx_threshold = [1, 2, 3, 4 , 6, 8, 16, 32]
max_retx_threshold
=
4
;
}
# ------- SCTP definitions
SCTP
:
{
# Number of streams to use in input/output
SCTP_INSTREAMS
=
2
;
SCTP_OUTSTREAMS
=
2
;
};
//////////
MME
parameters
:
mme_ip_address
= ( {
ipv4
=
"192.168.12.62"
;
ipv6
=
"192:168:30::17"
;
active
=
"yes"
;
preference
=
"ipv4"
;
}
);
NETWORK_INTERFACES
:
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth4"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.242/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth4"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.242/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
log_config
:
{
global_log_level
=
"info"
;
global_log_verbosity
=
"medium"
;
hw_log_level
=
"info"
;
hw_log_verbosity
=
"medium"
;
phy_log_level
=
"info"
;
phy_log_verbosity
=
"medium"
;
mac_log_level
=
"info"
;
mac_log_verbosity
=
"high"
;
rlc_log_level
=
"info"
;
rlc_log_verbosity
=
"medium"
;
pdcp_log_level
=
"info"
;
pdcp_log_verbosity
=
"medium"
;
rrc_log_level
=
"info"
;
rrc_log_verbosity
=
"medium"
;
};
}
);
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.rrh.usrpb210.conf
0 → 100644
View file @
0e7664ed
Active_eNBs
= (
"eNB_Eurecom_LTEBox"
);
# Asn1_verbosity, choice in: none, info, annoying
Asn1_verbosity
=
"none"
;
eNBs
=
(
{
//////////
Identification
parameters
:
eNB_ID
=
0
xe00
;
cell_type
=
"CELL_MACRO_ENB"
;
eNB_name
=
"eNB_Eurecom_LTEBox"
;
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
tracking_area_code
=
"1"
;
mobile_country_code
=
"208"
;
mobile_network_code
=
"95"
;
//////////
Physical
parameters
:
component_carriers
= (
{
frame_type
=
"FDD"
;
tdd_config
=
3
;
tdd_config_s
=
0
;
prefix_type
=
"NORMAL"
;
eutra_band
=
13
;
downlink_frequency
=
751000000
L
;
uplink_frequency_offset
=
31000000
;
Nid_cell
=
0
;
N_RB_DL
=
25
;
Nid_cell_mbsfn
=
0
;
nb_antennas_tx
=
1
;
nb_antennas_rx
=
1
;
tx_gain
=
90
;
rx_gain
=
100
;
prach_root
=
0
;
prach_config_index
=
0
;
prach_high_speed
=
"DISABLE"
;
prach_zero_correlation
=
1
;
prach_freq_offset
=
2
;
pucch_delta_shift
=
1
;
pucch_nRB_CQI
=
1
;
pucch_nCS_AN
=
0
;
pucch_n1_AN
=
32
;
pdsch_referenceSignalPower
= -
15
;
pdsch_p_b
=
0
;
pusch_n_SB
=
1
;
pusch_enable64QAM
=
"DISABLE"
;
pusch_hoppingMode
=
"interSubFrame"
;
pusch_hoppingOffset
=
0
;
pusch_groupHoppingEnabled
=
"ENABLE"
;
pusch_groupAssignment
=
0
;
pusch_sequenceHoppingEnabled
=
"DISABLE"
;
pusch_nDMRS1
=
1
;
phich_duration
=
"NORMAL"
;
phich_resource
=
"ONESIXTH"
;
srs_enable
=
"DISABLE"
;
/*
srs_BandwidthConfig
=;
srs_SubframeConfig
=;
srs_ackNackST
=;
srs_MaxUpPts
=;*/
pusch_p0_Nominal
= -
86
;
pusch_alpha
=
"AL1"
;
pucch_p0_Nominal
= -
96
;
msg3_delta_Preamble
=
6
;
pucch_deltaF_Format1
=
"deltaF2"
;
pucch_deltaF_Format1b
=
"deltaF3"
;
pucch_deltaF_Format2
=
"deltaF0"
;
pucch_deltaF_Format2a
=
"deltaF0"
;
pucch_deltaF_Format2b
=
"deltaF0"
;
rach_numberOfRA_Preambles
=
64
;
rach_preamblesGroupAConfig
=
"DISABLE"
;
/*
rach_sizeOfRA_PreamblesGroupA
= ;
rach_messageSizeGroupA
= ;
rach_messagePowerOffsetGroupB
= ;
*/
rach_powerRampingStep
=
4
;
rach_preambleInitialReceivedTargetPower
= -
108
;
rach_preambleTransMax
=
10
;
rach_raResponseWindowSize
=
10
;
rach_macContentionResolutionTimer
=
48
;
rach_maxHARQ_Msg3Tx
=
4
;
pcch_default_PagingCycle
=
128
;
pcch_nB
=
"oneT"
;
bcch_modificationPeriodCoeff
=
2
;
ue_TimersAndConstants_t300
=
1000
;
ue_TimersAndConstants_t301
=
1000
;
ue_TimersAndConstants_t310
=
1000
;
ue_TimersAndConstants_t311
=
10000
;
ue_TimersAndConstants_n310
=
20
;
ue_TimersAndConstants_n311
=
1
;
}
);
srb1_parameters
:
{
# timer_poll_retransmit = (ms) [5, 10, 15, 20,... 250, 300, 350, ... 500]
timer_poll_retransmit
=
80
;
# timer_reordering = (ms) [0,5, ... 100, 110, 120, ... ,200]
timer_reordering
=
35
;
# timer_reordering = (ms) [0,5, ... 250, 300, 350, ... ,500]
timer_status_prohibit
=
0
;
# poll_pdu = [4, 8, 16, 32 , 64, 128, 256, infinity(>10000)]
poll_pdu
=
4
;
# poll_byte = (kB) [25,50,75,100,125,250,375,500,750,1000,1250,1500,2000,3000,infinity(>10000)]
poll_byte
=
99999
;
# max_retx_threshold = [1, 2, 3, 4 , 6, 8, 16, 32]
max_retx_threshold
=
4
;
}
# ------- SCTP definitions
SCTP
:
{
# Number of streams to use in input/output
SCTP_INSTREAMS
=
2
;
SCTP_OUTSTREAMS
=
2
;
};
//////////
MME
parameters
:
mme_ip_address
= ( {
ipv4
=
"192.168.12.62"
;
ipv6
=
"192:168:30::17"
;
active
=
"yes"
;
preference
=
"ipv4"
;
}
);
rrh_gw_config
= (
{
local_if_name
=
"eth0"
;
#remote_address = "169.254.10.158";
#local_address = "169.254.8.15";
remote_address
=
"74:d4:35:cc:88:45"
;
local_address
=
"98:90:96:df:66:07"
;
local_port
=
50000
;
#for raw option local port must be the same to remote
remote_port
=
50000
;
rrh_gw_active
=
"yes"
;
tr_preference
=
"raw"
;
rf_preference
=
"usrp_b200"
;
iq_txshift
=
5
;
tx_sample_advance
=
70
;
tx_scheduling_advance
=
9
;
}
);
NETWORK_INTERFACES
:
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth4"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.242/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth4"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.242/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
log_config
:
{
global_log_level
=
"info"
;
global_log_verbosity
=
"medium"
;
hw_log_level
=
"info"
;
hw_log_verbosity
=
"medium"
;
phy_log_level
=
"info"
;
phy_log_verbosity
=
"medium"
;
mac_log_level
=
"info"
;
mac_log_verbosity
=
"high"
;
rlc_log_level
=
"info"
;
rlc_log_verbosity
=
"medium"
;
pdcp_log_level
=
"info"
;
pdcp_log_verbosity
=
"medium"
;
rrc_log_level
=
"info"
;
rrc_log_verbosity
=
"medium"
;
};
}
);
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.usrpb210.conf
0 → 100644
View file @
0e7664ed
Active_eNBs
= (
"eNB_Eurecom_LTEBox"
);
# Asn1_verbosity, choice in: none, info, annoying
Asn1_verbosity
=
"none"
;
eNBs
=
(
{
//////////
Identification
parameters
:
eNB_ID
=
0
xe00
;
cell_type
=
"CELL_MACRO_ENB"
;
eNB_name
=
"eNB_Eurecom_LTEBox"
;
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
tracking_area_code
=
"1"
;
mobile_country_code
=
"208"
;
mobile_network_code
=
"95"
;
//////////
Physical
parameters
:
component_carriers
= (
{
frame_type
=
"FDD"
;
tdd_config
=
3
;
tdd_config_s
=
0
;
prefix_type
=
"NORMAL"
;
eutra_band
=
13
;
downlink_frequency
=
751000000
L
;
uplink_frequency_offset
=
31000000
;
Nid_cell
=
0
;
N_RB_DL
=
50
;
Nid_cell_mbsfn
=
0
;
nb_antennas_tx
=
1
;
nb_antennas_rx
=
1
;
tx_gain
=
90
;
rx_gain
=
110
;
prach_root
=
0
;
prach_config_index
=
0
;
prach_high_speed
=
"DISABLE"
;
prach_zero_correlation
=
1
;
prach_freq_offset
=
2
;
pucch_delta_shift
=
1
;
pucch_nRB_CQI
=
1
;
pucch_nCS_AN
=
0
;
pucch_n1_AN
=
32
;
pdsch_referenceSignalPower
= -
15
;
pdsch_p_b
=
0
;
pusch_n_SB
=
1
;
pusch_enable64QAM
=
"DISABLE"
;
pusch_hoppingMode
=
"interSubFrame"
;
pusch_hoppingOffset
=
0
;
pusch_groupHoppingEnabled
=
"ENABLE"
;
pusch_groupAssignment
=
0
;
pusch_sequenceHoppingEnabled
=
"DISABLE"
;
pusch_nDMRS1
=
1
;
phich_duration
=
"NORMAL"
;
phich_resource
=
"ONESIXTH"
;
srs_enable
=
"DISABLE"
;
/*
srs_BandwidthConfig
=;
srs_SubframeConfig
=;
srs_ackNackST
=;
srs_MaxUpPts
=;*/
pusch_p0_Nominal
= -
90
;
pusch_alpha
=
"AL1"
;
pucch_p0_Nominal
= -
96
;
msg3_delta_Preamble
=
6
;
pucch_deltaF_Format1
=
"deltaF2"
;
pucch_deltaF_Format1b
=
"deltaF3"
;
pucch_deltaF_Format2
=
"deltaF0"
;
pucch_deltaF_Format2a
=
"deltaF0"
;
pucch_deltaF_Format2b
=
"deltaF0"
;
rach_numberOfRA_Preambles
=
64
;
rach_preamblesGroupAConfig
=
"DISABLE"
;
/*
rach_sizeOfRA_PreamblesGroupA
= ;
rach_messageSizeGroupA
= ;
rach_messagePowerOffsetGroupB
= ;
*/
rach_powerRampingStep
=
4
;
rach_preambleInitialReceivedTargetPower
= -
100
;
rach_preambleTransMax
=
10
;
rach_raResponseWindowSize
=
10
;
rach_macContentionResolutionTimer
=
48
;
rach_maxHARQ_Msg3Tx
=
4
;
pcch_default_PagingCycle
=
128
;
pcch_nB
=
"oneT"
;
bcch_modificationPeriodCoeff
=
2
;
ue_TimersAndConstants_t300
=
1000
;
ue_TimersAndConstants_t301
=
1000
;
ue_TimersAndConstants_t310
=
1000
;
ue_TimersAndConstants_t311
=
10000
;
ue_TimersAndConstants_n310
=
20
;
ue_TimersAndConstants_n311
=
1
;
}
);
srb1_parameters
:
{
# timer_poll_retransmit = (ms) [5, 10, 15, 20,... 250, 300, 350, ... 500]
timer_poll_retransmit
=
80
;
# timer_reordering = (ms) [0,5, ... 100, 110, 120, ... ,200]
timer_reordering
=
35
;
# timer_reordering = (ms) [0,5, ... 250, 300, 350, ... ,500]
timer_status_prohibit
=
0
;
# poll_pdu = [4, 8, 16, 32 , 64, 128, 256, infinity(>10000)]
poll_pdu
=
4
;
# poll_byte = (kB) [25,50,75,100,125,250,375,500,750,1000,1250,1500,2000,3000,infinity(>10000)]
poll_byte
=
99999
;
# max_retx_threshold = [1, 2, 3, 4 , 6, 8, 16, 32]
max_retx_threshold
=
4
;
}
# ------- SCTP definitions
SCTP
:
{
# Number of streams to use in input/output
SCTP_INSTREAMS
=
2
;
SCTP_OUTSTREAMS
=
2
;
};
//////////
MME
parameters
:
mme_ip_address
= ( {
ipv4
=
"172.27.8.52"
;
ipv6
=
"192:168:30::17"
;
active
=
"yes"
;
preference
=
"ipv4"
;
}
);
NETWORK_INTERFACES
:
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"172.27.8.51/23"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"172.27.8.51/23"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
log_config
:
{
global_log_level
=
"info"
;
global_log_verbosity
=
"medium"
;
hw_log_level
=
"info"
;
hw_log_verbosity
=
"medium"
;
phy_log_level
=
"info"
;
phy_log_verbosity
=
"medium"
;
mac_log_level
=
"info"
;
mac_log_verbosity
=
"high"
;
rlc_log_level
=
"info"
;
rlc_log_verbosity
=
"medium"
;
pdcp_log_level
=
"info"
;
pdcp_log_verbosity
=
"medium"
;
rrc_log_level
=
"info"
;
rrc_log_verbosity
=
"medium"
;
};
}
);
\ No newline at end of file
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.lmssdr.conf
View file @
0e7664ed
...
...
@@ -17,7 +17,7 @@ eNBs =
mobile_country_code
=
"208"
;
mobile_network_code
=
"9
3
"
;
mobile_network_code
=
"9
5
"
;
//////////
Physical
parameters
:
...
...
@@ -132,7 +132,7 @@ eNBs =
};
//////////
MME
parameters
:
mme_ip_address
= ( {
ipv4
=
"192.168.12.
171
"
;
mme_ip_address
= ( {
ipv4
=
"192.168.12.
62
"
;
ipv6
=
"192:168:30::17"
;
active
=
"yes"
;
preference
=
"ipv4"
;
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.rrh.usrpb210.conf
View file @
0e7664ed
...
...
@@ -150,7 +150,7 @@ rrh_gw_config = (
rrh_gw_active
=
"yes"
;
tr_preference
=
"raw"
;
rf_preference
=
"usrp_b200"
;
iq_txshift
=
5
;
iq_txshift
=
4
;
tx_sample_advance
=
113
;
tx_scheduling_advance
=
9
;
...
...
@@ -163,8 +163,6 @@ rrh_gw_config = (
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.111/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth4"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.111/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.rrh.usrpb210.conf
View file @
0e7664ed
...
...
@@ -133,7 +133,7 @@ eNBs =
//////////
MME
parameters
:
mme_ip_address
= ( {
ipv4
=
"192.168.12.
26
"
;
mme_ip_address
= ( {
ipv4
=
"192.168.12.
170
"
;
ipv6
=
"192:168:30::17"
;
active
=
"yes"
;
preference
=
"ipv4"
;
...
...
@@ -145,14 +145,14 @@ rrh_gw_config = (
local_if_name
=
"eth0"
;
#remote_address = "169.254.10.158";
#local_address = "169.254.8.15";
remote_address
=
"74:d4:35:cc:88:
45
"
;
local_address
=
"
98:90:96:df:66:07
"
;
remote_address
=
"74:d4:35:cc:88:
e3
"
;
local_address
=
"
74:d4:35:cc:88:d1
"
;
local_port
=
50000
;
#for raw option local port must be the same to remote
remote_port
=
50000
;
rrh_gw_active
=
"yes"
;
tr_preference
=
"raw"
;
rf_preference
=
"usrp_b200"
;
iq_txshift
=
5
;
iq_txshift
=
4
;
tx_sample_advance
=
70
;
tx_scheduling_advance
=
9
;
...
...
@@ -162,12 +162,11 @@ rrh_gw_config = (
NETWORK_INTERFACES
:
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth4"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.
111
/24"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.
240
/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth4"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.111/24"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.240/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf
View file @
0e7664ed
...
...
@@ -17,7 +17,7 @@ eNBs =
mobile_country_code
=
"208"
;
mobile_network_code
=
"9
3
"
;
mobile_network_code
=
"9
5
"
;
//////////
Physical
parameters
:
...
...
@@ -28,7 +28,7 @@ eNBs =
tdd_config_s
=
0
;
prefix_type
=
"NORMAL"
;
eutra_band
=
7
;
downlink_frequency
=
26
60
000000
L
;
downlink_frequency
=
26
85
000000
L
;
uplink_frequency_offset
= -
120000000
;
Nid_cell
=
0
;
N_RB_DL
=
25
;
...
...
@@ -133,7 +133,7 @@ eNBs =
//////////
MME
parameters
:
mme_ip_address
= ( {
ipv4
=
"1
92.168.12.11
"
;
mme_ip_address
= ( {
ipv4
=
"1
72.27.8.52
"
;
ipv6
=
"192:168:30::17"
;
active
=
"yes"
;
preference
=
"ipv4"
;
...
...
@@ -143,10 +143,10 @@ eNBs =
NETWORK_INTERFACES
:
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"1
92.168.12.212/24
"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"1
72.27.8.51/23
"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"1
92.168.12.212/24
"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"1
72.27.8.51/23
"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
...
...
targets/RT/USER/rrh_gw.c
View file @
0e7664ed
...
...
@@ -299,11 +299,17 @@ static void get_options(int argc, char *argv[]) {
loopback_flag
=
1
;
break
;
case
'f'
:
if
(
strlen
(
optarg
)
<=
1024
)
strcpy
(
rf_config_file
,
optarg
);
else
{
printf
(
"Configuration filename is too long
\n
"
);
exit
(
-
1
);
if
(
optarg
){
if
((
strcmp
(
"null"
,
optarg
)
==
0
)
||
(
strcmp
(
"NULL"
,
optarg
)
==
0
))
{
printf
(
"no configuration filename is provided
\n
"
);
}
else
if
(
strlen
(
optarg
)
<=
1024
){
// rf_config_file = strdup(optarg);
strcpy
(
rf_config_file
,
optarg
);
}
else
{
printf
(
"Configuration filename is too long
\n
"
);
exit
(
-
1
);
}
}
break
;
case
't'
:
...
...
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