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
常顺宇
OpenXG-RAN
Commits
fe89f107
Commit
fe89f107
authored
May 20, 2019
by
Javier Morgade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup & CI F1 CD/DU Bugfix
parent
c3d9e779
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
35 additions
and
45 deletions
+35
-45
openair1/PHY/INIT/phy_init.h
openair1/PHY/INIT/phy_init.h
+4
-0
openair1/PHY/LTE_REFSIG/lte_refsig.h
openair1/PHY/LTE_REFSIG/lte_refsig.h
+2
-0
openair1/PHY/LTE_TRANSPORT/lte_mcs.c
openair1/PHY/LTE_TRANSPORT/lte_mcs.c
+1
-1
openair1/PHY/LTE_TRANSPORT/transport_common_proto.h
openair1/PHY/LTE_TRANSPORT/transport_common_proto.h
+2
-0
openair1/PHY/LTE_UE_TRANSPORT/pmch_ue.c
openair1/PHY/LTE_UE_TRANSPORT/pmch_ue.c
+2
-2
openair1/PHY/LTE_UE_TRANSPORT/transport_proto_ue.h
openair1/PHY/LTE_UE_TRANSPORT/transport_proto_ue.h
+6
-0
openair1/PHY/MODULATION/modulation_UE.h
openair1/PHY/MODULATION/modulation_UE.h
+4
-0
openair2/ENB_APP/enb_paramdef.h
openair2/ENB_APP/enb_paramdef.h
+1
-1
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/config.c
+1
-1
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
+1
-1
openair2/RRC/LTE/MESSAGES/asn1_msg.h
openair2/RRC/LTE/MESSAGES/asn1_msg.h
+1
-1
openair2/RRC/LTE/rrc_UE.c
openair2/RRC/LTE/rrc_UE.c
+4
-4
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+6
-34
No files found.
openair1/PHY/INIT/phy_init.h
View file @
fe89f107
...
@@ -257,6 +257,10 @@ void phy_config_sib13_ue(module_id_t Mod_id,
...
@@ -257,6 +257,10 @@ void phy_config_sib13_ue(module_id_t Mod_id,
int
CC_id
,
uint8_t
CH_index
,
int
mbsfn_Area_idx
,
int
CC_id
,
uint8_t
CH_index
,
int
mbsfn_Area_idx
,
long
mbsfn_AreaId_r9
);
long
mbsfn_AreaId_r9
);
/*void phy_config_sib1_fembms_ue(module_id_t Mod_id,int CC_id,
uint8_t eNB_id,
struct LTE_NonMBSFN_SubframeConfig_r14 *nonMBSFN_SubframeConfig);*/
/**
/**
\brief Configure eNB MBSFN common parameters.
\brief Configure eNB MBSFN common parameters.
\details Invoked upon transmission of SIB13 from eNB.
\details Invoked upon transmission of SIB13 from eNB.
...
...
openair1/PHY/LTE_REFSIG/lte_refsig.h
View file @
fe89f107
...
@@ -57,6 +57,8 @@ void lte_gold_ue_spec_port5(uint32_t lte_gold_uespec_port5_table[20][38],uint16_
...
@@ -57,6 +57,8 @@ void lte_gold_ue_spec_port5(uint32_t lte_gold_uespec_port5_table[20][38],uint16_
void
lte_gold_mbsfn
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
lte_gold_mbsfn_table
[
10
][
3
][
42
],
uint16_t
Nid_MBSFN
);
void
lte_gold_mbsfn
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
lte_gold_mbsfn_table
[
10
][
3
][
42
],
uint16_t
Nid_MBSFN
);
void
lte_gold_mbsfn_khz_1dot25
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
lte_gold_mbsfn_1khz_1dot25_table
[
10
][
150
],
uint16_t
Nid_MBSFN
);
/*! \brief This function generates the cell-specific reference signal sequence (36-211, Sec 6.10.1.1)
/*! \brief This function generates the cell-specific reference signal sequence (36-211, Sec 6.10.1.1)
@param phy_vars_eNB Pointer to eNB variables
@param phy_vars_eNB Pointer to eNB variables
...
...
openair1/PHY/LTE_TRANSPORT/lte_mcs.c
View file @
fe89f107
...
@@ -352,7 +352,7 @@ int get_G(LTE_DL_FRAME_PARMS *frame_parms,uint16_t nb_rb,uint32_t *rb_alloc,uint
...
@@ -352,7 +352,7 @@ int get_G(LTE_DL_FRAME_PARMS *frame_parms,uint16_t nb_rb,uint32_t *rb_alloc,uint
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
int
get_G_khz_1dot25
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint16_t
nb_rb
,
uint32_t
*
rb_alloc
,
uint8_t
mod_order
,
uint8_t
Nl
,
uint8_t
num_pdcch_symbols
,
int
frame
,
uint8_t
subframe
,
uint8_t
beamforming_mode
)
int
get_G_khz_1dot25
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint16_t
nb_rb
,
uint32_t
*
rb_alloc
,
uint8_t
mod_order
,
uint8_t
Nl
,
uint8_t
num_pdcch_symbols
,
int
frame
,
uint8_t
subframe
,
uint8_t
beamforming_mode
)
{
{
int
G_adj
;
//
int G_adj;
/*if (is_pmch_subframe(frame,subframe,frame_parms) == 0) {
/*if (is_pmch_subframe(frame,subframe,frame_parms) == 0) {
G_adj= adjust_G(frame_parms,rb_alloc,mod_order,subframe);
G_adj= adjust_G(frame_parms,rb_alloc,mod_order,subframe);
...
...
openair1/PHY/LTE_TRANSPORT/transport_common_proto.h
View file @
fe89f107
...
@@ -96,6 +96,8 @@ uint32_t conv_nprb(uint8_t ra_header,uint32_t rb_alloc,int N_RB_DL);
...
@@ -96,6 +96,8 @@ uint32_t conv_nprb(uint8_t ra_header,uint32_t rb_alloc,int N_RB_DL);
int
get_G
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint16_t
nb_rb
,
uint32_t
*
rb_alloc
,
uint8_t
mod_order
,
uint8_t
Nl
,
uint8_t
num_pdcch_symbols
,
int
frame
,
uint8_t
subframe
,
uint8_t
beamforming_mode
);
int
get_G
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint16_t
nb_rb
,
uint32_t
*
rb_alloc
,
uint8_t
mod_order
,
uint8_t
Nl
,
uint8_t
num_pdcch_symbols
,
int
frame
,
uint8_t
subframe
,
uint8_t
beamforming_mode
);
int
get_G_khz_1dot25
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint16_t
nb_rb
,
uint32_t
*
rb_alloc
,
uint8_t
mod_order
,
uint8_t
Nl
,
uint8_t
num_pdcch_symbols
,
int
frame
,
uint8_t
subframe
,
uint8_t
beamforming_mode
);
int
adjust_G
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
*
rb_alloc
,
uint8_t
mod_order
,
uint8_t
subframe
);
int
adjust_G
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
*
rb_alloc
,
uint8_t
mod_order
,
uint8_t
subframe
);
int
adjust_G2
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
*
rb_alloc
,
uint8_t
mod_order
,
uint8_t
subframe
,
uint8_t
symbol
);
int
adjust_G2
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
*
rb_alloc
,
uint8_t
mod_order
,
uint8_t
subframe
,
uint8_t
symbol
);
...
...
openair1/PHY/LTE_UE_TRANSPORT/pmch_ue.c
View file @
fe89f107
...
@@ -1450,12 +1450,12 @@ int rx_pmch_khz_1dot25(PHY_VARS_UE *ue,
...
@@ -1450,12 +1450,12 @@ int rx_pmch_khz_1dot25(PHY_VARS_UE *ue,
unsigned char symbol*/
unsigned char symbol*/
,
int
mcs
)
// currently work around TOFIX
,
int
mcs
)
// currently work around TOFIX
{
{
unsigned
int
symbol
;
//
unsigned int symbol;
LTE_UE_COMMON
*
common_vars
=
&
ue
->
common_vars
;
LTE_UE_COMMON
*
common_vars
=
&
ue
->
common_vars
;
LTE_UE_PDSCH
**
pdsch_vars
=
&
ue
->
pdsch_vars_MCH
[
eNB_id
];
LTE_UE_PDSCH
**
pdsch_vars
=
&
ue
->
pdsch_vars_MCH
[
eNB_id
];
LTE_DL_FRAME_PARMS
*
frame_parms
=
&
ue
->
frame_parms
;
LTE_DL_FRAME_PARMS
*
frame_parms
=
&
ue
->
frame_parms
;
LTE_UE_DLSCH_t
**
dlsch
=
&
ue
->
dlsch_MCH
[
eNB_id
];
//
LTE_UE_DLSCH_t **dlsch = &ue->dlsch_MCH[eNB_id];
int
avgs
,
aarx
;
int
avgs
,
aarx
;
...
...
openair1/PHY/LTE_UE_TRANSPORT/transport_proto_ue.h
View file @
fe89f107
...
@@ -72,6 +72,12 @@ int rx_pmch(PHY_VARS_UE *phy_vars_ue,
...
@@ -72,6 +72,12 @@ int rx_pmch(PHY_VARS_UE *phy_vars_ue,
uint8_t
subframe
,
uint8_t
subframe
,
unsigned
char
symbol
);
unsigned
char
symbol
);
int
rx_pmch_khz_1dot25
(
PHY_VARS_UE
*
ue
,
unsigned
char
eNB_id
,
uint8_t
subframe
/*,
unsigned char symbol*/
,
int
mcs
);
/** \brief Dump OCTAVE/MATLAB files for PMCH debugging
/** \brief Dump OCTAVE/MATLAB files for PMCH debugging
@param phy_vars_ue Pointer to UE variables
@param phy_vars_ue Pointer to UE variables
@param eNB_id index of eNB in ue variables
@param eNB_id index of eNB in ue variables
...
...
openair1/PHY/MODULATION/modulation_UE.h
View file @
fe89f107
...
@@ -52,6 +52,10 @@ int slot_fep_mbsfn(PHY_VARS_UE *phy_vars_ue,
...
@@ -52,6 +52,10 @@ int slot_fep_mbsfn(PHY_VARS_UE *phy_vars_ue,
int
sample_offset
,
int
sample_offset
,
int
no_prefix
);
int
no_prefix
);
int
slot_fep_mbsfn_khz_1dot25
(
PHY_VARS_UE
*
phy_vars_ue
,
int
subframe
,
int
sample_offset
);
int
front_end_fft
(
PHY_VARS_UE
*
ue
,
int
front_end_fft
(
PHY_VARS_UE
*
ue
,
unsigned
char
l
,
unsigned
char
l
,
unsigned
char
Ns
,
unsigned
char
Ns
,
...
...
openair2/ENB_APP/enb_paramdef.h
View file @
fe89f107
...
@@ -733,7 +733,7 @@ typedef struct ccparams_lte_s {
...
@@ -733,7 +733,7 @@ typedef struct ccparams_lte_s {
{ENB_CONFIG_STRING_UETIMERS_N311, NULL, 0, iptr:&ccparams.ue_TimersAndConstants_n311, defintval:1, TYPE_UINT, 0}, \
{ENB_CONFIG_STRING_UETIMERS_N311, NULL, 0, iptr:&ccparams.ue_TimersAndConstants_n311, defintval:1, TYPE_UINT, 0}, \
{ENB_CONFIG_STRING_UE_TRANSMISSION_MODE, NULL, 0, iptr:&ccparams.ue_TransmissionMode, defintval:1, TYPE_UINT, 0}, \
{ENB_CONFIG_STRING_UE_TRANSMISSION_MODE, NULL, 0, iptr:&ccparams.ue_TransmissionMode, defintval:1, TYPE_UINT, 0}, \
{ENB_CONFIG_STRING_UE_MULTIPLE_MAX, NULL, 0, iptr:&ccparams.ue_multiple_max, defintval:4, TYPE_UINT, 0}, \
{ENB_CONFIG_STRING_UE_MULTIPLE_MAX, NULL, 0, iptr:&ccparams.ue_multiple_max, defintval:4, TYPE_UINT, 0}, \
{ENB_CONFIG_STRING_MBMS_DEDICATED_SERVING_CELL, NULL, 0,
i
ptr:&ccparams.mbms_dedicated_serving_cell, defstrval:"DISABLE", TYPE_STRING, 0} \
{ENB_CONFIG_STRING_MBMS_DEDICATED_SERVING_CELL, NULL, 0,
str
ptr:&ccparams.mbms_dedicated_serving_cell, defstrval:"DISABLE", TYPE_STRING, 0} \
}
}
...
...
openair2/LAYER2/MAC/config.c
View file @
fe89f107
...
@@ -877,7 +877,7 @@ int rrc_mac_config_req_eNB(module_id_t Mod_idP,
...
@@ -877,7 +877,7 @@ int rrc_mac_config_req_eNB(module_id_t Mod_idP,
LOG_D
(
MAC
,
LOG_D
(
MAC
,
"[eNB %d][CONFIG] Received a non MBSFN subframe allocation pattern (%x,%x):%x for FeMBMS-CAS
\n
"
,
"[eNB %d][CONFIG] Received a non MBSFN subframe allocation pattern (%x,%x):%x for FeMBMS-CAS
\n
"
,
Mod_idP
,
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
0
],
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
1
],
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
0
]
<<
1
|
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
1
]
>>
7
);
Mod_idP
,
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
0
],
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
1
],
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
0
]
<<
1
|
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
1
]
>>
7
);
RC
.
mac
[
Mod_idP
]
->
common_channels
[
0
].
non_mbsfn_SubframeConfig
=
(
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
0
]
<<
1
|
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
1
]
>>
7
);
RC
.
mac
[
Mod_idP
]
->
common_channels
[
0
].
non_mbsfn_SubframeConfig
=
(
int
)(
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
0
]
<<
1
)
|
(
int
)(
nonMBSFN_SubframeConfig
->
subframeAllocation_r14
.
buf
[
1
]
>>
7
);
nfapi_config_request_t
*
cfg
=
&
RC
.
mac
[
Mod_idP
]
->
config
[
CC_idP
];
nfapi_config_request_t
*
cfg
=
&
RC
.
mac
[
Mod_idP
]
->
config
[
CC_idP
];
cfg
->
fembms_config
.
non_mbsfn_config_flag
.
value
=
1
;
cfg
->
fembms_config
.
non_mbsfn_config_flag
.
value
=
1
;
...
...
openair2/RRC/LTE/MESSAGES/asn1_msg.c
View file @
fe89f107
...
@@ -431,7 +431,7 @@ uint8_t do_SIB1_MBMS(rrc_eNB_carrier_data_t *carrier,
...
@@ -431,7 +431,7 @@ uint8_t do_SIB1_MBMS(rrc_eNB_carrier_data_t *carrier,
int
i
;
int
i
;
//LTE_NonMBSFN_SubframeConfig_r14 nonMBSFN_SubframeConfig_r14;
//LTE_NonMBSFN_SubframeConfig_r14 nonMBSFN_SubframeConfig_r14;
struct
LTE_MBSFN_AreaInfo_r9
*
MBSFN_Area1
,
*
MBSFN_Area2
;
struct
LTE_MBSFN_AreaInfo_r9
*
MBSFN_Area1
/*, *MBSFN_Area2*/
;
struct
LTE_NonMBSFN_SubframeConfig_r14
nonMBSFN_SubframeConfig_r14
;
struct
LTE_NonMBSFN_SubframeConfig_r14
nonMBSFN_SubframeConfig_r14
;
memset
(
bcch_message
,
0
,
sizeof
(
LTE_BCCH_DL_SCH_Message_MBMS_t
));
memset
(
bcch_message
,
0
,
sizeof
(
LTE_BCCH_DL_SCH_Message_MBMS_t
));
...
...
openair2/RRC/LTE/MESSAGES/asn1_msg.h
View file @
fe89f107
...
@@ -78,7 +78,7 @@ uint8_t do_MIB(rrc_eNB_carrier_data_t *carrier, uint32_t N_RB_DL, uint32_t phich
...
@@ -78,7 +78,7 @@ uint8_t do_MIB(rrc_eNB_carrier_data_t *carrier, uint32_t N_RB_DL, uint32_t phich
@param additional Non MBSFN Subframes parameter
@param additional Non MBSFN Subframes parameter
@param frame radio frame number
@param frame radio frame number
@return size of encoded bit stream in bytes*/
@return size of encoded bit stream in bytes*/
uint8_t
do_MIB_MBMS
(
rrc_eNB_carrier_data_t
*
carrier
,
uint32_t
N_RB_DL
,
uint32_t
additionalNonMBSFNSubframes
,
uint32_t
frame
);
uint8_t
do_MIB_
Fe
MBMS
(
rrc_eNB_carrier_data_t
*
carrier
,
uint32_t
N_RB_DL
,
uint32_t
additionalNonMBSFNSubframes
,
uint32_t
frame
);
/**
/**
\brief Generate configuration structure for DRX_Config
\brief Generate configuration structure for DRX_Config
@param Mod_id Instance of eNB
@param Mod_id Instance of eNB
...
...
openair2/RRC/LTE/rrc_UE.c
View file @
fe89f107
...
@@ -2632,7 +2632,7 @@ int decode_BCCH_MBMS_DLSCH_Message(
...
@@ -2632,7 +2632,7 @@ int decode_BCCH_MBMS_DLSCH_Message(
const
uint8_t
rsrq
,
const
uint8_t
rsrq
,
const
uint8_t
rsrp
)
{
const
uint8_t
rsrp
)
{
LTE_BCCH_DL_SCH_Message_MBMS_t
*
bcch_message
=
NULL
;
LTE_BCCH_DL_SCH_Message_MBMS_t
*
bcch_message
=
NULL
;
LTE_SystemInformationBlockType1_MBMS_r14_t
*
sib1_mbms
=
UE_rrc_inst
[
ctxt_pP
->
module_id
].
sib1_MBMS
[
eNB_index
];
//
LTE_SystemInformationBlockType1_MBMS_r14_t *sib1_mbms = UE_rrc_inst[ctxt_pP->module_id].sib1_MBMS[eNB_index];
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_UE_DECODE_BCCH
,
VCD_FUNCTION_IN
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_UE_DECODE_BCCH
,
VCD_FUNCTION_IN
);
/*if (((UE_rrc_inst[ctxt_pP->module_id].Info[eNB_index].SIStatus_MBMS&1) == 1) && // SIB1 received
/*if (((UE_rrc_inst[ctxt_pP->module_id].Info[eNB_index].SIStatus_MBMS&1) == 1) && // SIB1 received
...
@@ -2699,7 +2699,7 @@ int decode_BCCH_MBMS_DLSCH_Message(
...
@@ -2699,7 +2699,7 @@ int decode_BCCH_MBMS_DLSCH_Message(
LOG_W
(
RRC
,
"[UE %"
PRIu8
"] Decoding MBMS SI for frameP %"
PRIu32
"
\n
"
,
LOG_W
(
RRC
,
"[UE %"
PRIu8
"] Decoding MBMS SI for frameP %"
PRIu32
"
\n
"
,
ctxt_pP
->
module_id
,
ctxt_pP
->
module_id
,
ctxt_pP
->
frame
);
ctxt_pP
->
frame
);
//decode_SI( ctxt_pP, eNB_index );
decode_SI_MBMS
(
ctxt_pP
,
eNB_index
);
//TODO
//UE_mac_inst[ctxt_pP->module_id].SI_Decoded = 1;
//UE_mac_inst[ctxt_pP->module_id].SI_Decoded = 1;
//}
//}
}
}
...
@@ -3887,7 +3887,7 @@ void dump_sib21(LTE_SystemInformationBlockType21_r14_t *sib21) {
...
@@ -3887,7 +3887,7 @@ void dump_sib21(LTE_SystemInformationBlockType21_r14_t *sib21) {
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
int
decode_SI_MBMS
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
const
uint8_t
eNB_index
)
{
int
decode_SI_MBMS
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
const
uint8_t
eNB_index
)
{
LTE_SystemInformation_t
**
si
=
&
UE_rrc_inst
[
ctxt_pP
->
module_id
].
si
[
eNB_index
];
/*
LTE_SystemInformation_t **si = &UE_rrc_inst[ctxt_pP->module_id].si[eNB_index];
int new_sib = 0;
int new_sib = 0;
LTE_SystemInformationBlockType1_t *sib1 = UE_rrc_inst[ctxt_pP->module_id].sib1[eNB_index];
LTE_SystemInformationBlockType1_t *sib1 = UE_rrc_inst[ctxt_pP->module_id].sib1[eNB_index];
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_RRC_UE_DECODE_SI, VCD_FUNCTION_IN );
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_RRC_UE_DECODE_SI, VCD_FUNCTION_IN );
...
@@ -4241,7 +4241,7 @@ int decode_SI_MBMS( const protocol_ctxt_t *const ctxt_pP, const uint8_t eNB_inde
...
@@ -4241,7 +4241,7 @@ int decode_SI_MBMS( const protocol_ctxt_t *const ctxt_pP, const uint8_t eNB_inde
sib1->schedulingInfoList.list.count);
sib1->schedulingInfoList.list.count);
}
}
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_RRC_UE_DECODE_SI
,
VCD_FUNCTION_OUT
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_RRC_UE_DECODE_SI , VCD_FUNCTION_OUT);
*/
return
0
;
return
0
;
}
}
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
fe89f107
...
@@ -148,33 +148,6 @@ init_SI(
...
@@ -148,33 +148,6 @@ init_SI(
LTE_SystemInformationBlockType1_v1310_IEs_t
*
sib1_v13ext
=
(
LTE_SystemInformationBlockType1_v1310_IEs_t
*
)
NULL
;
LTE_SystemInformationBlockType1_v1310_IEs_t
*
sib1_v13ext
=
(
LTE_SystemInformationBlockType1_v1310_IEs_t
*
)
NULL
;
#endif
#endif
LOG_D
(
RRC
,
"%s()
\n\n\n\n
"
,
__FUNCTION__
);
LOG_D
(
RRC
,
"%s()
\n\n\n\n
"
,
__FUNCTION__
);
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
MIB
=
(
uint8_t
*
)
malloc16
(
4
);
// copy basic parameters
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
physCellId
=
configuration
->
Nid_cell
[
CC_id
];
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
p_eNB
=
configuration
->
nb_antenna_ports
[
CC_id
];
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
Ncp
=
configuration
->
prefix_type
[
CC_id
];
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
dl_CarrierFreq
=
configuration
->
downlink_frequency
[
CC_id
];
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
ul_CarrierFreq
=
configuration
->
downlink_frequency
[
CC_id
]
+
configuration
->
uplink_frequency_offset
[
CC_id
];
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
pbch_repetition
=
configuration
->
pbch_repetition
[
CC_id
];
#endif
LOG_I
(
RRC
,
"Configuring MIB (N_RB_DL %d,phich_Resource %d,phich_Duration %d)
\n
"
,
configuration
->
N_RB_DL
[
CC_id
],
(
int
)
configuration
->
radioresourceconfig
[
CC_id
].
phich_resource
,
(
int
)
configuration
->
radioresourceconfig
[
CC_id
].
phich_duration
);
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
LOG_I
(
RRC
,
"configuration->schedulingInfoSIB1_BR_r13[CC_id] %d
\n
"
,(
int
)
configuration
->
schedulingInfoSIB1_BR_r13
[
CC_id
]);
#endif
do_MIB
(
&
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
],
configuration
->
N_RB_DL
[
CC_id
],
(
int
)
configuration
->
radioresourceconfig
[
CC_id
].
phich_resource
,
(
int
)
configuration
->
radioresourceconfig
[
CC_id
].
phich_duration
,
0
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
,
configuration
->
schedulingInfoSIB1_BR_r13
[
CC_id
]
#endif
);
if
(
configuration
->
radioresourceconfig
[
CC_id
].
mbms_dedicated_serving_cell
==
TRUE
){
if
(
configuration
->
radioresourceconfig
[
CC_id
].
mbms_dedicated_serving_cell
==
TRUE
){
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
...
@@ -202,7 +175,7 @@ if(configuration->radioresourceconfig[CC_id].mbms_dedicated_serving_cell == TRUE
...
@@ -202,7 +175,7 @@ if(configuration->radioresourceconfig[CC_id].mbms_dedicated_serving_cell == TRUE
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" Contents of SIB1-MBMS
\n
"
,
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" Contents of SIB1-MBMS
\n
"
,
PROTOCOL_RRC_CTXT_ARGS
(
ctxt_pP
)
PROTOCOL_RRC_CTXT_ARGS
(
ctxt_pP
)
);
);
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" SIB1-MBMS freqBandIndicator_r14 %d
\n
"
,
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" SIB1-MBMS freqBandIndicator_r14 %
l
d
\n
"
,
PROTOCOL_RRC_CTXT_ARGS
(
ctxt_pP
),
PROTOCOL_RRC_CTXT_ARGS
(
ctxt_pP
),
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
freqBandIndicator_r14
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
freqBandIndicator_r14
);
);
...
@@ -234,10 +207,9 @@ if(configuration->radioresourceconfig[CC_id].mbms_dedicated_serving_cell == TRUE
...
@@ -234,10 +207,9 @@ if(configuration->radioresourceconfig[CC_id].mbms_dedicated_serving_cell == TRUE
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" SIB1-MBMS MCCH Signalling MCS: %ld
\n
"
,
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" SIB1-MBMS MCCH Signalling MCS: %ld
\n
"
,
PROTOCOL_RRC_CTXT_ARGS
(
ctxt_pP
),
PROTOCOL_RRC_CTXT_ARGS
(
ctxt_pP
),
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
systemInformationBlockType13_r14
->
mbsfn_AreaInfoList_r9
.
list
.
array
[
i
]
->
mcch_Config_r9
.
signallingMCS_r9
);
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
systemInformationBlockType13_r14
->
mbsfn_AreaInfoList_r9
.
list
.
array
[
i
]
->
mcch_Config_r9
.
signallingMCS_r9
);
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" SIB1-MBMS SIB13 sf_AllocInfo is = %s
\n
"
,
//LOG_I(RRC, PROTOCOL_RRC_CTXT_FMT" SIB1-MBMS SIB13 sf_AllocInfo is = %x\n",
PROTOCOL_RRC_CTXT_ARGS
(
ctxt_pP
),
// PROTOCOL_RRC_CTXT_ARGS(ctxt_pP),
i
,
// RC.rrc[ctxt_pP->module_id]->carrier[CC_id].sib1_MBMS->systemInformationBlockType13_r14->mbsfn_AreaInfoList_r9.list.array[i]->mcch_Config_r9.sf_AllocInfo_r9.buf);
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
systemInformationBlockType13_r14
->
mbsfn_AreaInfoList_r9
.
list
.
array
[
i
]
->
mcch_Config_r9
.
sf_AllocInfo_r9
.
buf
);
if
(
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
systemInformationBlockType13_r14
->
mbsfn_AreaInfoList_r9
.
list
.
array
[
i
]
->
ext1
)
{
if
(
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
systemInformationBlockType13_r14
->
mbsfn_AreaInfoList_r9
.
list
.
array
[
i
]
->
ext1
)
{
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" SIB1-MBMS Subcarrier Spacing MBMS: %s
\n
"
,
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" SIB1-MBMS Subcarrier Spacing MBMS: %s
\n
"
,
...
@@ -249,11 +221,11 @@ if(configuration->radioresourceconfig[CC_id].mbms_dedicated_serving_cell == TRUE
...
@@ -249,11 +221,11 @@ if(configuration->radioresourceconfig[CC_id].mbms_dedicated_serving_cell == TRUE
if
(
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
nonMBSFN_SubframeConfig_r14
)
{
if
(
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
nonMBSFN_SubframeConfig_r14
)
{
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" SIB1-MBMS non MBSFN Subframe Config radioFrameAllocationPeriod-r14 %d
\n
"
,
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" SIB1-MBMS non MBSFN Subframe Config radioFrameAllocationPeriod-r14 %
l
d
\n
"
,
PROTOCOL_RRC_CTXT_ARGS
(
ctxt_pP
),
PROTOCOL_RRC_CTXT_ARGS
(
ctxt_pP
),
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
nonMBSFN_SubframeConfig_r14
->
radioFrameAllocationPeriod_r14
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
nonMBSFN_SubframeConfig_r14
->
radioFrameAllocationPeriod_r14
);
);
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" SIB1-MBMS non MBSFN Subframe Config radioFrameAllocationOffset-r14 %d
\n
"
,
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_FMT
" SIB1-MBMS non MBSFN Subframe Config radioFrameAllocationOffset-r14 %
l
d
\n
"
,
PROTOCOL_RRC_CTXT_ARGS
(
ctxt_pP
),
PROTOCOL_RRC_CTXT_ARGS
(
ctxt_pP
),
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
nonMBSFN_SubframeConfig_r14
->
radioFrameAllocationOffset_r14
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
sib1_MBMS
->
nonMBSFN_SubframeConfig_r14
->
radioFrameAllocationOffset_r14
);
);
...
...
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