Commit b205c492 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

test release PC5S

parent 1ef3770b
...@@ -406,12 +406,14 @@ rlc_op_status_t rrc_rlc_config_asn1_req (const protocol_ctxt_t * const ctxt_pP ...@@ -406,12 +406,14 @@ rlc_op_status_t rrc_rlc_config_asn1_req (const protocol_ctxt_t * const ctxt_pP
if (drb2release_listP != NULL) { if (drb2release_listP != NULL) {
for (cnt=0; cnt<drb2release_listP->list.count; cnt++) { for (cnt=0; cnt<drb2release_listP->list.count; cnt++) {
pdrb_id = drb2release_listP->list.array[cnt]; drb_id = drb2release_listP->list.array[cnt];
LOG_I(RLC, "Releasing rb_id %d\n",drb_id);
rrc_rlc_remove_rlc( rrc_rlc_remove_rlc(
ctxt_pP, ctxt_pP,
SRB_FLAG_NO, SRB_FLAG_NO,
MBMS_FLAG_NO, MBMS_FLAG_NO,
*pdrb_id drb_id
#ifdef Rel14 #ifdef Rel14
,sourceL2Id, ,sourceL2Id,
destinationL2Id destinationL2Id
......
...@@ -6033,7 +6033,7 @@ void *rrc_control_socket_thread_fct(void *arg) ...@@ -6033,7 +6033,7 @@ void *rrc_control_socket_thread_fct(void *arg)
for (i=0; i< MAX_NUM_LCID_DATA; i++) { for (i=0; i< MAX_NUM_LCID_DATA; i++) {
if (UE_rrc_inst[module_id].sl_info[i].LCID == slrb_id) { if (UE_rrc_inst[module_id].sl_info[i].LCID == slrb_id) {
UE_rrc_inst[module_id].sl_info[i].LCID = 0; UE_rrc_inst[module_id].sl_info[i].LCID = 0;
LOG_I(RRC,"[GroupCommunicationReleaseRequest] rbid %d for destination Id: 0x%08x\n has been removed",slrb_id, UE_rrc_inst[module_id].sl_info[i].destinationL2Id ); LOG_I(RRC,"[DirectCommunicationReleaseRequest] rbid %d for destination Id: 0x%08x\n has been removed",slrb_id, UE_rrc_inst[module_id].sl_info[i].destinationL2Id );
//UE_rrc_inst[module_id].sl_info[i].destinationL2Id = 0x00; //UE_rrc_inst[module_id].sl_info[i].destinationL2Id = 0x00;
destinationL2Id = UE_rrc_inst[module_id].sl_info[i].destinationL2Id; destinationL2Id = UE_rrc_inst[module_id].sl_info[i].destinationL2Id;
break; break;
...@@ -6042,10 +6042,11 @@ void *rrc_control_socket_thread_fct(void *arg) ...@@ -6042,10 +6042,11 @@ void *rrc_control_socket_thread_fct(void *arg)
} }
//TEST REMOVE RLC //TEST REMOVE RLC
slrb_id = 9;
DRB_ToReleaseList_t* drb2release_list; DRB_Identity_t drb_id = slrb_id;
DRB_ToReleaseList_t* drb2release_list = NULL;
drb2release_list = CALLOC(1, sizeof(DRB_ToReleaseList_t)); drb2release_list = CALLOC(1, sizeof(DRB_ToReleaseList_t));
ASN_SEQUENCE_ADD(&drb2release_list->list, (DRB_Identity_t) slrb_id); ASN_SEQUENCE_ADD(&drb2release_list->list, drb_id);
rrc_rlc_config_asn1_req(&ctxt, rrc_rlc_config_asn1_req(&ctxt,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment