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
23b01515
Commit
23b01515
authored
Nov 24, 2015
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added TDD config option to lte-softmodem command line
parent
cd37df0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
13 deletions
+17
-13
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.exmimo2.conf
.../PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.exmimo2.conf
+7
-7
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+10
-6
No files found.
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.exmimo2.conf
View file @
23b01515
...
@@ -17,7 +17,7 @@ eNBs =
...
@@ -17,7 +17,7 @@ eNBs =
mobile_country_code
=
"208"
;
mobile_country_code
=
"208"
;
mobile_network_code
=
"9
2
"
;
mobile_network_code
=
"9
3
"
;
//////////
Physical
parameters
:
//////////
Physical
parameters
:
...
@@ -31,7 +31,7 @@ eNBs =
...
@@ -31,7 +31,7 @@ eNBs =
downlink_frequency
=
2680000000
L
;
downlink_frequency
=
2680000000
L
;
uplink_frequency_offset
= -
120000000
;
uplink_frequency_offset
= -
120000000
;
Nid_cell
=
0
;
Nid_cell
=
0
;
N_RB_DL
=
50
;
N_RB_DL
=
25
;
Nid_cell_mbsfn
=
0
;
Nid_cell_mbsfn
=
0
;
nb_antennas_tx
=
1
;
nb_antennas_tx
=
1
;
nb_antennas_rx
=
1
;
nb_antennas_rx
=
1
;
...
@@ -131,7 +131,7 @@ eNBs =
...
@@ -131,7 +131,7 @@ eNBs =
};
};
//////////
MME
parameters
:
//////////
MME
parameters
:
mme_ip_address
= ( {
ipv4
=
"1
0.0.1.
1"
;
mme_ip_address
= ( {
ipv4
=
"1
92.168.12.17
1"
;
ipv6
=
"192:168:30::17"
;
ipv6
=
"192:168:30::17"
;
active
=
"yes"
;
active
=
"yes"
;
preference
=
"ipv4"
;
preference
=
"ipv4"
;
...
@@ -140,11 +140,11 @@ eNBs =
...
@@ -140,11 +140,11 @@ eNBs =
NETWORK_INTERFACES
:
NETWORK_INTERFACES
:
{
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth
3
"
;
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth
2
"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"1
0.0.1.229
/24"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"1
92.168.12.80
/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth
3
"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth
2
"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"1
0.0.1.229
/24"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"1
92.168.12.80
/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
};
...
...
targets/RT/USER/lte-softmodem.c
View file @
23b01515
...
@@ -422,7 +422,7 @@ void help (void) {
...
@@ -422,7 +422,7 @@ void help (void) {
printf
(
" --ue-txgain set UE TX gain
\n
"
);
printf
(
" --ue-txgain set UE TX gain
\n
"
);
printf
(
" --ue-scan_carrier set UE to scan around carrier
\n
"
);
printf
(
" --ue-scan_carrier set UE to scan around carrier
\n
"
);
printf
(
" --loop-memory get softmodem (UE) to loop through memory instead of acquiring from HW
\n
"
);
printf
(
" --loop-memory get softmodem (UE) to loop through memory instead of acquiring from HW
\n
"
);
printf
(
" -C Set the downlink freque
cny for all Component carrier
\n
"
);
printf
(
" -C Set the downlink freque
ncy for all component carriers
\n
"
);
printf
(
" -d Enable soft scope and L1 and L2 stats (Xforms)
\n
"
);
printf
(
" -d Enable soft scope and L1 and L2 stats (Xforms)
\n
"
);
printf
(
" -F Calibrate the EXMIMO borad, available files: exmimo2_2arxg.lime exmimo2_2brxg.lime
\n
"
);
printf
(
" -F Calibrate the EXMIMO borad, available files: exmimo2_2arxg.lime exmimo2_2brxg.lime
\n
"
);
printf
(
" -g Set the global log level, valide options: (9:trace, 8/7:debug, 6:info, 4:warn, 3:error)
\n
"
);
printf
(
" -g Set the global log level, valide options: (9:trace, 8/7:debug, 6:info, 4:warn, 3:error)
\n
"
);
...
@@ -436,6 +436,7 @@ void help (void) {
...
@@ -436,6 +436,7 @@ void help (void) {
printf
(
" -r Set the PRB, valid values: 6, 25, 50, 100
\n
"
);
printf
(
" -r Set the PRB, valid values: 6, 25, 50, 100
\n
"
);
printf
(
" -S Skip the missed slots/subframes
\n
"
);
printf
(
" -S Skip the missed slots/subframes
\n
"
);
printf
(
" -t Set the maximum uplink MCS
\n
"
);
printf
(
" -t Set the maximum uplink MCS
\n
"
);
printf
(
" -T Set hardware to TDD mode (default: FDD). Used only with -U (otherwise set in config file).
\n
"
);
printf
(
" -U Set the lte softmodem as a UE
\n
"
);
printf
(
" -U Set the lte softmodem as a UE
\n
"
);
printf
(
" -W Enable L2 wireshark messages on localhost
\n
"
);
printf
(
" -W Enable L2 wireshark messages on localhost
\n
"
);
printf
(
" -V Enable VCD (generated file will be located atopenair_dump_eNB.vcd, read it with target/RT/USER/eNB.gtkw
\n
"
);
printf
(
" -V Enable VCD (generated file will be located atopenair_dump_eNB.vcd, read it with target/RT/USER/eNB.gtkw
\n
"
);
...
@@ -2061,7 +2062,7 @@ static void get_options (int argc, char **argv)
...
@@ -2061,7 +2062,7 @@ static void get_options (int argc, char **argv)
{
NULL
,
0
,
NULL
,
0
}
{
NULL
,
0
,
NULL
,
0
}
};
};
while
((
c
=
getopt_long
(
argc
,
argv
,
"C:dK:g:F:G:hqO:m:SUVRM:r:P:Ws:t:x:"
,
long_options
,
NULL
))
!=
-
1
)
{
while
((
c
=
getopt_long
(
argc
,
argv
,
"C:dK:g:F:G:hqO:m:SUVRM:r:P:Ws:t:
T
x:"
,
long_options
,
NULL
))
!=
-
1
)
{
switch
(
c
)
{
switch
(
c
)
{
case
LONG_OPTION_MAXPOWER
:
case
LONG_OPTION_MAXPOWER
:
tx_max_power
[
0
]
=
atoi
(
optarg
);
tx_max_power
[
0
]
=
atoi
(
optarg
);
...
@@ -2326,8 +2327,13 @@ static void get_options (int argc, char **argv)
...
@@ -2326,8 +2327,13 @@ static void get_options (int argc, char **argv)
printf
(
"Transmission mode > 2 (%d) not supported for the moment
\n
"
,
transmission_mode
);
printf
(
"Transmission mode > 2 (%d) not supported for the moment
\n
"
,
transmission_mode
);
exit
(
-
1
);
exit
(
-
1
);
}
}
break
;
case
'T'
:
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
frame_parms
[
CC_id
]
->
frame_type
=
TDD
;
break
;
break
;
case
'h'
:
case
'h'
:
help
();
help
();
exit
(
-
1
);
exit
(
-
1
);
...
@@ -2487,12 +2493,10 @@ int main( int argc, char **argv )
...
@@ -2487,12 +2493,10 @@ int main( int argc, char **argv )
memset
(
tx_max_power
,
0
,
sizeof
(
int
)
*
MAX_NUM_CCs
);
memset
(
tx_max_power
,
0
,
sizeof
(
int
)
*
MAX_NUM_CCs
);
set_latency_target
();
set_latency_target
();
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
frame_parms
[
CC_id
]
=
(
LTE_DL_FRAME_PARMS
*
)
malloc
(
sizeof
(
LTE_DL_FRAME_PARMS
));
frame_parms
[
CC_id
]
=
(
LTE_DL_FRAME_PARMS
*
)
malloc
(
sizeof
(
LTE_DL_FRAME_PARMS
));
/* Set some default values that may be overwritten while reading options */
/* Set some default values that may be overwritten while reading options */
frame_parms
[
CC_id
]
->
frame_type
=
FDD
;
/* TDD */
frame_parms
[
CC_id
]
->
frame_type
=
FDD
;
frame_parms
[
CC_id
]
->
tdd_config
=
3
;
frame_parms
[
CC_id
]
->
tdd_config
=
3
;
frame_parms
[
CC_id
]
->
tdd_config_S
=
0
;
frame_parms
[
CC_id
]
->
tdd_config_S
=
0
;
frame_parms
[
CC_id
]
->
N_RB_DL
=
100
;
frame_parms
[
CC_id
]
->
N_RB_DL
=
100
;
...
@@ -3088,7 +3092,7 @@ int main( int argc, char **argv )
...
@@ -3088,7 +3092,7 @@ int main( int argc, char **argv )
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
rf_map
[
CC_id
].
card
=
0
;
rf_map
[
CC_id
].
card
=
0
;
rf_map
[
CC_id
].
chain
=
CC_id
+
1
;
rf_map
[
CC_id
].
chain
=
CC_id
;
}
}
// connect the TX/RX buffers
// connect the TX/RX buffers
...
...
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