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
wangwenhui
OpenXG-RAN
Commits
2b944d17
Commit
2b944d17
authored
Mar 07, 2020
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit before merge
parent
98714f31
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
8 deletions
+15
-8
openair1/SIMULATION/NR_PHY/nr_unitary_defs.h
openair1/SIMULATION/NR_PHY/nr_unitary_defs.h
+11
-4
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+1
-1
openair2/LAYER2/NR_MAC_UE/mac_defs.h
openair2/LAYER2/NR_MAC_UE/mac_defs.h
+1
-1
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
+2
-2
No files found.
openair1/SIMULATION/NR_PHY/nr_unitary_defs.h
View file @
2b944d17
...
@@ -55,10 +55,17 @@ signed char quantize(double D, double x, unsigned char B) {
...
@@ -55,10 +55,17 @@ signed char quantize(double D, double x, unsigned char B) {
return
((
char
)
qxd
);
return
((
char
)
qxd
);
}
}
int8_t
nr_ue_get_SR
(
module_id_t
module_idP
,
int
CC_id
,
frame_t
frameP
,
uint8_t
eNB_id
,
uint16_t
rnti
,
sub_frame_t
subframe
)
{
int8_t
AssertFatal
(
1
==
0
,
"Shouldn't be here ...
\n
"
);
mac_rrc_data_req_ue
(
return
0
;
const
module_id_t
Mod_idP
,
}
const
int
CC_id
,
const
frame_t
frameP
,
const
rb_id_t
Srb_id
,
const
uint8_t
Nb_tb
,
uint8_t
*
const
buffer_pP
,
const
mac_enb_index_t
eNB_indexP
,
const
uint8_t
mbsfn_sync_area
)
{
return
(
0
);}
int
oai_nfapi_rach_ind
(
nfapi_rach_indication_t
*
rach_ind
)
{
return
(
0
);}
int
oai_nfapi_rach_ind
(
nfapi_rach_indication_t
*
rach_ind
)
{
return
(
0
);}
NR_IF_Module_t
*
NR_IF_Module_init
(
int
Mod_id
){
return
(
NULL
);}
NR_IF_Module_t
*
NR_IF_Module_init
(
int
Mod_id
){
return
(
NULL
);}
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
2b944d17
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
#include "openair1/SIMULATION/TOOLS/sim.h"
#include "openair1/SIMULATION/TOOLS/sim.h"
#include "openair1/SIMULATION/RF/rf.h"
#include "openair1/SIMULATION/RF/rf.h"
#include "openair1/SIMULATION/NR_PHY/nr_unitary_defs.h"
#include "openair1/SIMULATION/NR_PHY/nr_unitary_defs.h"
#include "openair1/SIMULATION/NR_PHY/nr_dummy_functions.c"
//
#include "openair1/SIMULATION/NR_PHY/nr_dummy_functions.c"
#include "LAYER2/NR_MAC_UE/mac_proto.h"
#include "LAYER2/NR_MAC_UE/mac_proto.h"
#include "LAYER2/NR_MAC_gNB/mac_proto.h"
#include "LAYER2/NR_MAC_gNB/mac_proto.h"
...
...
openair2/LAYER2/NR_MAC_UE/mac_defs.h
View file @
2b944d17
...
@@ -75,7 +75,7 @@ typedef enum {
...
@@ -75,7 +75,7 @@ typedef enum {
}
SFN_C_TYPE
;
}
SFN_C_TYPE
;
typedef
enum
{
typedef
enum
{
RA_IDLE
=
0
,
RA_
UE_
IDLE
=
0
,
WAIT_RAR
=
1
,
WAIT_RAR
=
1
,
WAIT_CONTENTION_RESOLUTION
=
2
,
WAIT_CONTENTION_RESOLUTION
=
2
,
RA_SUCCEEDED
=
3
RA_SUCCEEDED
=
3
...
...
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
View file @
2b944d17
...
@@ -81,12 +81,12 @@ typedef enum {
...
@@ -81,12 +81,12 @@ typedef enum {
WAIT_Msg3
=
2
,
WAIT_Msg3
=
2
,
Msg4
=
3
,
Msg4
=
3
,
WAIT_Msg4_ACK
=
4
WAIT_Msg4_ACK
=
4
}
RA_state_t
;
}
RA_
gNB_
state_t
;
/*! \brief gNB template for the Random access information */
/*! \brief gNB template for the Random access information */
typedef
struct
{
typedef
struct
{
/// Flag to indicate this process is active
/// Flag to indicate this process is active
RA_state_t
state
;
RA_
gNB_
state_t
state
;
/// BWP id of RA process
/// BWP id of RA process
int
bwp_id
;
int
bwp_id
;
/// CORESET0 configured flag
/// CORESET0 configured flag
...
...
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