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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG-RAN
Commits
f1d51cc0
Commit
f1d51cc0
authored
Jul 21, 2020
by
Javier Morgade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fembms: handle L2 eNB config in softmodem
Signed-off-by:
Javier Morgade
<
javier.morgade@ieee.org
>
parent
220ba2eb
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
17 deletions
+23
-17
openair2/COMMON/m2ap_messages_def.h
openair2/COMMON/m2ap_messages_def.h
+1
-0
openair2/COMMON/m2ap_messages_types.h
openair2/COMMON/m2ap_messages_types.h
+10
-1
openair2/ENB_APP/enb_app.c
openair2/ENB_APP/enb_app.c
+10
-15
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+2
-1
No files found.
openair2/COMMON/m2ap_messages_def.h
View file @
f1d51cc0
...
...
@@ -50,6 +50,7 @@ MESSAGE_DEF(M2AP_DEREGISTERED_ENB_IND , MESSAGE_PRIORITY_MED, m2ap_der
/* M2AP -> SCTP */
MESSAGE_DEF
(
M2AP_MCE_SCTP_REQ
,
MESSAGE_PRIORITY_MED
,
m2ap_mce_sctp_req_t
,
m2ap_mce_sctp_req
)
MESSAGE_DEF
(
M2AP_ENB_SCTP_REQ
,
MESSAGE_PRIORITY_MED
,
m2ap_enb_sctp_req_t
,
m2ap_enb_sctp_req
)
//MESSAGE_DEF(M2AP_ENB_SCTP_REQ , MESSAGE_PRIORITY_MED, m2ap_enb_setup_req_t , f1ap_enb_setup_req)
/* eNB_DU application layer -> M2AP messages or CU M2AP -> RRC*/
...
...
openair2/COMMON/m2ap_messages_types.h
View file @
f1d51cc0
...
...
@@ -480,7 +480,7 @@ typedef struct m2ap_mbms_scheduling_information_s {
uint8_t
common_sf_allocation_period
;
uint8_t
mbms_area_id
;
struct
{
uint
8
_t
allocated_sf_end
;
uint
16
_t
allocated_sf_end
;
uint8_t
data_mcs
;
uint8_t
mch_scheduling_period
;
struct
{
...
...
@@ -533,6 +533,15 @@ typedef struct m2ap_mce_sctp_req_s {
uint32_t
mce_port_for_M2C
;
}
m2ap_mce_sctp_req_t
;
typedef
struct
m2ap_enb_sctp_req_s
{
/* The local MCE IP address to bind */
net_ip_address_t
enb_m2_ip_address
;
/* eNB port for M2C*/
uint32_t
enb_port_for_M2C
;
}
m2ap_enb_sctp_req_t
;
typedef
struct
m2ap_mbms_scheduling_information_resp_s
{
}
m2ap_mbms_scheduling_information_resp_t
;
typedef
struct
m2ap_session_start_req_s
{
...
...
openair2/ENB_APP/enb_app.c
View file @
f1d51cc0
...
...
@@ -214,7 +214,7 @@ void *eNB_app_task(void *args_p) {
long
x2_enb_register_retry_timer_id
;
uint32_t
m2_register_enb_pending
=
0
;
uint32_t
m2_registered_enb
=
0
;
long
m2_enb_register_retry_timer_id
;
//
long m2_enb_register_retry_timer_id;
MessageDef
*
msg_p
=
NULL
;
instance_t
instance
;
int
result
;
...
...
@@ -236,16 +236,11 @@ void *eNB_app_task(void *args_p) {
/* Try to register each eNB with MCE each other */
if
(
is_m2ap_eNB_enabled
()
/*&& !NODE_IS_DU(RC.rrc[0]->node_type)*/
)
{
//eNB_app_register_MBMS_STA(RC.rrc[0]->node_type, enb_id_start, enb_id_end);
//
m2_register_enb_pending = eNB_app_register_m2 (enb_id_start, enb_id_end);
m2_register_enb_pending
=
eNB_app_register_m2
(
enb_id_start
,
enb_id_end
);
if
(
timer_setup
(
5
,
0
,
TASK_ENB_APP
,
INSTANCE_DEFAULT
,
TIMER_ONE_SHOT
,
NULL
,
&
m2_enb_register_retry_timer_id
)
<
0
)
{
//LOG_E(ENB_APP, " Can not start eNB register retry timer, use \"sleep\" instead!\n");
//sleep(ENB_REGISTER_RETRY_DELAY);
/* Restart the registration process */
//registered_enb = 0;
//register_enb_pending = eNB_app_register (RC.rrc[0]->node_type,enb_id_start, enb_id_end);
}
//if (timer_setup (5, 0, TASK_ENB_APP, INSTANCE_DEFAULT, TIMER_ONE_SHOT,
// NULL, &m2_enb_register_retry_timer_id) < 0) {
//}
}
...
...
@@ -377,11 +372,11 @@ void *eNB_app_task(void *args_p) {
}
}
/* if (EPC_MODE_ENABLED) */
if
(
TIMER_HAS_EXPIRED
(
msg_p
).
timer_id
==
m2_enb_register_retry_timer_id
)
{
LOG_I
(
ENB_APP
,
" Received %s: timer_id %ld M2 register
\n
"
,
ITTI_MSG_NAME
(
msg_p
),
TIMER_HAS_EXPIRED
(
msg_p
).
timer_id
);
m2_register_enb_pending
=
eNB_app_register_m2
(
enb_id_start
,
enb_id_end
);
}
//
if(TIMER_HAS_EXPIRED (msg_p).timer_id == m2_enb_register_retry_timer_id) {
//
//
LOG_I(ENB_APP, " Received %s: timer_id %ld M2 register\n", ITTI_MSG_NAME (msg_p), TIMER_HAS_EXPIRED(msg_p).timer_id);
//
m2_register_enb_pending = eNB_app_register_m2 (enb_id_start, enb_id_end);
//
}
break
;
...
...
openair2/ENB_APP/enb_config.c
View file @
f1d51cc0
...
...
@@ -3041,7 +3041,8 @@ void configure_du_mac(int inst) {
(
LTE_SchedulingInfo_MBMS_r14_t
*
)
NULL
,
(
struct
LTE_NonMBSFN_SubframeConfig_r14
*
)
NULL
,
(
LTE_SystemInformationBlockType1_MBMS_r14_t
*
)
NULL
,
(
LTE_MBSFN_AreaInfoList_r9_t
*
)
NULL
(
LTE_MBSFN_AreaInfoList_r9_t
*
)
NULL
,
(
LTE_MBSFNAreaConfiguration_r9_t
*
)
NULL
);
}
...
...
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