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
5294bc4f
Commit
5294bc4f
authored
Jan 23, 2021
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
warnings and unitary simulation bulding
parent
ef1fb827
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
19 additions
and
14 deletions
+19
-14
openair1/PHY/CODING/TESTBENCH/ldpctest.c
openair1/PHY/CODING/TESTBENCH/ldpctest.c
+3
-2
openair1/PHY/INIT/nr_init_ue.c
openair1/PHY/INIT/nr_init_ue.c
+2
-1
openair1/PHY/LTE_TRANSPORT/pucch.c
openair1/PHY/LTE_TRANSPORT/pucch.c
+1
-1
openair1/PHY/impl_defs_nr.h
openair1/PHY/impl_defs_nr.h
+1
-0
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+1
-0
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+2
-0
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
+0
-2
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+2
-2
targets/RT/USER/eNB_usrp.gtkw
targets/RT/USER/eNB_usrp.gtkw
+7
-6
No files found.
openair1/PHY/CODING/TESTBENCH/ldpctest.c
View file @
5294bc4f
...
...
@@ -28,7 +28,8 @@
#include "PHY/CODING/nrLDPC_extern.h"
#include "openair1/SIMULATION/NR_PHY/nr_unitary_defs.h"
#include "openair1/PHY/CODING/nrLDPC_decoder_LYC/nrLDPC_decoder_LYC.h"
#define MAX_NUM_DLSCH_SEGMENTS 16
#include "openair1/PHY/defs_nr_common.h"
#define MAX_BLOCK_LENGTH 8448
#ifndef malloc16
...
...
@@ -118,7 +119,7 @@ int test_ldpc(short No_iteration,
opp_enabled
=
1
;
cpu_freq_GHz
=
get_cpu_freq_GHz
();
//short test_input[block_length];
unsigned
char
*
test_input
[
MAX_NUM_DLSCH_SEGMENTS
]
=
{
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
};;
unsigned
char
*
test_input
[
MAX_NUM_
NR_
DLSCH_SEGMENTS
]
=
{
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
};;
//short *c; //padded codeword
unsigned
char
*
estimated_output
[
MAX_NUM_DLSCH_SEGMENTS
];
unsigned
char
*
estimated_output_bit
[
MAX_NUM_DLSCH_SEGMENTS
];
...
...
openair1/PHY/INIT/nr_init_ue.c
View file @
5294bc4f
...
...
@@ -28,6 +28,7 @@
#include "TDD-Config.h"
#include "MBSFN-SubframeConfigList.h"*/
#include "openair1/PHY/defs_RU.h"
#include "openair1/PHY/impl_defs_nr.h"
#include "common/utils/LOG/vcd_signal_dumper.h"
#include "assertions.h"
#include <math.h>
...
...
@@ -505,7 +506,7 @@ int init_nr_ue_signal(PHY_VARS_NR_UE *ue,
}
for
(
i
=
0
;
i
<
MAX_NR_OF_DL_ALLOCATIONS
;
i
++
){
ue
->
PDSCH_Config
.
pdsch_TimeDomainResourceAllocation
[
i
]
=
(
NR_PDSCH_TimeDomainResourceAllocation_t
*
)
malloc16
(
sizeof
(
NR_
PDSCH_TimeDomainResourceAllocation_t
));
ue
->
PDSCH_Config
.
pdsch_TimeDomainResourceAllocation
[
i
]
=
(
PDSCH_TimeDomainResourceAllocation_t
*
)
malloc16
(
sizeof
(
PDSCH_TimeDomainResourceAllocation_t
));
ue
->
PDSCH_Config
.
pdsch_TimeDomainResourceAllocation
[
i
]
->
mappingType
=
typeA
;
}
...
...
openair1/PHY/LTE_TRANSPORT/pucch.c
View file @
5294bc4f
...
...
@@ -849,7 +849,7 @@ uint32_t rx_pucch(PHY_VARS_eNB *eNB,
break
;
}
else
if
(
first_uci_stats
==
NULL
&&
eNB
->
uci_stats
[
i
].
rnti
==
0
)
first_uci_stats
=
&
eNB
->
uci_stats
[
i
];
if
(
uci_stats
==
NULL
)
{
uci_stats
=
first_uci_stats
;
uci_stats
->
rnti
=
eNB
->
u
lsch
[
UCI_id
]
->
rnti
;}
if
(
uci_stats
==
NULL
)
{
uci_stats
=
first_uci_stats
;
uci_stats
->
rnti
=
eNB
->
u
ci_vars
[
UCI_id
].
rnti
;}
AssertFatal
(
uci_stats
!=
NULL
,
"No stat index found
\n
"
);
uci_stats
->
frame
=
frame
;
...
...
openair1/PHY/impl_defs_nr.h
View file @
5294bc4f
...
...
@@ -455,6 +455,7 @@ typedef struct {
*/
maxNrofCodeWordsScheduledByDCI_t
maxNrofCodeWordsScheduledByDCI
;
PDSCH_TimeDomainResourceAllocation_t
*
pdsch_TimeDomainResourceAllocation
[
MAX_NR_OF_DL_ALLOCATIONS
];
}
PDSCH_Config_t
;
...
...
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
5294bc4f
...
...
@@ -84,6 +84,7 @@ int sl_ahead=0;
uint8_t
nfapi_mode
=
0
;
uint64_t
downlink_frequency
[
MAX_NUM_CCs
][
4
];
int
usrp_tx_thread
=
0
;
// dummy functions
int
dummy_nr_ue_ul_indication
(
nr_uplink_indication_t
*
ul_info
)
{
return
(
0
);
}
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
5294bc4f
...
...
@@ -141,6 +141,8 @@ double s_re1[122880],s_im1[122880],r_re1[122880],r_im1[122880];
double
r_re2
[
122880
],
r_im2
[
122880
];
double
r_re3
[
122880
],
r_im3
[
122880
];
int
usrp_tx_thread
=
0
;
int
main
(
int
argc
,
char
**
argv
)
{
char
c
;
...
...
openair2/RRC/LTE/MESSAGES/asn1_msg.c
View file @
5294bc4f
...
...
@@ -3220,8 +3220,6 @@ uint8_t do_UECapabilityEnquiry( const protocol_ctxt_t *const ctxt_pP,
dl_dcch_msg
.
message
.
choice
.
c1
.
choice
.
ueCapabilityEnquiry
.
criticalExtensions
.
choice
.
c1
.
choice
.
ueCapabilityEnquiry_r8
.
ue_CapabilityRequest
.
list
.
count
=
0
;
ASN_SEQUENCE_ADD
(
&
dl_dcch_msg
.
message
.
choice
.
c1
.
choice
.
ueCapabilityEnquiry
.
criticalExtensions
.
choice
.
c1
.
choice
.
ueCapabilityEnquiry_r8
.
ue_CapabilityRequest
.
list
,
&
rat
);
LTE_RAT_Type_t
rat_nr
=
LTE_RAT_Type_nr
;
LTE_RAT_Type_t
rat_eutra_nr
=
LTE_RAT_Type_eutra_nr
;
LTE_UECapabilityEnquiry_r8_IEs_t
*
r8
=
&
dl_dcch_msg
.
message
.
choice
.
c1
.
choice
.
ueCapabilityEnquiry
.
criticalExtensions
.
choice
.
c1
.
choice
.
ueCapabilityEnquiry_r8
;
LTE_UECapabilityEnquiry_v8a0_IEs_t
r8_a0
;
LTE_UECapabilityEnquiry_v1180_IEs_t
r11_80
;
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
5294bc4f
...
...
@@ -1283,7 +1283,7 @@ rrc_eNB_generate_UECapabilityEnquiry(
T
(
T_ENB_RRC_UE_CAPABILITY_ENQUIRY
,
T_INT
(
ctxt_pP
->
module_id
),
T_INT
(
ctxt_pP
->
frame
),
T_INT
(
ctxt_pP
->
subframe
),
T_INT
(
ctxt_pP
->
rnti
));
int16_t
eutra_band
=
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
configuration
.
eutra_band
[
0
];
uint32_t
nr_band
=
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
nr_neigh_freq_band
[
0
][
0
];
uint32_t
nr_band
=
78
;
//
RC.rrc[ctxt_pP->module_id]->nr_neigh_freq_band[0][0];
size
=
do_UECapabilityEnquiry
(
ctxt_pP
,
buffer
,
...
...
@@ -1333,7 +1333,7 @@ rrc_eNB_generate_NR_UECapabilityEnquiry(
T
(
T_ENB_RRC_UE_CAPABILITY_ENQUIRY
,
T_INT
(
ctxt_pP
->
module_id
),
T_INT
(
ctxt_pP
->
frame
),
T_INT
(
ctxt_pP
->
subframe
),
T_INT
(
ctxt_pP
->
rnti
));
int16_t
eutra_band
=
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
configuration
.
eutra_band
[
0
];
uint32_t
nr_band
=
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
nr_neigh_freq_band
[
0
][
0
];
uint32_t
nr_band
=
78
;
//
RC.rrc[ctxt_pP->module_id]->nr_neigh_freq_band[0][0];
size
=
do_NR_UECapabilityEnquiry
(
ctxt_pP
,
buffer
,
...
...
targets/RT/USER/eNB_usrp.gtkw
View file @
5294bc4f
[*]
[*] GTKWave Analyzer v3.3.66 (w)1999-2015 BSI
[*]
Wed Jan 20 05:55:49
2021
[*]
Thu Jan 21 13:54:47
2021
[*]
[dumpfile] "/home/eurecom/raymond/openair_eNB_dump.vcd"
[dumpfile_mtime] "
Wed Jan 20 05:52:03
2021"
[dumpfile_size]
74759060
[dumpfile_mtime] "
Thu Jan 21 13:51:28
2021"
[dumpfile_size]
335122
[savefile] "/home/eurecom/raymond/openairinterface5g_2/openairinterface5g/targets/RT/USER/eNB_usrp.gtkw"
[timestart]
3243907
0000
[timestart]
1146880
0000
[size] 1892 841
[pos] -1 -1
*-21.832302 7639830000 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
...
...
@@ -20,11 +20,12 @@ functions.trx_write
@24
variables.trx_ts[63:0]
variables.trx_tst[63:0]
@25
variables.trx_write_flags[63:0]
@28
functions.eNB_thread_rxtx0
@421
variables.l1_proc_tx_ic[63:0]
@420
variables.l1_proc_tx_ic[63:0]
variables.l1_proc_ic[63:0]
@24
variables.frame_number_RX0_RU[63:0]
...
...
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