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
zzha zzha
OpenXG-RAN
Commits
d12a8244
Commit
d12a8244
authored
Jul 25, 2019
by
Khalid Ahmed
Committed by
Thomas Schlichter
Aug 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TDD in rfsimulator
parent
2b946083
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
executables/nr-gnb.c
executables/nr-gnb.c
+3
-1
executables/nr-ru.c
executables/nr-ru.c
+6
-1
executables/nr-ue.c
executables/nr-ue.c
+3
-2
No files found.
executables/nr-gnb.c
View file @
d12a8244
...
...
@@ -191,7 +191,9 @@ static inline int rxtx(PHY_VARS_gNB *gNB,int frame_rx, int slot_rx, int frame_tx
}
// UE-specific RX processing for subframe n
if (nfapi_mode == 0 || nfapi_mode == 1) */
{
if (nfapi_mode == 0 || nfapi_mode == 1) */
if
(
slot_rx
==
NR_UPLINK_SLOT
||
gNB
->
frame_parms
.
frame_type
==
FDD
)
{
nfapi_nr_ul_config_ulsch_pdu_rel15_t
*
ulsch_pdu_rel15
=
&
gNB
->
ulsch
[
1
][
0
]
->
harq_processes
[
0
]
->
ulsch_pdu
.
ulsch_pdu_rel15
;
phy_procedures_gNB_uespec_RX
(
gNB
,
frame_rx
,
slot_rx
,
ulsch_pdu_rel15
->
start_symbol
,
ulsch_pdu_rel15
->
start_symbol
+
ulsch_pdu_rel15
->
number_symbols
);
}
...
...
executables/nr-ru.c
View file @
d12a8244
...
...
@@ -1471,7 +1471,12 @@ static void *ru_thread( void *param ) {
if
(
ru
->
idx
!=
0
)
proc
->
frame_tx
=
(
proc
->
frame_tx
+
proc
->
frame_offset
)
&
1023
;
// do RX front-end processing (frequency-shift, dft) if needed
if
(
ru
->
feprx
)
ru
->
feprx
(
ru
,
proc
->
tti_rx
);
if
(
proc
->
tti_rx
==
NR_UPLINK_SLOT
||
fp
->
frame_type
==
FDD
)
{
if
(
ru
->
feprx
)
ru
->
feprx
(
ru
,
proc
->
tti_rx
);
}
LOG_D
(
PHY
,
"RU proc: frame_rx = %d, tti_rx = %d
\n
"
,
proc
->
frame_rx
,
proc
->
tti_rx
);
LOG_D
(
PHY
,
"Copying rxdataF from RU to gNB
\n
"
);
...
...
executables/nr-ue.c
View file @
d12a8244
...
...
@@ -432,12 +432,13 @@ void UE_processing(void *arg) {
(UE->frame_parms.frame_type == FDD) )
#endif
*/
//if (proc->nr_tti_tx == NR_UPLINK_SLOT){
if
(
proc
->
nr_tti_tx
==
NR_UPLINK_SLOT
||
UE
->
frame_parms
.
frame_type
==
FDD
){
if
(
UE
->
mode
!=
loop_through_memory
)
phy_procedures_nrUE_TX
(
UE
,
proc
,
0
,
0
);
//
}
}
//phy_procedures_UE_TX(UE,proc,0,0,UE->mode,no_relay);
...
...
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