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
canghaiwuhen
OpenXG-RAN
Commits
8678be16
Commit
8678be16
authored
Dec 02, 2016
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed IF5 timing
parent
03eb2c49
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
+8
-7
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+1
-1
targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
+1
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.50PRB.if4p5.conf
...JECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.50PRB.if4p5.conf
+4
-4
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rru.band7.tm1.if4p5.25PRB.usrpb210.conf
...ERIC-LTE-EPC/CONF/rru.band7.tm1.if4p5.25PRB.usrpb210.conf
+1
-1
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+1
-1
No files found.
openair2/ENB_APP/enb_config.c
View file @
8678be16
targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
View file @
8678be16
...
@@ -101,6 +101,7 @@ int trx_eth_start(openair0_device *device) {
...
@@ -101,6 +101,7 @@ int trx_eth_start(openair0_device *device) {
printf
(
"Setting ETHERNET to RAW_IF5_MODE
\n
"
);
printf
(
"Setting ETHERNET to RAW_IF5_MODE
\n
"
);
if
(
eth_socket_init_raw
(
device
)
!=
0
)
return
-
1
;
if
(
eth_socket_init_raw
(
device
)
!=
0
)
return
-
1
;
}
else
{
}
else
{
printf
(
"Setting ETHERNET to UDP_IF5_MODE
\n
"
);
if
(
eth_socket_init_udp
(
device
)
!=
0
)
return
-
1
;
if
(
eth_socket_init_udp
(
device
)
!=
0
)
return
-
1
;
/* RRH gets openair0 device configuration - BBU sets openair0 device configuration*/
/* RRH gets openair0 device configuration - BBU sets openair0 device configuration*/
if
(
device
->
host_type
==
BBU_HOST
)
{
if
(
device
->
host_type
==
BBU_HOST
)
{
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.50PRB.if4p5.conf
View file @
8678be16
...
@@ -157,13 +157,13 @@ eNBs =
...
@@ -157,13 +157,13 @@ eNBs =
rrh_gw_config
= (
rrh_gw_config
= (
{
{
local_if_name
=
"eth
2
"
;
local_if_name
=
"eth
0
"
;
remote_address
=
"
00:13:95:1f:a0:af
"
;
remote_address
=
"
10.10.10.60
"
;
local_address
=
"
90:e2:ba:c5:fc:04
"
;
local_address
=
"
10.10.10.215
"
;
local_port
=
50000
;
#for raw option local port must be the same to remote
local_port
=
50000
;
#for raw option local port must be the same to remote
remote_port
=
50000
;
remote_port
=
50000
;
rrh_gw_active
=
"yes"
;
rrh_gw_active
=
"yes"
;
tr_preference
=
"
raw
_if4p5"
;
tr_preference
=
"
udp
_if4p5"
;
rf_preference
=
"usrp_b200"
;
rf_preference
=
"usrp_b200"
;
iq_txshift
=
4
;
iq_txshift
=
4
;
tx_sample_advance
=
80
;
tx_sample_advance
=
80
;
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rru.band7.tm1.if4p5.25PRB.usrpb210.conf
View file @
8678be16
...
@@ -160,7 +160,7 @@ eNBs =
...
@@ -160,7 +160,7 @@ eNBs =
{
{
local_if_name
=
"eth0"
;
local_if_name
=
"eth0"
;
remote_address
=
"10.10.10.155"
;
remote_address
=
"10.10.10.155"
;
local_address
=
"10.10.10.
58
"
;
local_address
=
"10.10.10.
60
"
;
local_port
=
50000
;
#for raw option local port must be the same to remote
local_port
=
50000
;
#for raw option local port must be the same to remote
remote_port
=
50000
;
remote_port
=
50000
;
rrh_gw_active
=
"yes"
;
rrh_gw_active
=
"yes"
;
...
...
targets/RT/USER/lte-enb.c
View file @
8678be16
...
@@ -717,7 +717,7 @@ void fh_if5_asynch_DL(PHY_VARS_eNB *eNB,int *frame,int *subframe) {
...
@@ -717,7 +717,7 @@ void fh_if5_asynch_DL(PHY_VARS_eNB *eNB,int *frame,int *subframe) {
openair0_timestamp
timestamp_tx
;
openair0_timestamp
timestamp_tx
;
recv_IF5
(
eNB
,
&
timestamp_tx
,
*
subframe
,
IF5_RRH_GW_DL
);
recv_IF5
(
eNB
,
&
timestamp_tx
,
*
subframe
,
IF5_RRH_GW_DL
);
//
printf("Received subframe %d (TS %llu) from RCC\n",subframe_tx,timestamp_tx);
//
printf("Received subframe %d (TS %llu) from RCC\n",subframe_tx,timestamp_tx);
subframe_tx
=
(
timestamp_tx
/
fp
->
samples_per_tti
)
%
10
;
subframe_tx
=
(
timestamp_tx
/
fp
->
samples_per_tti
)
%
10
;
frame_tx
=
(
timestamp_tx
/
(
fp
->
samples_per_tti
*
10
))
&
1023
;
frame_tx
=
(
timestamp_tx
/
(
fp
->
samples_per_tti
*
10
))
&
1023
;
...
...
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