Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split

This commit is contained in:
Bing-Kai Hong
2018-09-12 19:53:51 +02:00
5 changed files with 22 additions and 6 deletions
+2 -1
View File
@@ -374,6 +374,7 @@ boolean_t pdcp_data_req(
"[MSG] PDCP DL %s PDU on rb_id %d\n",(srb_flagP)? "CONTROL" : "DATA", rb_idP);
LOG_F(PDCP,"\n");
#ifndef UETARGET
static cudu_params_t *cudu = NULL;
if (ctxt_pP->enb_flag == 1)
{
@@ -439,7 +440,7 @@ boolean_t pdcp_data_req(
#endif
);
}
#endif /*UETARGET*/
}
switch (rlc_status) {
+7 -3
View File
@@ -54,6 +54,7 @@ extern boolean_t pdcp_data_ind(
#include "rlc_proto_agent_primitives.h"
// PROTO AGENT
#ifndef UETARGET
void
async_server_thread_init (void)
{
@@ -111,7 +112,7 @@ async_server_thread_finalize (void)
return err;
}
#endif /*UETARGET*/
//-----------------------------------------------------------------------------
void rlc_util_print_hex_octets(comp_name_t componentP, unsigned char* dataP, const signed long sizeP)
@@ -675,7 +676,7 @@ void rlc_data_ind (
if (ctxt_pP->enb_flag)
T(T_ENB_RLC_UL, T_INT(ctxt_pP->module_id), T_INT(ctxt_pP->rnti), T_INT(rb_idP), T_INT(sdu_sizeP));
#endif
#ifndef UETARGET
if ((!srb_flagP) && (ctxt_pP->enb_flag == 1))
{
proto_agent_send_pdcp_data_ind(ctxt_pP,
@@ -686,6 +687,7 @@ void rlc_data_ind (
sdu_pP);
}
else
#endif /*UETARGET*/
{
pdcp_data_ind (
ctxt_pP,
@@ -765,6 +767,8 @@ rlc_module_init (void)
pool_buffer_init();
#ifndef UETARGET
/* Launch the RLC listening server
* as a separate thread
*/
@@ -774,7 +778,7 @@ rlc_module_init (void)
async_server_thread_init();
started = 1;
}
#endif /*UETARGET*/
return(0);
}
+1 -1
View File
@@ -124,7 +124,7 @@ void check_free_mem_block (mem_block_t * leP);
# define MEM_MNGT_MB12_BLOCK_SIZE MEM_MNGT_MB0_BLOCK_SIZE*4096
// 262144
# define MEM_MNGT_MB12_NB_BLOCKS 1024 * MEM_SCALE
# define MEM_MNGT_MB12_NB_BLOCKS 32 * MEM_SCALE
//# define MEM_MNGT_MB12_NB_BLOCKS 4096 * MEM_SCALE
# define MEM_MNGT_POOL_ID12 12