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
alex037yang
OpenXG-RAN
Commits
627da477
Commit
627da477
authored
May 09, 2020
by
Florian Kaltenberger
Committed by
Florian Kaltenberger
Sep 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing adc inpput shift and gain table for N310. adding pps sync.
parent
e3134925
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
203 additions
and
224 deletions
+203
-224
targets/ARCH/COMMON/common_lib.h
targets/ARCH/COMMON/common_lib.h
+3
-1
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
+44
-40
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpb210.conf
.../GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpb210.conf
+156
-183
No files found.
targets/ARCH/COMMON/common_lib.h
View file @
627da477
...
@@ -90,6 +90,8 @@ typedef enum {
...
@@ -90,6 +90,8 @@ typedef enum {
USRP_B200_DEV
,
USRP_B200_DEV
,
/*!\brief device is USRP X300/X310*/
/*!\brief device is USRP X300/X310*/
USRP_X300_DEV
,
USRP_X300_DEV
,
/*!\brief device is USRP N300/N310*/
USRP_N300_DEV
,
/*!\brief device is BLADE RF*/
/*!\brief device is BLADE RF*/
BLADERF_DEV
,
BLADERF_DEV
,
/*!\brief device is LMSSDR (SoDeRa)*/
/*!\brief device is LMSSDR (SoDeRa)*/
...
@@ -104,7 +106,7 @@ typedef enum {
...
@@ -104,7 +106,7 @@ typedef enum {
UEDv2_DEV
,
UEDv2_DEV
,
MAX_RF_DEV_TYPE
MAX_RF_DEV_TYPE
}
dev_type_t
;
}
dev_type_t
;
#define DEVTYPE_NAMES {"","EXMIMO","USRP B200","USRP X300","BLADERF","LMSSDR","IRIS","No HW","ADRV9371_ZC706","UEDv2"}
#define DEVTYPE_NAMES {"","EXMIMO","USRP B200","USRP X300","
USRP N300","
BLADERF","LMSSDR","IRIS","No HW","ADRV9371_ZC706","UEDv2"}
/*!\brief transport protocol types
/*!\brief transport protocol types
*/
*/
typedef
enum
{
typedef
enum
{
...
...
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
View file @
627da477
...
@@ -108,7 +108,8 @@ typedef struct {
...
@@ -108,7 +108,8 @@ typedef struct {
int64_t
rx_count
;
int64_t
rx_count
;
int
wait_for_first_pps
;
int
wait_for_first_pps
;
int
use_gps
;
int
use_gps
;
int
first_tx
;
//int first_tx;
//int first_rx;
//! timestamp of RX packet
//! timestamp of RX packet
openair0_timestamp
rx_timestamp
;
openair0_timestamp
rx_timestamp
;
}
usrp_state_t
;
}
usrp_state_t
;
...
@@ -282,31 +283,28 @@ static int trx_usrp_start(openair0_device *device) {
...
@@ -282,31 +283,28 @@ static int trx_usrp_start(openair0_device *device) {
// set pin 5 (Shutdown LNA) to 1 when the radio is transmitting and receiveing (ATR_XX)
// set pin 5 (Shutdown LNA) to 1 when the radio is transmitting and receiveing (ATR_XX)
// (we use full duplex here, because our RX is on all the time - this might need to change later)
// (we use full duplex here, because our RX is on all the time - this might need to change later)
s
->
usrp
->
set_gpio_attr
(
"FP0"
,
"ATR_XX"
,
(
1
<<
5
),
0x7f
);
s
->
usrp
->
set_gpio_attr
(
"FP0"
,
"ATR_XX"
,
(
1
<<
5
),
0x7f
);
// set the output pins to
0
// set the output pins to
1
s
->
usrp
->
set_gpio_attr
(
"FP0"
,
"OUT"
,
7
<<
7
,
0xf80
);
s
->
usrp
->
set_gpio_attr
(
"FP0"
,
"OUT"
,
7
<<
7
,
0xf80
);
// init recv and send streaming
uhd
::
stream_cmd_t
cmd
(
uhd
::
stream_cmd_t
::
STREAM_MODE_START_CONTINUOUS
);
LOG_I
(
HW
,
"Time in secs now: %llu
\n
"
,
s
->
usrp
->
get_time_now
().
to_ticks
(
s
->
sample_rate
));
LOG_I
(
HW
,
"Time in secs last pps: %llu
\n
"
,
s
->
usrp
->
get_time_last_pps
().
to_ticks
(
s
->
sample_rate
));
if
(
s
->
use_gps
==
1
||
device
->
openair0_cfg
[
0
].
time_source
==
external
)
{
s
->
wait_for_first_pps
=
1
;
s
->
wait_for_first_pps
=
1
;
cmd
.
time_spec
=
s
->
usrp
->
get_time_last_pps
()
+
uhd
::
time_spec_t
(
1.0
);
s
->
rx_count
=
0
;
}
else
{
s
->
tx_count
=
0
;
s
->
wait_for_first_pps
=
0
;
//s->first_tx = 1;
cmd
.
time_spec
=
s
->
usrp
->
get_time_now
()
+
uhd
::
time_spec_t
(
0.005
);
//s->first_rx = 1;
s
->
rx_timestamp
=
0
;
s
->
usrp
->
set_time_next_pps
(
uhd
::
time_spec_t
(
0.0
));
// wait for the pps to change
uhd
::
time_spec_t
time_last_pps
=
s
->
usrp
->
get_time_last_pps
();
while
(
time_last_pps
==
s
->
usrp
->
get_time_last_pps
())
{
boost
::
this_thread
::
sleep
(
boost
::
posix_time
::
milliseconds
(
1
));
}
}
uhd
::
stream_cmd_t
cmd
(
uhd
::
stream_cmd_t
::
STREAM_MODE_START_CONTINUOUS
);
cmd
.
time_spec
=
uhd
::
time_spec_t
(
1.0
);
cmd
.
stream_now
=
false
;
// start at constant delay
cmd
.
stream_now
=
false
;
// start at constant delay
s
->
rx_stream
->
issue_stream_cmd
(
cmd
);
s
->
rx_stream
->
issue_stream_cmd
(
cmd
);
/*s->tx_md.time_spec = cmd.time_spec + uhd::time_spec_t(1-(double)s->tx_forward_nsamps/s->sample_rate);
s->tx_md.has_time_spec = true;
s->tx_md.start_of_burst = true;
s->tx_md.end_of_burst = false;*/
s
->
rx_count
=
0
;
s
->
tx_count
=
0
;
s
->
rx_timestamp
=
0
;
return
0
;
return
0
;
}
}
/*! \brief Terminate operation of the USRP transceiver -- free all associated resources
/*! \brief Terminate operation of the USRP transceiver -- free all associated resources
...
@@ -635,7 +633,6 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp *ptimestamp
...
@@ -635,7 +633,6 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp *ptimestamp
int16x8_t
buff_tmp
[
2
][
nsamps2
];
int16x8_t
buff_tmp
[
2
][
nsamps2
];
#endif
#endif
if
(
device
->
type
==
USRP_B200_DEV
)
{
if
(
cc
>
1
)
{
if
(
cc
>
1
)
{
// receive multiple channels (e.g. RF A and RF B)
// receive multiple channels (e.g. RF A and RF B)
std
::
vector
<
void
*>
buff_ptrs
;
std
::
vector
<
void
*>
buff_ptrs
;
...
@@ -648,7 +645,7 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp *ptimestamp
...
@@ -648,7 +645,7 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp *ptimestamp
samples_received
=
0
;
samples_received
=
0
;
while
(
samples_received
!=
nsamps
)
{
while
(
samples_received
!=
nsamps
)
{
samples_received
+=
s
->
rx_stream
->
recv
(
buff_tmp
[
0
]
+
samples_received
,
samples_received
+=
s
->
rx_stream
->
recv
(
(
void
*
)((
int32_t
*
)
buff_tmp
[
0
]
+
samples_received
)
,
nsamps
-
samples_received
,
s
->
rx_md
);
nsamps
-
samples_received
,
s
->
rx_md
);
if
((
s
->
wait_for_first_pps
==
0
)
&&
(
s
->
rx_md
.
error_code
!=
uhd
::
rx_metadata_t
::
ERROR_CODE_NONE
))
if
((
s
->
wait_for_first_pps
==
0
)
&&
(
s
->
rx_md
.
error_code
!=
uhd
::
rx_metadata_t
::
ERROR_CODE_NONE
))
...
@@ -658,7 +655,6 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp *ptimestamp
...
@@ -658,7 +655,6 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp *ptimestamp
printf
(
"sleep...
\n
"
);
//usleep(100);
printf
(
"sleep...
\n
"
);
//usleep(100);
}
}
}
}
if
(
samples_received
==
nsamps
)
s
->
wait_for_first_pps
=
0
;
if
(
samples_received
==
nsamps
)
s
->
wait_for_first_pps
=
0
;
}
}
...
@@ -684,22 +680,10 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp *ptimestamp
...
@@ -684,22 +680,10 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp *ptimestamp
#endif
#endif
}
}
}
}
}
else
if
(
device
->
type
==
USRP_X300_DEV
)
{
if
(
cc
>
1
)
{
// receive multiple channels (e.g. RF A and RF B)
std
::
vector
<
void
*>
buff_ptrs
;
for
(
int
i
=
0
;
i
<
cc
;
i
++
)
buff_ptrs
.
push_back
(
buff
[
i
]);
samples_received
=
s
->
rx_stream
->
recv
(
buff_ptrs
,
nsamps
,
s
->
rx_md
,
1.0
);
}
else
{
// receive a single channel (e.g. from connector RF A)
samples_received
=
s
->
rx_stream
->
recv
(
buff
[
0
],
nsamps
,
s
->
rx_md
,
1.0
);
}
}
if
(
samples_received
<
nsamps
)
if
(
samples_received
<
nsamps
)
{
LOG_E
(
HW
,
"[recv] received %d samples out of %d
\n
"
,
samples_received
,
nsamps
);
LOG_E
(
HW
,
"[recv] received %d samples out of %d
\n
"
,
samples_received
,
nsamps
);
}
if
(
s
->
rx_md
.
error_code
!=
uhd
::
rx_metadata_t
::
ERROR_CODE_NONE
)
if
(
s
->
rx_md
.
error_code
!=
uhd
::
rx_metadata_t
::
ERROR_CODE_NONE
)
LOG_E
(
HW
,
"%s
\n
"
,
s
->
rx_md
.
to_pp_string
(
true
).
c_str
());
LOG_E
(
HW
,
"%s
\n
"
,
s
->
rx_md
.
to_pp_string
(
true
).
c_str
());
...
@@ -835,6 +819,17 @@ rx_gain_calib_table_t calib_table_x310[] = {
...
@@ -835,6 +819,17 @@ rx_gain_calib_table_t calib_table_x310[] = {
{
-
1
,
0
}
{
-
1
,
0
}
};
};
/*! \brief USRPB210 RX calibration table */
rx_gain_calib_table_t
calib_table_n310
[]
=
{
{
3500000000.0
,
0.0
},
{
2660000000.0
,
0.0
},
{
2300000000.0
,
0.0
},
{
1880000000.0
,
0.0
},
{
816000000.0
,
0.0
},
{
-
1
,
0
}
};
/*! \brief Set RX gain offset
/*! \brief Set RX gain offset
* \param openair0_cfg RF frontend parameters set by application
* \param openair0_cfg RF frontend parameters set by application
* \param chain_index RF chain to apply settings to
* \param chain_index RF chain to apply settings to
...
@@ -984,7 +979,7 @@ extern "C" {
...
@@ -984,7 +979,7 @@ extern "C" {
if
(
device_adds
[
0
].
get
(
"type"
)
==
"n3xx"
)
{
if
(
device_adds
[
0
].
get
(
"type"
)
==
"n3xx"
)
{
printf
(
"Found USRP n300
\n
"
);
printf
(
"Found USRP n300
\n
"
);
device
->
type
=
USRP_
X300_DEV
;
//treat it as X300 for now
device
->
type
=
USRP_
N300_DEV
;
usrp_master_clock
=
122.88e6
;
usrp_master_clock
=
122.88e6
;
args
+=
boost
::
str
(
boost
::
format
(
",master_clock_rate=%f"
)
%
usrp_master_clock
);
args
+=
boost
::
str
(
boost
::
format
(
",master_clock_rate=%f"
)
%
usrp_master_clock
);
//args += ", send_buff_size=33554432";
//args += ", send_buff_size=33554432";
...
@@ -1070,7 +1065,16 @@ extern "C" {
...
@@ -1070,7 +1065,16 @@ extern "C" {
if
(
device
->
type
==
USRP_X300_DEV
)
{
if
(
device
->
type
==
USRP_X300_DEV
)
{
openair0_cfg
[
0
].
rx_gain_calib_table
=
calib_table_x310
;
openair0_cfg
[
0
].
rx_gain_calib_table
=
calib_table_x310
;
std
::
cerr
<<
"-- Using calibration table: calib_table_x310"
<<
std
::
endl
;
// Bell Labs info
std
::
cerr
<<
"-- Using calibration table: calib_table_x310"
<<
std
::
endl
;
}
if
(
device
->
type
==
USRP_N300_DEV
)
{
openair0_cfg
[
0
].
rx_gain_calib_table
=
calib_table_n310
;
std
::
cerr
<<
"-- Using calibration table: calib_table_n310"
<<
std
::
endl
;
}
if
(
device
->
type
==
USRP_N300_DEV
||
device
->
type
==
USRP_X300_DEV
)
{
LOG_I
(
HW
,
"%s() sample_rate:%u
\n
"
,
__FUNCTION__
,
(
int
)
openair0_cfg
[
0
].
sample_rate
);
LOG_I
(
HW
,
"%s() sample_rate:%u
\n
"
,
__FUNCTION__
,
(
int
)
openair0_cfg
[
0
].
sample_rate
);
switch
((
int
)
openair0_cfg
[
0
].
sample_rate
)
{
switch
((
int
)
openair0_cfg
[
0
].
sample_rate
)
{
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpb210.conf
View file @
627da477
...
@@ -21,184 +21,167 @@ gNBs =
...
@@ -21,184 +21,167 @@ gNBs =
//////////
Physical
parameters
:
//////////
Physical
parameters
:
component_carriers
= (
ssb_SubcarrierOffset
=
0
;
pdsch_AntennaPorts
=
1
;
servingCellConfigCommon
= (
{
{
node_function
=
"3GPP_gNODEB"
;
#spCellConfigCommon
node_timing
=
"synch_to_ext_device"
;
node_synch_ref
=
0
;
physCellId
=
0
;
frame_type
=
"TDD"
;
DL_prefix_type
=
"NORMAL"
;
# downlinkConfigCommon
UL_prefix_type
=
"NORMAL"
;
#frequencyInfoDL
eutra_band
=
78
;
# this is 3600 MHz + 43 PRBs@30kHz SCS (same as initial BWP)
downlink_frequency
=
3510000000
L
;
absoluteFrequencySSB
=
641032
;
uplink_frequency_offset
= -
120000000
;
dl_frequencyBand
=
78
;
Nid_cell
=
0
;
# this is 3600 MHz
N_RB_DL
=
106
;
dl_absoluteFrequencyPointA
=
640000
;
nb_antenna_ports
=
1
;
#scs-SpecificCarrierList
nb_antennas_tx
=
1
;
dl_offstToCarrier
=
0
;
nb_antennas_rx
=
1
;
# subcarrierSpacing
tx_gain
=
90
;
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
rx_gain
=
125
;
dl_subcarrierSpacing
=
1
;
MIB_subCarrierSpacingCommon
=
30
;
dl_carrierBandwidth
=
106
;
MIB_ssb_SubcarrierOffset
=
0
;
#initialDownlinkBWP
MIB_dmrs_TypeA_Position
=
2
;
#genericParameters
pdcch_ConfigSIB1
=
0
;
# this is RBstart=0,L=50 (275*(L-1))+RBstart
SIB1_frequencyOffsetSSB
=
"khz5"
;
initialDLBWPlocationAndBandwidth
=
13475
;
SIB1_ssb_PeriodicityServingCell
=
5
;
# subcarrierSpacing
SIB1_ss_PBCH_BlockPower
= -
60
;
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
absoluteFrequencySSB
=
0
;
initialDLBWPsubcarrierSpacing
=
1
;
DL_FreqBandIndicatorNR
=
15
;
#pdcch-ConfigCommon
DL_absoluteFrequencyPointA
=
15
;
initialDLBWPcontrolResourceSetZero
=
12
;
DL_offsetToCarrier
=
15
;
initialDLBWPsearchSpaceZero
=
0
;
DL_SCS_SubcarrierSpacing
=
"kHz30"
;
#pdsch-ConfigCommon
DL_SCS_SpecificCarrier_k0
=
0
;
#pdschTimeDomainAllocationList (up to 16 entries)
DL_carrierBandwidth
=
15
;
initialDLBWPk0_0
=
0
;
DL_locationAndBandwidth
=
15
;
#initialULBWPmappingType
DL_BWP_SubcarrierSpacing
=
"kHz30"
;
#0=typeA,1=typeB
DL_BWP_prefix_type
=
"NORMAL"
;
initialDLBWPmappingType_0
=
0
;
UL_FreqBandIndicatorNR
=
15
;
#this is SS=2,L=3
UL_absoluteFrequencyPointA
=
13
;
initialDLBWPstartSymbolAndLength_0
=
40
;
UL_additionalSpectrumEmission
=
3
;
UL_p_Max
= -
1
;
initialDLBWPk0_1
=
0
;
UL_frequencyShift7p5khz
=
"TRUE"
;
initialDLBWPmappingType_1
=
0
;
UL_offsetToCarrier
=
10
;
#this is SS=2,L=12
UL_SCS_SubcarrierSpacing
=
"kHz30"
;
initialDLBWPstartSymbolAndLength_1
=
53
;
UL_SCS_SpecificCarrier_k0
=
0
;
UL_carrierBandwidth
=
15
;
initialDLBWPk0_2
=
0
;
UL_locationAndBandwidth
=
15
;
initialDLBWPmappingType_2
=
0
;
UL_BWP_SubcarrierSpacing
=
"kHz30"
;
#this is SS=1,L=12
UL_BWP_prefix_type
=
"NORMAL"
;
initialDLBWPstartSymbolAndLength_2
=
54
;
UL_timeAlignmentTimerCommon
=
"infinity"
;
#uplinkConfigCommon
ServingCellConfigCommon_n_TimingAdvanceOffset
=
"n0"
#frequencyInfoUL
ServingCellConfigCommon_ssb_PositionsInBurst_PR
=
0
x01
;
ul_frequencyBand
=
78
;
ServingCellConfigCommon_ssb_periodicityServingCell
=
10
;
#scs-SpecificCarrierList
ServingCellConfigCommon_dmrs_TypeA_Position
=
2
;
ul_offstToCarrier
=
0
;
NIA_SubcarrierSpacing
=
"kHz15"
;
# subcarrierSpacing
ServingCellConfigCommon_ss_PBCH_BlockPower
= -
60
;
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
referenceSubcarrierSpacing
=
"kHz15"
;
ul_subcarrierSpacing
=
1
;
dl_UL_TransmissionPeriodicity
=
"ms0p5"
;
ul_carrierBandwidth
=
106
;
nrofDownlinkSlots
=
10
;
pMax
=
20
;
nrofDownlinkSymbols
=
10
;
#initialUplinkBWP
nrofUplinkSlots
=
10
;
#genericParameters
nrofUplinkSymbols
=
10
;
initialULBWPlocationAndBandwidth
=
13475
;
rach_totalNumberOfRA_Preambles
=
63
;
# subcarrierSpacing
rach_ssb_perRACH_OccasionAndCB_PreamblesPerSSB_choice
=
"oneEighth"
;
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
rach_ssb_perRACH_OccasionAndCB_PreamblesPerSSB_oneEighth
=
4
;
initialULBWPsubcarrierSpacing
=
1
;
rach_ssb_perRACH_OccasionAndCB_PreamblesPerSSB_oneFourth
=
8
;
#rach-ConfigCommon
rach_ssb_perRACH_OccasionAndCB_PreamblesPerSSB_oneHalf
=
16
;
#rach-ConfigGeneric
rach_ssb_perRACH_OccasionAndCB_PreamblesPerSSB_one
=
24
;
prach_ConfigurationIndex
=
98
;
rach_ssb_perRACH_OccasionAndCB_PreamblesPerSSB_two
=
32
;
#prach_msg1_FDM
rach_ssb_perRACH_OccasionAndCB_PreamblesPerSSB_four
=
8
;
#0 = one, 1=two, 2=four, 3=eight
rach_ssb_perRACH_OccasionAndCB_PreamblesPerSSB_eight
=
4
;
prach_msg1_FDM
=
0
;
rach_ssb_perRACH_OccasionAndCB_PreamblesPerSSB_sixteen
=
2
;
prach_msg1_FrequencyStart
=
0
;
rach_groupBconfigured
=
"ENABLE"
;
zeroCorrelationZoneConfig
=
13
;
rach_ra_Msg3SizeGroupA
=
56
;
preambleReceivedTargetPower
= -
118
;
rach_messagePowerOffsetGroupB
=
"dB0"
;
#preamblTransMax (0...10) = (3,4,5,6,7,8,10,20,50,100,200)
rach_numberOfRA_PreamblesGroupA
=
32
;
rach_ra_ContentionResolutionTimer
=
8
;
rsrp_ThresholdSSB
=
64
;
rsrp_ThresholdSSB_SUL
=
64
;
prach_RootSequenceIndex_choice
=
"l839"
;
prach_RootSequenceIndex_l839
=
0
;
prach_RootSequenceIndex_l139
=
0
;
prach_msg1_SubcarrierSpacing
=
"kHz30"
;
restrictedSetConfig
=
"unrestrictedSet"
;
msg3_transformPrecoding
=
"ENABLE"
;
prach_ConfigurationIndex
=
10
;
prach_msg1_FDM
=
"one"
;
prach_msg1_FrequencyStart
=
10
;
zeroCorrelationZoneConfig
=
10
;
preambleReceivedTargetPower
= -
150
;
preambleTransMax
=
6
;
preambleTransMax
=
6
;
powerRampingStep
=
"dB0"
;
#powerRampingStep
ra_ResponseWindow
=
8
;
# 0=dB0,1=dB2,2=dB4,3=dB6
groupHoppingEnabledTransformPrecoding
=
"ENABLE"
;
powerRampingStep
=
1
;
msg3_DeltaPreamble
=
0
;
#ra_ReponseWindow
p0_NominalWithGrant
=
0
;
#1,2,4,8,10,20,40,80
PUSCH_TimeDomainResourceAllocation_k2
=
0
;
ra_ResponseWindow
=
4
;
PUSCH_TimeDomainResourceAllocation_mappingType
=
"typeA"
;
#ssb_perRACH_OccasionAndCB_PreamblesPerSSB_PR
PUSCH_TimeDomainResourceAllocation_startSymbolAndLength
=
0
;
#0=oneeighth,1=onefourth,2=half,3=one,4=two,5=four,6=eight,7=sixteen
pucch_ResourceCommon
=
0
;
ssb_perRACH_OccasionAndCB_PreamblesPerSSB_PR
=
3
;
pucch_GroupHopping
=
"neither"
;
#oneHalf (0..15) 4,8,12,16,...60,64
hoppingId
=
0
;
ssb_perRACH_OccasionAndCB_PreamblesPerSSB
=
15
;
p0_nominal
= -
30
;
#ra_ContentionResolutionTimer
PDSCH_TimeDomainResourceAllocation_k0
=
2
;
#(0..7) 8,16,24,32,40,48,56,64
PDSCH_TimeDomainResourceAllocation_mappingType
=
"typeA"
;
ra_ContentionResolutionTimer
=
7
;
PDSCH_TimeDomainResourceAllocation_startSymbolAndLength
=
0
;
rsrp_ThresholdSSB
=
19
;
rateMatchPatternId
=
0
;
#prach-RootSequenceIndex_PR
RateMatchPattern_patternType
=
"bitmaps"
;
#0 = 839, 1 = 139
symbolsInResourceBlock
=
"oneSlot"
;
prach_RootSequenceIndex_PR
=
1
;
periodicityAndPattern
=
2
;
prach_RootSequenceIndex
=
1
;
RateMatchPattern_controlResourceSet
=
5
;
# SCS for msg1, can only be 15 for 30 kHz < 6 GHz, takes precendence over the one derived from prach-ConfigIndex
RateMatchPattern_subcarrierSpacing
=
"kHz30"
;
#
RateMatchPattern_mode
=
"dynamic"
;
msg1_SubcarrierSpacing
=
1
,
controlResourceSetZero
=
0
;
searchSpaceZero
=
0
;
searchSpaceSIB1
=
10
;
searchSpaceOtherSystemInformation
=
10
;
pagingSearchSpace
=
10
;
ra_SearchSpace
=
10
;
PDCCH_common_controlResourceSetId
=
5
;
PDCCH_common_ControlResourceSet_duration
=
2
;
PDCCH_cce_REG_MappingType
=
"nonInterleaved"
;
PDCCH_reg_BundleSize
=
3
;
PDCCH_interleaverSize
=
3
;
PDCCH_shiftIndex
=
10
;
PDCCH_precoderGranularity
=
"sameAsREG-bundle"
;
PDCCH_TCI_StateId
=
32
;
tci_PresentInDCI
=
"ENABLE"
;
PDCCH_DMRS_ScramblingID
=
0
;
SearchSpaceId
=
10
;
commonSearchSpaces_controlResourceSetId
=
5
;
SearchSpace_monitoringSlotPeriodicityAndOffset_choice
=
"sl1"
;
SearchSpace_monitoringSlotPeriodicityAndOffset_value
=
0
;
SearchSpace_duration
=
2
;
SearchSpace_nrofCandidates_aggregationLevel1
=
0
;
SearchSpace_nrofCandidates_aggregationLevel2
=
0
;
SearchSpace_nrofCandidates_aggregationLevel4
=
0
;
SearchSpace_nrofCandidates_aggregationLevel8
=
0
;
SearchSpace_nrofCandidates_aggregationLevel16
=
0
;
SearchSpace_searchSpaceType
=
"common"
;
Common_dci_Format2_0_nrofCandidates_SFI_aggregationLevel1
=
1
;
Common_dci_Format2_0_nrofCandidates_SFI_aggregationLevel2
=
1
;
Common_dci_Format2_0_nrofCandidates_SFI_aggregationLevel4
=
1
;
Common_dci_Format2_0_nrofCandidates_SFI_aggregationLevel8
=
1
;
Common_dci_Format2_0_nrofCandidates_SFI_aggregationLevel16
=
1
;
Common_dci_Format2_3_monitoringPeriodicity
=
1
;
Common_dci_Format2_3_nrofPDCCH_Candidates
=
1
;
ue_Specific__dci_Formats
=
"formats0-0-And-1-0"
;
RateMatchPatternLTE_CRS_carrierFreqDL
=
6
;
RateMatchPatternLTE_CRS_carrierBandwidthDL
=
6
;
RateMatchPatternLTE_CRS_nrofCRS_Ports
=
1
;
RateMatchPatternLTE_CRS_v_Shift
=
0
;
RateMatchPatternLTE_CRS_radioframeAllocationPeriod
=
1
;
RateMatchPatternLTE_CRS_radioframeAllocationOffset
=
0
;
RateMatchPatternLTE_CRS_subframeAllocation_choice
=
"oneFrame"
;
}
);
# restrictedSetConfig
# 0=unrestricted, 1=restricted type A, 2=restricted type B
restrictedSetConfig
=
0
,
# pusch-ConfigCommon (up to 16 elements)
initialULBWPk2_0
=
2
;
initialULBWPmappingType_0
=
1
# this is SS=0 L=11
initialULBWPstartSymbolAndLength_0
=
55
;
initialULBWPk2_1
=
2
;
initialULBWPmappingType_1
=
1
;
# this is SS=0 L=12
initialULBWPstartSymbolAndLength_1
=
69
;
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]
msg3_DeltaPreamble
=
1
;
timer_reordering
=
35
;
p0_NominalWithGrant
=-
90
;
# timer_reordering = (ms) [0,5, ... 250, 300, 350, ... ,500]
# pucch-ConfigCommon setup :
timer_status_prohibit
=
0
;
# pucchGroupHopping
# 0 = neither, 1= group hopping, 2=sequence hopping
pucchGroupHopping
=
0
;
hoppingId
=
40
;
p0_nominal
= -
90
;
# ssb_PositionsInBurs_BitmapPR
# 1=short, 2=medium, 3=long
ssb_PositionsInBurst_PR
=
2
;
ssb_PositionsInBurst_Bitmap
=
1
;
# poll_pdu = [4, 8, 16, 32 , 64, 128, 256, infinity(>10000)]
# ssb_periodicityServingCell
poll_pdu
=
4
;
# 0 = ms5, 1=ms10, 2=ms20, 3=ms40, 4=ms80, 5=ms160, 6=spare2, 7=spare1
ssb_periodicityServingCell
=
2
;
# poll_byte = (kB) [25,50,75,100,125,250,375,500,750,1000,1250,1500,2000,3000,infinity(>10000)]
# dmrs_TypeA_position
poll_byte
=
99999
;
# 0 = pos2, 1 = pos3
dmrs_TypeA_Position
=
0
;
# max_retx_threshold = [1, 2, 3, 4 , 6, 8, 16, 32]
# subcarrierSpacing
max_retx_threshold
=
4
;
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
subcarrierSpacing
=
1
;
#tdd-UL-DL-ConfigurationCommon
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
referenceSubcarrierSpacing
=
1
;
# pattern1
# dl_UL_TransmissionPeriodicity
# 0=ms0p5, 1=ms0p625, 2=ms1, 3=ms1p25, 4=ms2, 5=ms2p5, 6=ms5, 7=ms10
dl_UL_TransmissionPeriodicity
=
6
;
nrofDownlinkSlots
=
7
;
nrofDownlinkSymbols
=
6
;
nrofUplinkSlots
=
2
;
nrofUplinkSymbols
=
4
;
ssPBCH_BlockPower
=
10
;
}
}
);
# ------- SCTP definitions
# ------- SCTP definitions
SCTP
:
SCTP
:
{
{
...
@@ -255,7 +238,7 @@ RUs = (
...
@@ -255,7 +238,7 @@ RUs = (
max_rxgain
=
114
;
max_rxgain
=
114
;
eNB_instances
= [
0
];
eNB_instances
= [
0
];
sdr_addrs
=
"type=b200"
;
sdr_addrs
=
"type=b200"
;
#clock_src = "external";
}
}
);
);
...
@@ -264,20 +247,10 @@ THREAD_STRUCT = (
...
@@ -264,20 +247,10 @@ THREAD_STRUCT = (
#three config for level of parallelism "PARALLEL_SINGLE_THREAD", "PARALLEL_RU_L1_SPLIT", or "PARALLEL_RU_L1_TRX_SPLIT"
#three config for level of parallelism "PARALLEL_SINGLE_THREAD", "PARALLEL_RU_L1_SPLIT", or "PARALLEL_RU_L1_TRX_SPLIT"
parallel_config
=
"PARALLEL_SINGLE_THREAD"
;
parallel_config
=
"PARALLEL_SINGLE_THREAD"
;
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
worker_config
=
"WORKER_
DIS
ABLE"
;
worker_config
=
"WORKER_
EN
ABLE"
;
}
}
);
);
NETWORK_CONTROLLER
:
{
FLEXRAN_ENABLED
=
"no"
;
FLEXRAN_INTERFACE_NAME
=
"lo"
;
FLEXRAN_IPV4_ADDRESS
=
"127.0.0.1"
;
FLEXRAN_PORT
=
2210
;
FLEXRAN_CACHE
=
"/mnt/oai_agent_cache"
;
FLEXRAN_AWAIT_RECONF
=
"no"
;
};
log_config
:
log_config
:
{
{
global_log_level
=
"info"
;
global_log_level
=
"info"
;
...
...
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