1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2017-2019] [Radisys] #
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. #
16 ################################################################################
17 *******************************************************************************/
19 /* Contains definitions for MAC CL modules */
23 #define MAX_NUM_CELL_SUPP 1
34 #include "du_app_mac_inf.h"
44 /* Events in Lower Mac */
59 Bool clCfgDone; /* CL configuration done */
60 CmHashListCp cellCbLst; /* List of Cells configured */
61 U8 numOfCells; /* Number of Cells configured */
62 PhyState phyState; /* State of PHY */
63 EventState event; /* State of Event */
86 NORMAL_CYCLIC_PREFIX_MASK,
87 EXTENDED_CYCLIC_PREFIX_MASK
117 CCE_MAPPING_INTERLEAVED_MASK,
118 CCE_MAPPING_NONINTERLVD_MASK
144 VRB_TO_PRB_MAP_NON_INTLV,
145 VRB_TO_PRB_MAP_INTLVD
162 DMRS_ADDITIONAL_POS_0,
163 DMRS_ADDITIONAL_POS_1,
164 DMRS_ADDITIONAL_POS_2,
165 DMRS_ADDITIONAL_POS_3
199 PRACH_FD_OCC_IN_A_SLOT_1 = 1,
200 PRACH_FD_OCC_IN_A_SLOT_2 = 2,
201 PRACH_FD_OCC_IN_A_SLOT_4 = 4,
202 PRACH_FD_OCC_IN_A_SLOT_8 = 8
211 typedef struct clCellParam
213 ReleaseCapab releaseCapability; /* Release Capability */
214 PhyState ParamPhystate;
215 ParamSupport skipBlankDlConfig;
216 ParamSupport skipBlankUlConfig;
217 ParamSupport numTlvsToReport;
218 CyclicPrefix cyclicPrefix;
219 SubCarrierSpacing supportedSubcarrierSpacingDl;
220 SupportedBandwidth supportedBandwidthDl;
221 SubCarrierSpacing supportedSubcarrierSpacingsUl;
222 SupportedBandwidth supportedBandwidthUl;
223 CCEMappingType cceMappingType;
224 ParamSupport coresetOutsideFirst3OfdmSymsOfSlot;
225 ParamSupport precoderGranularityCoreset;
226 ParamSupport pdcchMuMimo;
227 ParamSupport pdcchPrecoderCycling;
229 Formats pucchFormats;
231 MappingType pdschMappingType;
232 AllocationType pdschAllocationTypes;
233 VrbToPrbMap pdschVrbToPrbMapping;
234 ParamSupport pdschCbg;
235 DmrsConfigType pdschDmrsConfigTypes;
236 DmrMaxLen pdschDmrsMaxLength;
237 DmrsPos pdschDmrsAdditionalPos;
238 U8 maxPdschsTBsPerSlot;
239 U8 maxNumberMimoLayersPdsch;
240 ModulationOrder supportedMaxModulationOrderDl;
242 ParamSupport pdschDataInDmrsSymbols;
243 ParamSupport premptionSupport;
244 ParamSupport pdschNonSlotSupport;
245 ParamSupport uciMuxUlschInPusch;
246 ParamSupport uciOnlyPusch;
247 ParamSupport puschFrequencyHopping;
248 DmrsConfigType puschDmrsConfigTypes;
249 DmrMaxLen puschDmrsMaxLength;
250 DmrsPos puschDmrsAdditionalPos;
251 ParamSupport puschCbg;
252 MappingType puschMappingType;
253 AllocationType puschAllocationTypes;
254 VrbToPrbMap puschVrbToPrbMapping;
255 U8 puschMaxPtrsPorts;
256 U8 maxPduschsTBsPerSlot;
257 U8 maxNumberMimoLayersNonCbPusch;
258 ModulationOrder supportedModulationOrderUl;
260 ParamSupport dftsOfdmSupport;
261 AggregationFactor puschAggregationFactor;
262 Formats prachLongFormats;
263 ShortFormat prachShortFormats;
264 ParamSupport prachRestrictedSets;
265 FdOccPerSlot maxPrachFdOccasionsInASlot;
266 RssiMeasurement rssiMeasurementSupport;
270 EXTERN ClCb clGlobalCp;
271 EXTERN ClCellCb * rgClUtlGetCellCb ARGS((U16 cellId));
275 /**********************************************************************
277 **********************************************************************/