Commit 36f7239d authored by Lionel Gauthier's avatar Lionel Gauthier

Grrr default rab id on eNB, pdcp ref was not updated

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4787 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 6738b8dd
...@@ -362,6 +362,7 @@ int pdcp_fifo_read_input_sdus_remaining_bytes (u32_t frame, u8_t eNB_flag) ...@@ -362,6 +362,7 @@ int pdcp_fifo_read_input_sdus_remaining_bytes (u32_t frame, u8_t eNB_flag)
#warning CODE TO BE REVIEWED, ONLY WORK FOR SIMPLE TOPOLOGY CASES #warning CODE TO BE REVIEWED, ONLY WORK FOR SIMPLE TOPOLOGY CASES
for (rab_id = DEFAULT_RAB_ID; rab_id < MAX_RB; rab_id = rab_id + NB_RB_MAX) { for (rab_id = DEFAULT_RAB_ID; rab_id < MAX_RB; rab_id = rab_id + NB_RB_MAX) {
LOG_D(PDCP, "Checking if could sent on default rab id %d\n", rab_id); LOG_D(PDCP, "Checking if could sent on default rab id %d\n", rab_id);
pdcp = &pdcp_array_eNB[eNB_index][UE_index][rab_id];
if (pdcp->instanciated_instance == (pdcp_input_header.inst + 1)) { if (pdcp->instanciated_instance == (pdcp_input_header.inst + 1)) {
result = pdcp_data_req (eNB_id, result = pdcp_data_req (eNB_id,
UE_id, UE_id,
...@@ -447,6 +448,7 @@ int pdcp_fifo_read_input_sdus (u32_t frame, u8_t eNB_flag, u8_t UE_index, u8_t e ...@@ -447,6 +448,7 @@ int pdcp_fifo_read_input_sdus (u32_t frame, u8_t eNB_flag, u8_t UE_index, u8_t e
*/ */
#warning CODE TO BE REVIEWED, ONLY WORK FOR SIMPLE TOPOLOGY CASES #warning CODE TO BE REVIEWED, ONLY WORK FOR SIMPLE TOPOLOGY CASES
for (rab_id = DEFAULT_RAB_ID; rab_id < MAX_RB; rab_id = rab_id + NB_RB_MAX) { for (rab_id = DEFAULT_RAB_ID; rab_id < MAX_RB; rab_id = rab_id + NB_RB_MAX) {
pdcp = &pdcp_array_eNB[eNB_index][UE_index][rab_id];
if (pdcp->instanciated_instance) { if (pdcp->instanciated_instance) {
pdcp_data_req(eNB_index, pdcp_data_req(eNB_index,
UE_index, UE_index,
......
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