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
wangjie
OpenXG-RAN
Commits
a0cd4494
Commit
a0cd4494
authored
Oct 18, 2019
by
Guido Casati
Committed by
cig
Dec 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix uninitialised vars and conflicting types in simulators after merge
parent
0b873bb6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
6 deletions
+10
-6
openair1/SIMULATION/NR_PHY/dlschsim.c
openair1/SIMULATION/NR_PHY/dlschsim.c
+1
-1
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+1
-1
openair1/SIMULATION/NR_PHY/pbchsim.c
openair1/SIMULATION/NR_PHY/pbchsim.c
+1
-1
openair1/SIMULATION/NR_PHY/pucchsim.c
openair1/SIMULATION/NR_PHY/pucchsim.c
+1
-1
openair1/SIMULATION/NR_PHY/ulschsim.c
openair1/SIMULATION/NR_PHY/ulschsim.c
+1
-1
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+5
-1
No files found.
openair1/SIMULATION/NR_PHY/dlschsim.c
View file @
a0cd4494
...
...
@@ -56,7 +56,7 @@ RAN_CONTEXT_t RC;
int32_t
uplink_frequency_offset
[
MAX_NUM_CCs
][
4
];
double
cpuf
;
in
t
nfapi_mode
=
0
;
uint8_
t
nfapi_mode
=
0
;
uint16_t
NB_UE_INST
=
1
;
// needed for some functions
...
...
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
a0cd4494
...
...
@@ -63,7 +63,7 @@ RAN_CONTEXT_t RC;
int32_t
uplink_frequency_offset
[
MAX_NUM_CCs
][
4
];
double
cpuf
;
int
nfapi_mode
=
0
;
uint8_t
nfapi_mode
=
0
;
uint16_t
NB_UE_INST
=
1
;
//Dummy Functions
...
...
openair1/SIMULATION/NR_PHY/pbchsim.c
View file @
a0cd4494
...
...
@@ -55,7 +55,7 @@ RAN_CONTEXT_t RC;
int32_t
uplink_frequency_offset
[
MAX_NUM_CCs
][
4
];
double
cpuf
;
int
nfapi_mode
=
0
;
uint8_t
nfapi_mode
=
0
;
uint16_t
NB_UE_INST
=
1
;
// needed for some functions
...
...
openair1/SIMULATION/NR_PHY/pucchsim.c
View file @
a0cd4494
...
...
@@ -53,7 +53,7 @@ openair0_config_t openair0_cfg[MAX_CARDS];
int32_t
uplink_frequency_offset
[
MAX_NUM_CCs
][
4
];
double
cpuf
;
int
nfapi_mode
=
0
;
uint8_t
nfapi_mode
=
0
;
uint16_t
NB_UE_INST
=
1
;
// needed for some functions
...
...
openair1/SIMULATION/NR_PHY/ulschsim.c
View file @
a0cd4494
...
...
@@ -55,7 +55,7 @@ RAN_CONTEXT_t RC;
int32_t
uplink_frequency_offset
[
MAX_NUM_CCs
][
4
];
double
cpuf
;
in
t
nfapi_mode
=
0
;
uint8_
t
nfapi_mode
=
0
;
uint16_t
NB_UE_INST
=
1
;
// needed for some functions
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
a0cd4494
...
...
@@ -64,7 +64,7 @@ RAN_CONTEXT_t RC;
int32_t
uplink_frequency_offset
[
MAX_NUM_CCs
][
4
];
double
cpuf
;
in
t
nfapi_mode
=
0
;
uint8_
t
nfapi_mode
=
0
;
uint16_t
NB_UE_INST
=
1
;
// dummy functions
...
...
@@ -394,6 +394,10 @@ int main(int argc, char **argv)
gNB
=
RC
.
gNB
[
0
][
0
];
//gNB_config = &gNB->gNB_config;
//memset((void *)&gNB->UL_INFO,0,sizeof(gNB->UL_INFO));
gNB
->
UL_INFO
.
rx_ind
.
rx_indication_body
.
rx_pdu_list
=
(
nfapi_rx_indication_pdu_t
*
)
malloc
(
NB_UE_INST
*
sizeof
(
nfapi_rx_indication_pdu_t
));
gNB
->
UL_INFO
.
rx_ind
.
rx_indication_body
.
number_of_pdus
=
0
;
frame_parms
=
&
gNB
->
frame_parms
;
//to be initialized I suppose (maybe not necessary for PBCH)
frame_parms
->
nb_antennas_tx
=
n_tx
;
frame_parms
->
nb_antennas_rx
=
n_rx
;
...
...
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