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
promise
OpenXG-RAN
Commits
c7951965
Commit
c7951965
authored
5 years ago
by
Khalid Ahmed
Committed by
Thomas Schlichter
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TDD in rfsimulator
parent
dd26598a
Changes
3
Show 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 @
c7951965
...
@@ -191,7 +191,9 @@ static inline int rxtx(PHY_VARS_gNB *gNB,int frame_rx, int slot_rx, int frame_tx
...
@@ -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
// 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
;
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
);
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
);
}
}
...
...
This diff is collapsed.
Click to expand it.
executables/nr-ru.c
View file @
c7951965
...
@@ -1474,8 +1474,13 @@ static void *ru_thread( void *param ) {
...
@@ -1474,8 +1474,13 @@ static void *ru_thread( void *param ) {
if
(
ru
->
idx
!=
0
)
proc
->
frame_tx
=
(
proc
->
frame_tx
+
proc
->
frame_offset
)
&
1023
;
if
(
ru
->
idx
!=
0
)
proc
->
frame_tx
=
(
proc
->
frame_tx
+
proc
->
frame_offset
)
&
1023
;
// do RX front-end processing (frequency-shift, dft) if needed
// do RX front-end processing (frequency-shift, dft) if needed
if
(
proc
->
tti_rx
==
NR_UPLINK_SLOT
||
fp
->
frame_type
==
FDD
)
{
if
(
ru
->
feprx
)
ru
->
feprx
(
ru
,
proc
->
tti_rx
);
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
,
"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
"
);
LOG_D
(
PHY
,
"Copying rxdataF from RU to gNB
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
executables/nr-ue.c
View file @
c7951965
...
@@ -432,12 +432,13 @@ void UE_processing(void *arg) {
...
@@ -432,12 +432,13 @@ void UE_processing(void *arg) {
(UE->frame_parms.frame_type == FDD) )
(UE->frame_parms.frame_type == FDD) )
#endif
#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
)
if
(
UE
->
mode
!=
loop_through_memory
)
phy_procedures_nrUE_TX
(
UE
,
proc
,
0
,
0
);
phy_procedures_nrUE_TX
(
UE
,
proc
,
0
,
0
);
//
}
}
//phy_procedures_UE_TX(UE,proc,0,0,UE->mode,no_relay);
//phy_procedures_UE_TX(UE,proc,0,0,UE->mode,no_relay);
...
...
This diff is collapsed.
Click to expand it.
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