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
lizhongxiao
OpenXG-RAN
Commits
27a3cff7
Commit
27a3cff7
authored
May 21, 2019
by
Javier Morgade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUGFIX and cppcheck/warning suppression
parent
6ba8cd70
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
openair1/PHY/INIT/phy_init.h
openair1/PHY/INIT/phy_init.h
+5
-2
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/config.c
+2
-1
openair2/LAYER2/MAC/config_ue.c
openair2/LAYER2/MAC/config_ue.c
+2
-3
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+1
-1
No files found.
openair1/PHY/INIT/phy_init.h
View file @
27a3cff7
...
...
@@ -35,6 +35,9 @@
#if (LTE_RRC_VERSION >= MAKE_VERSION(10, 0, 0))
#include "LTE_SCellToAddMod-r10.h"
#endif
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
#include "LTE_NonMBSFN-SubframeConfig-r14.h"
#endif
/** @addtogroup _PHY_STRUCTURES_
* @{
*/
...
...
@@ -257,9 +260,9 @@ void phy_config_sib13_ue(module_id_t Mod_id,
int
CC_id
,
uint8_t
CH_index
,
int
mbsfn_Area_idx
,
long
mbsfn_AreaId_r9
);
/*
void phy_config_sib1_fembms_ue(module_id_t Mod_id,int CC_id,
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);
*/
struct
LTE_NonMBSFN_SubframeConfig_r14
*
nonMBSFN_SubframeConfig
);
/**
\brief Configure eNB MBSFN common parameters.
...
...
openair2/LAYER2/MAC/config.c
View file @
27a3cff7
...
...
@@ -877,7 +877,8 @@ int rrc_mac_config_req_eNB(module_id_t Mod_idP,
LOG_D
(
MAC
,
"[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
);
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
);
//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);
RC
.
mac
[
Mod_idP
]
->
common_channels
[
0
].
non_mbsfn_SubframeConfig
=
nonMBSFN_SubframeConfig
;
nfapi_config_request_t
*
cfg
=
&
RC
.
mac
[
Mod_idP
]
->
config
[
CC_idP
];
cfg
->
fembms_config
.
non_mbsfn_config_flag
.
value
=
1
;
...
...
openair2/LAYER2/MAC/config_ue.c
View file @
27a3cff7
...
...
@@ -571,12 +571,11 @@ rrc_mac_config_req_ue(module_id_t Mod_idP,
#endif
#if (LTE_RRC_VERSION >= MAKE_VERSION(1
0
, 0, 0))
#if (LTE_RRC_VERSION >= MAKE_VERSION(1
4
, 0, 0))
if
(
nonMBSFN_SubframeConfig
!=
NULL
)
{
LOG_I
(
MAC
,
"[UE %d] Configuring LTE_NonMBSFN
\n
"
,
Mod_idP
);
phy_config_sib1_fembms_ue
(
Mod_idP
,
CC_idP
,
0
,
nonMBSFN_SubframeConfig
);
phy_config_sib1_fembms_ue
(
Mod_idP
,
CC_idP
,
0
,
nonMBSFN_SubframeConfig
);
}
#endif
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
27a3cff7
...
...
@@ -149,8 +149,8 @@ init_SI(
#endif
LOG_D
(
RRC
,
"%s()
\n\n\n\n
"
,
__FUNCTION__
);
if
(
configuration
->
radioresourceconfig
[
CC_id
].
mbms_dedicated_serving_cell
==
TRUE
){
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
if
(
configuration
->
radioresourceconfig
[
CC_id
].
mbms_dedicated_serving_cell
==
TRUE
){
LOG_I
(
RRC
,
"Configuring MIB FeMBMS (N_RB_DL %d)
\n
"
,
(
int
)
configuration
->
N_RB_DL
[
CC_id
]);
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
MIB_FeMBMS
=
(
uint8_t
*
)
malloc16
(
4
);
...
...
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