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
ZhouShuya
OpenXG-RAN
Commits
705f2c1e
Commit
705f2c1e
authored
May 10, 2019
by
Khalid Ahmed
Committed by
Thomas Schlichter
Aug 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enabling PUSCH UE side in RT
parent
26f1e090
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
executables/nr-ue.c
executables/nr-ue.c
+4
-3
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+1
-0
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
+8
-1
No files found.
executables/nr-ue.c
View file @
705f2c1e
...
@@ -421,7 +421,7 @@ void UE_processing(void *arg) {
...
@@ -421,7 +421,7 @@ void UE_processing(void *arg) {
processSlotRX
(
UE
,
proc
);
processSlotRX
(
UE
,
proc
);
//printf(">>> mac ended\n");
//printf(">>> mac ended\n");
// Prepare the future Tx data
// Prepare the future Tx data
#if 0
/*
#ifndef NO_RAT_NR
#ifndef NO_RAT_NR
if (slot_select_nr(&UE->frame_parms, proc->frame_tx, proc->nr_tti_tx) & NR_UPLINK_SLOT)
if (slot_select_nr(&UE->frame_parms, proc->frame_tx, proc->nr_tti_tx) & NR_UPLINK_SLOT)
...
@@ -429,11 +429,12 @@ void UE_processing(void *arg) {
...
@@ -429,11 +429,12 @@ void UE_processing(void *arg) {
if ((subframe_select( &UE->frame_parms, proc->subframe_tx) == SF_UL) ||
if ((subframe_select( &UE->frame_parms, proc->subframe_tx) == SF_UL) ||
(UE->frame_parms.frame_type == FDD) )
(UE->frame_parms.frame_type == FDD) )
#endif
#endif
*/
if
(
UE
->
mode
!=
loop_through_memory
)
if
(
UE
->
mode
!=
loop_through_memory
)
phy_procedures_nrUE_TX
(
UE
,
proc
,
0
,
0
,
UE
->
mode
,
no_relay
);
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);
#endif
#if 0
#if 0
if ((subframe_select( &UE->frame_parms, proc->subframe_tx) == SF_S) &&
if ((subframe_select( &UE->frame_parms, proc->subframe_tx) == SF_S) &&
...
...
executables/nr-uesoftmodem.c
View file @
705f2c1e
...
@@ -784,6 +784,7 @@ int main( int argc, char **argv ) {
...
@@ -784,6 +784,7 @@ int main( int argc, char **argv ) {
PHY_vars_UE_g
[
0
][
CC_id
]
->
rf_map
.
chain
=
CC_id
+
chain_offset
;
PHY_vars_UE_g
[
0
][
CC_id
]
->
rf_map
.
chain
=
CC_id
+
chain_offset
;
#if defined(OAI_USRP) || defined(OAI_ADRV9371_ZC706)
#if defined(OAI_USRP) || defined(OAI_ADRV9371_ZC706)
PHY_vars_UE_g
[
0
][
CC_id
]
->
hw_timing_advance
=
timing_advance
;
PHY_vars_UE_g
[
0
][
CC_id
]
->
hw_timing_advance
=
timing_advance
;
PHY_vars_UE_g
[
0
][
CC_id
]
->
timing_advance
=
timing_advance
;
#else
#else
PHY_vars_UE_g
[
0
][
CC_id
]
->
hw_timing_advance
=
160
;
PHY_vars_UE_g
[
0
][
CC_id
]
->
hw_timing_advance
=
160
;
#endif
#endif
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
View file @
705f2c1e
...
@@ -383,11 +383,18 @@ uint8_t nr_ue_pusch_common_procedures(PHY_VARS_NR_UE *UE,
...
@@ -383,11 +383,18 @@ uint8_t nr_ue_pusch_common_procedures(PHY_VARS_NR_UE *UE,
int
tx_offset
,
ap
;
int
tx_offset
,
ap
;
int32_t
**
txdata
;
int32_t
**
txdata
;
int32_t
**
txdataF
;
int32_t
**
txdataF
;
int
timing_advance
;
/////////////////////////IFFT///////////////////////
/////////////////////////IFFT///////////////////////
///////////
///////////
tx_offset
=
slot
*
frame_parms
->
samples_per_slot
;
#if defined(EXMIMO) || defined(OAI_USRP) || defined(OAI_BLADERF) || defined(OAI_LMSSDR) || defined(OAI_ADRV9371_ZC706)
timing_advance
=
UE
->
timing_advance
;
#else
timing_advance
=
0
;
#endif
tx_offset
=
slot
*
frame_parms
->
samples_per_slot
-
timing_advance
;
txdata
=
UE
->
common_vars
.
txdata
;
txdata
=
UE
->
common_vars
.
txdata
;
txdataF
=
UE
->
common_vars
.
txdataF
;
txdataF
=
UE
->
common_vars
.
txdataF
;
...
...
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