Fixed missing TM and RLC AM NR in mem_pool

master
Pedro Alvarez 3 years ago
parent debb4a0c6b
commit e780eb5ab0

@ -13,6 +13,8 @@
#include "srsran/rlc/bearer_mem_pool.h"
#include "srsran/adt/pool/batch_mem_pool.h"
#include "srsran/rlc/rlc_am_lte.h"
#include "srsran/rlc/rlc_am_nr.h"
#include "srsran/rlc/rlc_tm.h"
#include "srsran/rlc/rlc_um_lte.h"
#include "srsran/rlc/rlc_um_nr.h"
@ -21,7 +23,12 @@ namespace srsran {
srsran::background_mem_pool* get_bearer_pool()
{
static background_mem_pool pool(
4, std::max(std::max(sizeof(rlc_am_lte), sizeof(rlc_um_lte)), sizeof(rlc_um_nr)), 8, 8);
4,
std::max(
std::max(std::max(std::max(sizeof(rlc_am_lte), sizeof(rlc_am_nr)), sizeof(rlc_um_lte)), sizeof(rlc_um_nr)),
sizeof(rlc_tm)),
8,
8);
return &pool;
}

Loading…
Cancel
Save