fembms: handle MBMS in new RLC
Signed-off-by: Javier Morgade <javier.morgade@ieee.org>
This commit is contained in:
@@ -519,7 +519,7 @@ rlc_op_status_t rlc_data_req (const protocol_ctxt_t *const ctxt_pP,
|
||||
// LOG_I(RLC,"DUY rlc_data_req: mbms_rb_id in RLC instant is: %d\n", mbms_rb_id);
|
||||
if (sdu_pP != NULL) {
|
||||
if (sdu_sizeP > 0) {
|
||||
LOG_I(RLC,"received a packet with size %d for MBMS \n", sdu_sizeP);
|
||||
LOG_D(RLC,"received a packet with size %d for MBMS \n", sdu_sizeP);
|
||||
new_sdu_p = get_free_mem_block (sdu_sizeP + sizeof (struct rlc_um_data_req_alloc), __func__);
|
||||
|
||||
if (new_sdu_p != NULL) {
|
||||
|
||||
@@ -640,7 +640,8 @@ rlc_union_t *rrc_rlc_add_rlc (
|
||||
} else if (h_rc == HASH_TABLE_KEY_NOT_EXISTS) {
|
||||
rlc_union_p = calloc(1, sizeof(rlc_union_t));
|
||||
h_rc = hashtable_insert(rlc_coll_p, key, rlc_union_p);
|
||||
h_lcid_rc = hashtable_insert(rlc_coll_p, key_lcid, rlc_union_p);
|
||||
if(MBMS_flagP != TRUE)
|
||||
h_lcid_rc = hashtable_insert(rlc_coll_p, key_lcid, rlc_union_p);
|
||||
|
||||
if ((h_rc == HASH_TABLE_OK) && (h_lcid_rc == HASH_TABLE_OK)) {
|
||||
if (MBMS_flagP == TRUE) {
|
||||
|
||||
Reference in New Issue
Block a user