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
canghaiwuhen
OpenXG-RAN
Commits
a531c517
Commit
a531c517
authored
Apr 27, 2017
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update defs.h
parent
1bbdc2dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
20 deletions
+31
-20
openair2/LAYER2/MAC/defs.h
openair2/LAYER2/MAC/defs.h
+31
-20
No files found.
openair2/LAYER2/MAC/defs.h
View file @
a531c517
...
@@ -340,9 +340,9 @@ typedef struct {
...
@@ -340,9 +340,9 @@ typedef struct {
/// num active users
/// num active users
uint16_t
num_dlactive_UEs
;
uint16_t
num_dlactive_UEs
;
/// available number of PRBs for a give SF fix
to
1 in NB-IoT
/// available number of PRBs for a give SF fix
ed in
1 in NB-IoT
uint16_t
available_prbs
;
uint16_t
available_prbs
;
/// total number of PRB available for the user plane in NB-IoT
/// total number of PRB available for the user plane
fixed in 1
in NB-IoT
uint32_t
total_available_prbs
;
uint32_t
total_available_prbs
;
/// aggregation
/// aggregation
/// total avilable nccc : num control channel element
/// total avilable nccc : num control channel element
...
@@ -390,15 +390,15 @@ typedef struct {
...
@@ -390,15 +390,15 @@ typedef struct {
rnti_t
crnti
;
///user id (rnti) of connected UEs
rnti_t
crnti
;
///user id (rnti) of connected UEs
// rrc status
// rrc status
uint8_t
rrc_status
;
uint8_t
rrc_status
;
/// harq pid
set to 1 in NB-IoT
/// harq pid
uint8_t
harq_pid
;
uint8_t
harq_pid
;
/// harq rounf
/// harq rounf
uint8_t
harq_round
;
uint8_t
harq_round
;
/// DL Wideband CQI index (2 TBs)
/// DL Wideband CQI index (2 TBs)
//
uint8_t dl_cqi;
uint8_t
dl_cqi
;
/// total available number of PRBs for a new transmission
fix to 1 in NB-IoT
/// total available number of PRBs for a new transmission
uint16_t
rbs_used
;
uint16_t
rbs_used
;
/// total available number of PRBs for a retransmission
fix to 1 in NB-IoT
/// total available number of PRBs for a retransmission
uint16_t
rbs_used_retx
;
uint16_t
rbs_used_retx
;
/// total nccc used for a new transmission: num control channel element
/// total nccc used for a new transmission: num control channel element
uint16_t
ncce_used
;
uint16_t
ncce_used
;
...
@@ -729,9 +729,9 @@ typedef struct {
...
@@ -729,9 +729,9 @@ typedef struct {
/*! \brief UE list used by eNB to order UEs/CC for scheduling*/
/*! \brief UE list used by eNB to order UEs/CC for scheduling*/
typedef
struct
{
typedef
struct
{
/// DLSCH pdu
/// DLSCH pdu
DLSCH_PDU
DLSCH_pdu
[
MAX_NUM_CCs
][
2
][
NUMBER_OF_UE_MAX
];
DLSCH_PDU
_NB
DLSCH_pdu
[
MAX_NUM_CCs
][
2
][
NUMBER_OF_UE_MAX
];
/// DCI template and MAC connection parameters for UEs
/// DCI template and MAC connection parameters for UEs
UE_TEMPLATE
UE_template
[
MAX_NUM_CCs
][
NUMBER_OF_UE_MAX
];
UE_TEMPLATE
_NB
UE_template
[
MAX_NUM_CCs
][
NUMBER_OF_UE_MAX
];
/// DCI template and MAC connection for RA processes
/// DCI template and MAC connection for RA processes
int
pCC_id
[
NUMBER_OF_UE_MAX
];
int
pCC_id
[
NUMBER_OF_UE_MAX
];
/// Delete sorted downlink component carrier for the scheduler
/// Delete sorted downlink component carrier for the scheduler
...
@@ -760,15 +760,26 @@ typedef struct {
...
@@ -760,15 +760,26 @@ typedef struct {
/*! \brief eNB common channels */
/*! \brief eNB common channels */
typedef
struct
{
typedef
struct
{
int
physCellId
;
int
p_eNB
;
int
Ncp
;
int
eutra_band
;
uint32_t
dl_CarrierFreq
;
BCCH_BCH_Message_NB_t
*
mib
;
RadioResourceConfigCommonSIB_NB_r13
*
radioResourceConfigCommon
;
ARFCN_ValueEUTRA_r9_t
ul_CarrierFreq
;
struct
MasterInformationBlock_NB__operationModeInfo_r13_u
operationModeInfo
;
/// Outgoing DCI for PHY generated by eNB scheduler
/// Outgoing DCI for PHY generated by eNB scheduler
DCI_PDU
DCI_pdu
;
DCI_PDU
_NB
DCI_pdu
;
/// Outgoing BCCH pdu for PHY
/// Outgoing BCCH pdu for PHY
BCCH_PDU
BCCH_pdu
;
BCCH_PDU
_NB
BCCH_pdu
;
/// Outgoing BCCH DCI allocation
/// Outgoing BCCH DCI allocation
uint32_t
BCCH_alloc_pdu
;
uint32_t
BCCH_alloc_pdu
;
/// Outgoing CCCH pdu for PHY
/// Outgoing CCCH pdu for PHY
CCCH_PDU
CCCH_pdu
;
CCCH_PDU
CCCH_pdu
;
RA_TEMPLATE
RA_template
[
NB_RA_PROC_MAX
];
RA_TEMPLATE
_NB
RA_template
[
NB_RA_PROC_MAX
];
/// Delete VRB map for common channels
/// Delete VRB map for common channels
/// Delete MBSFN SubframeConfig
/// Delete MBSFN SubframeConfig
...
@@ -815,8 +826,8 @@ typedef struct {
...
@@ -815,8 +826,8 @@ typedef struct {
/// subframe counter
/// subframe counter
sub_frame_t
subframe
;
sub_frame_t
subframe
;
/// Common cell resources
/// Common cell resources
COMMON_channels_t
common_channels
[
MAX_NUM_CCs
];
COMMON_channels_t
_NB
common_channels
[
MAX_NUM_CCs
];
UE_list_t
UE_list
;
UE_list_t
_NB
UE_list
;
///Delete subband bitmap configuration, no related CQI report
///Delete subband bitmap configuration, no related CQI report
...
@@ -941,11 +952,11 @@ typedef struct {
...
@@ -941,11 +952,11 @@ typedef struct {
/// uplink active flag
/// uplink active flag
uint8_t
ul_active
;
uint8_t
ul_active
;
/// pointer to RRC PHY configuration
/// pointer to RRC PHY configuration
RadioResourceConfigCommonSIB_
t
*
radioResourceConfigCommon
;
RadioResourceConfigCommonSIB_
NB_r13
*
radioResourceConfigCommon
;
/// pointer to RACH_ConfigDedicated (NULL when not active, i.e. upon HO completion or T304 expiry)
/// pointer to RACH_ConfigDedicated (NULL when not active, i.e. upon HO completion or T304 expiry)
struct
RACH_ConfigDedicated
*
rach_ConfigDedicated
;
struct
RACH_ConfigDedicated
*
rach_ConfigDedicated
;
/// pointer to RRC PHY configuration
/// pointer to RRC PHY configuration
struct
PhysicalConfigDedicated
*
physicalConfigDedicated
;
struct
PhysicalConfigDedicated
_NB_r13
*
physicalConfigDedicated
;
#if defined(Rel10) || defined(Rel14)
#if defined(Rel10) || defined(Rel14)
/// Delete pointer to RRC PHY configuration SCEll
/// Delete pointer to RRC PHY configuration SCEll
...
@@ -957,15 +968,15 @@ typedef struct {
...
@@ -957,15 +968,15 @@ typedef struct {
/// Delete Array of adjacent physical cell ids
/// Delete Array of adjacent physical cell ids
/// Pointer to RRC MAC configuration
/// Pointer to RRC MAC configuration
MAC_MainConfig_
t
*
macConfig
;
MAC_MainConfig_
NB_r13
*
macConfig
;
/// Delete Pointer to RRC Measurement gap configuration
/// Delete Pointer to RRC Measurement gap configuration
/// Pointers to LogicalChannelConfig indexed by LogicalChannelIdentity. Note NULL means LCHAN is inactive.
/// Pointers to LogicalChannelConfig indexed by LogicalChannelIdentity. Note NULL means LCHAN is inactive.
LogicalChannelConfig_
t
*
logicalChannelConfig
[
MAX_NUM_LCID
];
LogicalChannelConfig_
NB_r13
*
logicalChannelConfig
[
MAX_NUM_LCID
];
/// Scheduling Information
/// Scheduling Information
UE_SCHEDULING_INFO
scheduling_info
;
UE_SCHEDULING_INFO
_NB
scheduling_info
;
/// Outgoing CCCH pdu for PHY
/// Outgoing CCCH pdu for PHY
CCCH_PDU
CCCH_pdu
;
CCCH_PDU
_NB
CCCH_pdu
;
/// Incoming DLSCH pdu for PHY
/// Incoming DLSCH pdu for PHY
//DLSCH_PDU DLSCH_pdu[NUMBER_OF_UE_MAX][2];
//DLSCH_PDU DLSCH_pdu[NUMBER_OF_UE_MAX][2];
/// number of attempt for rach
/// number of attempt for rach
...
...
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