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
Michael Black
OpenXG-RAN
Commits
fe89f107
Commit
fe89f107
authored
5 years ago
by
Javier Morgade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup & CI F1 CD/DU Bugfix
parent
c3d9e779
Branches unavailable
2023.w22
2023.w21
2023.w20
2023.w19
2023.w18
2023.w18b
2023.w16
2023.w15
2023.w14
2023.w13
2023.w12
2023.w11
2023.w11b
2023.w10
2023.w10b
2023.w09
2023.w08
2023.w08b
2023.w07
2023.w06
2023.w05
2023.w03
2023.w02
2022.42
2022.41
2022.w51
2022.w50
2022.w49
2022.w48
2022.w47
2022.w46
2022.w45
2022.w43
2022.w42
2022.w42b
2022.w41
2022.w40
2022.w39
2022.w38
2022.w37
2022.w37b
2022.w36
2022.w35
2022.w33
2022.w32
2022.w31
2022.w31b
2022.w30
2022.w29
2022.w26
2022.w25
2022.w24
2022.w24b
2022.w23
2022.w22
2022.w21
2022.w20
2022.w19
2022.w18
2022.w17
2022.w15
2022.w15b
2022.w14a
2022.w13
2022.w13b
2022.w13a
2022.w12
2022.w10
2022.w09
2022.w09b
2022.w08
2022.w08b
2022.w07
2022.w07b
2022.w06
2022.w06a
2022.w05
2022.w05b
2022.w03_hotfix
2022.w03_b
2022.w02
2022.w01
2021.wk46
2021.wk14_a
2021.wk13_d
2021.wk13_c
2021.w51_c
2021.w51_a
2021.w50_a
2021.w49_b
2021.w49_a
2021.w48
2021.w47
2021.w46
2021.w46-powder
2021.w45
2021.w45_b
2021.w44
2021.w43
2021.w42
2021.w37
2021.w36
2021.w35
2021.w34
2021.w33
2021.w32
2021.w31
2021.w30
2021.w29
2021.w28
2021.w27
2021.w26
2021.w25
2021.w24
2021.w23
2021.w22
2021.w20
2021.w19
2021.w18_b
2021.w18_a
2021.w17_b
2021.w16
2021.w15
2021.w14
2021.w13_a
2021.w12
2021.w11
2021.w10
2021.w09
2021.w08
2021.w06
2021.w05
2021.w04
2021.w02
2020.w51_2
2020.w51
2020.w50
2020.w49
2020.w48_2
2020.w48
2020.w47
2020.w46_2
2020.w46
2020.w45_2
2020.w45
2020.w44
2020.w42_2
2020.w42
2020.w41
2020.w39
2020.w38
2020.w37
2020.w36
2020.w34
2020.w33
2020.w31
2020.w30
2020.w29
2020.w28
2020.w26
2020.w25
2020.w24
2020.w23
2020.w22
2020.w19
2020.w17
2020.w16
2020.w15
2020.w11
2020.w09
2020.w06
2020.w05
2020.w04
2020.w03
2019.w51
2019.w44
2019.w41
2019.w36
2019.w30
2019.w28
2019.w27
2019.w25
v1.2.2
v1.2.1
v1.2.0
v1.1.1
v1.1.0
setparam
nr-ip-over-lte-v.1.5
nr-ip-over-lte-v.1.4
nr-ip-over-lte-v.1.3
nr-ip-over-lte-v.1.2
nr-ip-over-lte-v.1.1
nr-ip-over-lte-v.1.0
flexran-eol
develop-nr-2020w03
develop-nr-2020w02
develop-nr-2019w51
develop-nr-2019w50
develop-nr-2019w48
develop-nr-2019w47
develop-nr-2019w45
develop-nr-2019w43
develop-nr-2019w42
develop-nr-2019w40
benetel_phase_rotation
benetel_gnb_rel_2.0
benetel_gnb_rel_1.0
benetel_enb_rel_2.0
benetel_enb_rel_1.0
No related merge requests found
Changes
13
Show 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.
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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);
...
...
This diff is collapsed.
Click to expand it.
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
);
...
...
This diff is collapsed.
Click to expand it.
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
;
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
,
...
...
This diff is collapsed.
Click to expand it.
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} \
}
}
...
...
This diff is collapsed.
Click to expand it.
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
;
...
...
This diff is collapsed.
Click to expand it.
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
));
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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
);
);
...
...
This diff is collapsed.
Click to expand it.
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