/******************************************************************************
*
-* Copyright (c) 2019 Intel.
+* Copyright (c) 2020 Intel.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
*******************************************************************************/
-
/**
* @brief This file defines those table used in 5G NR spec.
* @file xran_ul_tables.c
#include <stdlib.h>
#include <string.h>
-#include "xran_common.h"
+#include "xran_prach_cfg.h"
/* 3GPP 38.211-f20 Table - 6.3.3.2-2 */
const xRANPrachConfigTableStruct gxranPrachDataTable_sub6_fdd[XRAN_PRACH_CONFIG_TABLE_SIZE] =
{ 255, { FORMAT_A3, FORMAT_B3 }, 1, { 0 }, { 7, 15, 23, 31, 39 }, 5, 2, 1, 2, 6 },
};
-const xRANPrachPreambleLRAStruct gxranPreambleforLRA[XRAN_PRACH_PREAMBLE_FORMAT_OF_ABC] =
+const xRANPrachPreambleLRAStruct gxranPreambleforLRA[13] =
{
+ {FORMAT_0, 839, 125, 1 , 3168 },
+ {FORMAT_1, 839, 125, 2 ,21024 },
+ {FORMAT_2, 839, 125, 4 , 4688 },
+ {FORMAT_3, 839, 5, 1 , 3168 },
{FORMAT_A1, 139, 15, 2 , 288 },
{FORMAT_A2, 139, 15, 4 , 576 },
{FORMAT_A3, 139, 15, 6 , 864 },