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
f8e64b80
Commit
f8e64b80
authored
Oct 22, 2019
by
Javier Morgade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code re-arragement
parent
7f807c41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
54 deletions
+10
-54
ci-scripts/conf_files/rcc.band7.tm1.mbms.if4p5.50PRB.lo.conf
ci-scripts/conf_files/rcc.band7.tm1.mbms.if4p5.50PRB.lo.conf
+1
-1
openair2/LAYER2/rlc_v2/rlc_oai_api.c
openair2/LAYER2/rlc_v2/rlc_oai_api.c
+9
-53
No files found.
ci-scripts/conf_files/rcc.band7.tm1.mbms.if4p5.50PRB.lo.conf
View file @
f8e64b80
...
@@ -259,7 +259,7 @@ MCEs = (
...
@@ -259,7 +259,7 @@ MCEs = (
mnc_length
=
2
;
mnc_length
=
2
;
}
}
service_id
=
0
;
#keep this allways as 0 (workaround for TUN if)
service_id
=
0
;
#keep this allways as 0 (workaround for TUN if)
lcid
=
6
;
#this must be properly defined lcid:6+service:0 -> rab_id:6
lcid
=
4
;
#this must be properly defined lcid:6+service:0 -> rab_id:6
}
}
);
);
}
}
...
...
openair2/LAYER2/rlc_v2/rlc_oai_api.c
View file @
f8e64b80
...
@@ -744,12 +744,11 @@ rlc_op_status_t rrc_rlc_config_asn1_req (const protocol_ctxt_t * const ctxt_pP
...
@@ -744,12 +744,11 @@ rlc_op_status_t rrc_rlc_config_asn1_req (const protocol_ctxt_t * const ctxt_pP
LTE_MBMS_SessionInfo_r9_t
*
MBMS_SessionInfo_p
=
NULL
;
LTE_MBMS_SessionInfo_r9_t
*
MBMS_SessionInfo_p
=
NULL
;
mbms_session_id_t
mbms_session_id
;
mbms_session_id_t
mbms_session_id
;
mbms_service_id_t
mbms_service_id
;
mbms_service_id_t
mbms_service_id
;
rb_id_t
rb_id
=
0
;
rb_id_t
d
rb_id
=
0
;
logical_chan_id_t
lc_id
=
0
;
logical_chan_id_t
lc_id
=
0
;
LTE_DRB_Identity_t
drb_id
=
0
;
//
LTE_DRB_Identity_t drb_id = 0;
LTE_DRB_Identity_t
*
pdrb_id
=
NULL
;
//
LTE_DRB_Identity_t* pdrb_id = NULL;
for
(
i
=
0
;
i
<
pmch_InfoList_r9_pP
->
list
.
count
;
i
++
)
{
for
(
i
=
0
;
i
<
pmch_InfoList_r9_pP
->
list
.
count
;
i
++
)
{
mbms_SessionInfoList_r9_p
=
&
(
pmch_InfoList_r9_pP
->
list
.
array
[
i
]
->
mbms_SessionInfoList_r9
);
mbms_SessionInfoList_r9_p
=
&
(
pmch_InfoList_r9_pP
->
list
.
array
[
i
]
->
mbms_SessionInfoList_r9
);
...
@@ -765,69 +764,26 @@ rlc_op_status_t rrc_rlc_config_asn1_req (const protocol_ctxt_t * const ctxt_pP
...
@@ -765,69 +764,26 @@ rlc_op_status_t rrc_rlc_config_asn1_req (const protocol_ctxt_t * const ctxt_pP
// can set the mch_id = i
// can set the mch_id = i
if
(
ctxt_pP
->
enb_flag
)
{
if
(
ctxt_pP
->
enb_flag
)
{
rb_id
=
(
mbms_service_id
*
LTE_maxSessionPerPMCH
)
+
mbms_session_id
;
//+ (LTE_maxDRB + 3) * MAX_MOBILES_PER_ENB; // 1
drb_id
=
(
mbms_service_id
*
LTE_maxSessionPerPMCH
)
+
mbms_session_id
;
//+ (LTE_maxDRB + 3) * MAX_MOBILES_PER_ENB; // 1
//rlc_mbms_lcid2service_session_id_eNB[ctxt_pP->module_id][lc_id].service_id = mbms_service_id;
//rlc_mbms_lcid2service_session_id_eNB[ctxt_pP->module_id][lc_id].session_id = mbms_session_id;
//rlc_mbms_enb_set_lcid_by_rb_id(ctxt_pP->module_id,rb_id,lc_id);
}
else
{
}
else
{
rb_id
=
(
mbms_service_id
*
LTE_maxSessionPerPMCH
)
+
mbms_session_id
;
// + (LTE_maxDRB + 3); // 15
drb_id
=
(
mbms_service_id
*
LTE_maxSessionPerPMCH
)
+
mbms_session_id
;
// + (LTE_maxDRB + 3); // 15
//rlc_mbms_lcid2service_session_id_ue[ctxt_pP->module_id][lc_id].service_id = mbms_service_id;
//rlc_mbms_lcid2service_session_id_ue[ctxt_pP->module_id][lc_id].session_id = mbms_session_id;
//rlc_mbms_ue_set_lcid_by_rb_id(ctxt_pP->module_id,rb_id,lc_id);
}
}
//key = RLC_COLL_KEY_MBMS_VALUE(ctxt_pP->module_id, ctxt_pP->module_id, ctxt_pP->enb_flag, mbms_service_id, mbms_session_id);
//h_rc = hashtable_get(rlc_coll_p, key, (void**)&rlc_union_p);
//if (h_rc == HASH_TABLE_KEY_NOT_EXISTS) {
// rlc_union_p = rrc_rlc_add_rlc (
// ctxt_pP,
// SRB_FLAG_NO,
// MBMS_FLAG_YES,
// rb_id,
// lc_id,
// RLC_MODE_UM, 0, 0);
// //AssertFatal(rlc_union_p != NULL, "ADD MBMS RLC UM FAILED");
// if(rlc_union_p == NULL){
// LOG_E(RLC, "ADD MBMS RLC UM FAILED\n");
// }
//}
LOG_I
(
RLC
,
PROTOCOL_CTXT_FMT
" CONFIG REQ MBMS ASN1 LC ID %u RB ID %u SESSION ID %u SERVICE ID %u, rnti %x
\n
"
,
LOG_I
(
RLC
,
PROTOCOL_CTXT_FMT
" CONFIG REQ MBMS ASN1 LC ID %u RB ID %u SESSION ID %u SERVICE ID %u, rnti %x
\n
"
,
PROTOCOL_CTXT_ARGS
(
ctxt_pP
),
PROTOCOL_CTXT_ARGS
(
ctxt_pP
),
lc_id
,
lc_id
,
rb_id
,
d
rb_id
,
mbms_session_id
,
mbms_session_id
,
mbms_service_id
,
mbms_service_id
,
rnti
rnti
);
);
// dl_um_rlc.sn_FieldLength = LTE_SN_FieldLength_size5;
// dl_um_rlc.t_Reordering = LTE_T_Reordering_ms0;
// config_req_rlc_um_asn1 (
// ctxt_pP,
// SRB_FLAG_NO,
// MBMS_FLAG_YES,
// mbms_session_id,
// mbms_service_id,
// NULL,
// &dl_um_rlc,
// rb_id, lc_id
//#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
// ,0, 0
//#endif//
// );
}
}
}
}
//LOG_E(RLC, "%s: pmch_InfoList_r9_pP not handled\n", __FUNCTION__);
//exit(1);
rlc_entity_t
*
rlc_um
;
rlc_entity_t
*
rlc_um
;
rlc_ue_t
*
ue
;
rlc_ue_t
*
ue
;
drb_id
=
rb_id
;
//
drb_id = rb_id;
rlc_manager_lock
(
rlc_ue_manager
);
rlc_manager_lock
(
rlc_ue_manager
);
ue
=
rlc_manager_get_ue
(
rlc_ue_manager
,
rnti
);
ue
=
rlc_manager_get_ue
(
rlc_ue_manager
,
rnti
);
...
@@ -841,7 +797,7 @@ rlc_op_status_t rrc_rlc_config_asn1_req (const protocol_ctxt_t * const ctxt_pP
...
@@ -841,7 +797,7 @@ rlc_op_status_t rrc_rlc_config_asn1_req (const protocol_ctxt_t * const ctxt_pP
0
,
//LTE_T_Reordering_ms0,//t_reordering,
0
,
//LTE_T_Reordering_ms0,//t_reordering,
5
//LTE_SN_FieldLength_size5//sn_field_length
5
//LTE_SN_FieldLength_size5//sn_field_length
);
);
rlc_
mbms
_add_drb_rlc_entity
(
ue
,
drb_id
,
rlc_um
);
rlc_
ue
_add_drb_rlc_entity
(
ue
,
drb_id
,
rlc_um
);
LOG_D
(
RLC
,
"%s:%d:%s: added drb %d to ue %d
\n
"
,
LOG_D
(
RLC
,
"%s:%d:%s: added drb %d to ue %d
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
,
drb_id
,
rnti
);
__FILE__
,
__LINE__
,
__FUNCTION__
,
drb_id
,
rnti
);
...
...
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