1 /******************************************************************************
3 * Copyright (c) 2020 Intel.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 *******************************************************************************/
20 * @brief Header file to PRACH specific config structures
21 * @file xran_prach_cfg.h
22 * @author Intel Corporation
25 #ifndef _XRAN_PRACH_CFG_H_
26 #define _XRAN_PRACH_CFG_H_
34 /* PRACH configuration table defines */
35 #define XRAN_PRACH_CANDIDATE_PREAMBLE (2)
36 #define XRAN_PRACH_CANDIDATE_Y (2)
37 #define XRAN_PRACH_CANDIDATE_SLOT (40)
38 #define XRAN_PRACH_CONFIG_TABLE_SIZE (256)
39 #define XRAN_PRACH_PREAMBLE_FORMAT_OF_ABC (9)
59 /* add PRACH used config table, same structure as used in refPHY */
62 uint8_t prachConfigIdx;
63 uint8_t preambleFmrt[XRAN_PRACH_CANDIDATE_PREAMBLE];
65 uint8_t y[XRAN_PRACH_CANDIDATE_Y];
66 uint8_t slotNr[XRAN_PRACH_CANDIDATE_SLOT];
69 uint8_t nrofPrachInSlot;
70 uint8_t occassionsInPrachSlot;
72 } xRANPrachConfigTableStruct;
81 }xRANPrachPreambleLRAStruct;
83 struct xran_prach_cp_config
92 uint8_t nrofPrachInSlot;
93 uint8_t occassionsInPrachSlot;
95 uint8_t y[XRAN_PRACH_CANDIDATE_Y];
96 uint8_t isPRACHslot[XRAN_PRACH_CANDIDATE_SLOT];
97 uint8_t eAxC_offset; /**< starting eAxC for PRACH stream */
100 extern const xRANPrachConfigTableStruct gxranPrachDataTable_sub6_fdd[XRAN_PRACH_CONFIG_TABLE_SIZE];
101 extern const xRANPrachConfigTableStruct gxranPrachDataTable_sub6_tdd[XRAN_PRACH_CONFIG_TABLE_SIZE];
102 extern const xRANPrachConfigTableStruct gxranPrachDataTable_mmw[XRAN_PRACH_CONFIG_TABLE_SIZE];
103 extern const xRANPrachPreambleLRAStruct gxranPreambleforLRA[13];