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
eb854b8e
Commit
eb854b8e
authored
Nov 24, 2016
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setting of frame_tx in lte-enb.c
parent
77486af8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+1
-1
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+1
-1
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+2
-1
No files found.
cmake_targets/CMakeLists.txt
View file @
eb854b8e
...
...
@@ -664,7 +664,7 @@ add_boolean_option(ENABLE_NEW_MULTICAST False "specific to oaisim")
add_boolean_option
(
EXMIMO_IOT True
"????"
)
add_boolean_option
(
LARGE_SCALE False
"specific to oaisim: defines max eNB=2 and max UE=120"
)
add_boolean_option
(
LOCALIZATION False
"???"
)
add_integer_option
(
MAX_NUM_CCs
2
"????"
)
add_integer_option
(
MAX_NUM_CCs
1
"????"
)
add_boolean_option
(
MU_RECEIVER False
"????"
)
add_boolean_option
(
NEW_FFT True
"????"
)
add_boolean_option
(
OPENAIR1 True
"????"
)
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
eb854b8e
...
...
@@ -1925,7 +1925,7 @@ void prach_procedures(PHY_VARS_eNB *eNB) {
eNB
->
UE_stats
[(
uint32_t
)
UE_id
].
UE_timing_offset
=
preamble_delay_list
[
preamble_max
]
&
0x1FFF
;
//limit to 13 (=11+2) bits
eNB
->
UE_stats
[(
uint32_t
)
UE_id
].
sector
=
0
;
LOG_
I
(
PHY
,
"[eNB %d/%d][RAPROC] Frame %d, subframe %d Initiating RA procedure (UE_id %d) with preamble %d, energy %d.%d dB, delay %d
\n
"
,
LOG_
D
(
PHY
,
"[eNB %d/%d][RAPROC] Frame %d, subframe %d Initiating RA procedure (UE_id %d) with preamble %d, energy %d.%d dB, delay %d
\n
"
,
eNB
->
Mod_id
,
eNB
->
CC_id
,
frame
,
...
...
targets/RT/USER/lte-enb.c
View file @
eb854b8e
...
...
@@ -1516,7 +1516,8 @@ static void* eNB_thread_single( void* param ) {
proc_rxtx
->
subframe_rx
=
proc
->
subframe_rx
;
proc_rxtx
->
frame_rx
=
proc
->
frame_rx
;
proc_rxtx
->
subframe_tx
=
(
proc
->
subframe_rx
+
4
)
%
10
;
proc_rxtx
->
frame_tx
=
proc
->
frame_tx
;
proc_rxtx
->
frame_tx
=
(
proc
->
subframe_rx
>
5
)
?
(
1
+
proc
->
frame_rx
)
&
1023
:
proc
->
frame_rx
;
proc
->
frame_tx
=
proc_rxtx
->
frame_tx
;
proc_rxtx
->
timestamp_tx
=
proc
->
timestamp_tx
;
// adjust for timing offset between RRU
if
(
eNB
->
CC_id
!=
0
)
proc_rxtx
->
frame_tx
=
(
proc_rxtx
->
frame_tx
+
proc
->
frame_offset
)
&
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