Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
eb854b8e
Commit
eb854b8e
authored
Nov 24, 2016
by
knopp
Browse files
setting of frame_tx in lte-enb.c
parent
77486af8
Changes
3
Hide whitespace changes
Inline
Side-by-side
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