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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
6b676d16
Commit
6b676d16
authored
Oct 06, 2020
by
Laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation issues
parent
4772f7f6
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
138 additions
and
129 deletions
+138
-129
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+123
-122
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+3
-2
openair1/SIMULATION/NR_PHY/prachsim.c
openair1/SIMULATION/NR_PHY/prachsim.c
+4
-2
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+4
-2
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+2
-0
openair2/LAYER2/RLC/rlc.h
openair2/LAYER2/RLC/rlc.h
+1
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+1
-0
No files found.
cmake_targets/CMakeLists.txt
View file @
6b676d16
This diff is collapsed.
Click to expand it.
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
6b676d16
...
...
@@ -66,8 +66,9 @@
#define inMicroS(a) (((double)(a))/(cpu_freq_GHz*1000.0))
#include "SIMULATION/LTE_PHY/common_sim.h"
#include <openair2/LAYER2/MAC/mac_vars.h>
#include <openair2/RRC/LTE/rrc_vars.h>
unsigned
char
NB_eNB_INST
=
0
;
LCHAN_DESC
DCCH_LCHAN_DESC
,
DTCH_DL_LCHAN_DESC
,
DTCH_UL_LCHAN_DESC
;
rlc_info_t
Rlc_info_um
,
Rlc_info_am_config
;
...
...
@@ -81,7 +82,6 @@ double cpuf;
int
sf_ahead
=
4
;
int
sl_ahead
=
0
;
uint8_t
nfapi_mode
=
0
;
uint16_t
NB_UE_INST
=
1
;
uint64_t
downlink_frequency
[
MAX_NUM_CCs
][
4
];
// dummy functions
...
...
@@ -188,6 +188,7 @@ int main(int argc, char **argv)
SCM_t
channel_model
=
AWGN
;
//Rayleigh1_anticorr;
NB_UE_INST
=
1
;
//double pbch_sinr;
//int pbch_tx_ant;
int
N_RB_DL
=
106
,
mu
=
1
;
...
...
openair1/SIMULATION/NR_PHY/prachsim.c
View file @
6b676d16
...
...
@@ -45,11 +45,13 @@
#include "PHY/NR_UE_TRANSPORT/nr_transport_proto_ue.h"
#include "nr_unitary_defs.h"
#include "OCG_vars.h"
#include <openair2/LAYER2/MAC/mac_vars.h>
#include <openair2/RRC/LTE/rrc_vars.h>
#define NR_PRACH_DEBUG 1
#define PRACH_WRITE_OUTPUT_DEBUG 1
unsigned
char
NB_eNB_INST
=
0
;
LCHAN_DESC
DCCH_LCHAN_DESC
,
DTCH_DL_LCHAN_DESC
,
DTCH_UL_LCHAN_DESC
;
rlc_info_t
Rlc_info_um
,
Rlc_info_am_config
;
...
...
@@ -59,7 +61,6 @@ RAN_CONTEXT_t RC;
RU_t
*
ru
;
double
cpuf
;
extern
uint16_t
prach_root_sequence_map0_3
[
838
];
uint16_t
NB_UE_INST
=
1
;
openair0_config_t
openair0_cfg
[
MAX_CARDS
];
uint8_t
nfapi_mode
=
0
;
int
sl_ahead
=
0
;
...
...
@@ -114,6 +115,7 @@ int main(int argc, char **argv){
uint32_t
tx_lev
=
10000
,
prach_errors
=
0
,
samp_count
;
//,tx_lev_dB;
uint64_t
SSB_positions
=
0x01
,
absoluteFrequencyPointA
=
640000
;
double
DS_TDL
=
.
03
;
NB_UE_INST
=
1
;
// int8_t interf1=-19,interf2=-19;
// uint8_t abstraction_flag=0,calibration_flag=0;
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
6b676d16
...
...
@@ -58,9 +58,11 @@
#define inMicroS(a) (((double)(a))/(cpu_freq_GHz*1000.0))
#include "SIMULATION/LTE_PHY/common_sim.h"
#include <openair2/LAYER2/MAC/mac_vars.h>
#include <openair2/RRC/LTE/rrc_vars.h>
//#define DEBUG_ULSIM
unsigned
char
NB_eNB_INST
=
0
;
LCHAN_DESC
DCCH_LCHAN_DESC
,
DTCH_DL_LCHAN_DESC
,
DTCH_UL_LCHAN_DESC
;
rlc_info_t
Rlc_info_um
,
Rlc_info_am_config
;
...
...
@@ -73,7 +75,6 @@ int sf_ahead=4 ;
int
sl_ahead
=
0
;
double
cpuf
;
uint8_t
nfapi_mode
=
0
;
uint16_t
NB_UE_INST
=
1
;
uint64_t
downlink_frequency
[
MAX_NUM_CCs
][
4
];
...
...
@@ -156,6 +157,7 @@ int main(int argc, char **argv)
uint16_t
N_RB_DL
=
106
,
N_RB_UL
=
106
,
mu
=
1
;
double
tx_gain
=
1
.
0
;
double
N0
=
30
;
NB_UE_INST
=
1
;
//unsigned char frame_type = 0;
NR_DL_FRAME_PARMS
*
frame_parms
;
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
6b676d16
...
...
@@ -56,6 +56,8 @@
#include "flexran.pb-c.h"
#include "flexran_agent_mac.h"
#include <dlfcn.h>
#include <openair2/LAYER2/MAC/mac.h>
#include "T.h"
...
...
openair2/LAYER2/RLC/rlc.h
View file @
6b676d16
...
...
@@ -143,7 +143,7 @@ void (*rlc_rrc_data_conf)(
const
protocol_ctxt_t
*
const
ctxtP
,
const
rb_id_t
rb_idP
,
const
mui_t
muiP
,
const
rlc_tx_status_t
statusP
);
const
rlc_tx_status_t
statusP
)
__attribute__
((
aligned
(
32
)))
;
typedef
void
(
rrc_data_ind_cb_t
)(
const
protocol_ctxt_t
*
const
ctxtP
,
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
6b676d16
...
...
@@ -82,6 +82,7 @@
#include "executables/softmodem-common.h"
#include <openair2/RRC/NR/rrc_gNB_UE_context.h>
#include <openair2/X2AP/x2ap_eNB.h>
//#define XER_PRINT
...
...
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