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 "mac_interface.h"
44 /* Events in Lower Mac */
57 Bool clCfgDone; /* CL configuration done */
58 CmHashListCp cellCbLst; /* List of Cells configured */
59 U8 numOfCells; /* Number of Cells configured */
60 PhyState phyState; /* State of PHY */
61 EventState event; /* State of Event */
84 NORMAL_CYCLIC_PREFIX_MASK,
85 EXTENDED_CYCLIC_PREFIX_MASK
115 CCE_MAPPING_INTERLEAVED_MASK,
116 CCE_MAPPING_NONINTERLVD_MASK
142 VRB_TO_PRB_MAP_NON_INTLV,
143 VRB_TO_PRB_MAP_INTLVD
160 DMRS_ADDITIONAL_POS_0,
161 DMRS_ADDITIONAL_POS_1,
162 DMRS_ADDITIONAL_POS_2,
163 DMRS_ADDITIONAL_POS_3
197 PRACH_FD_OCC_IN_A_SLOT_1 = 1,
198 PRACH_FD_OCC_IN_A_SLOT_2 = 2,
199 PRACH_FD_OCC_IN_A_SLOT_4 = 4,
200 PRACH_FD_OCC_IN_A_SLOT_8 = 8
209 typedef struct clCellParam
211 ReleaseCapab releaseCapability; /* Release Capability */
212 PhyState ParamPhystate;
213 ParamSupport skipBlankDlConfig;
214 ParamSupport skipBlankUlConfig;
215 ParamSupport numTlvsToReport;
216 CyclicPrefix cyclicPrefix;
217 SubCarrierSpacing supportedSubcarrierSpacingDl;
218 SupportedBandwidth supportedBandwidthDl;
219 SubCarrierSpacing supportedSubcarrierSpacingsUl;
220 SupportedBandwidth supportedBandwidthUl;
221 CCEMappingType cceMappingType;
222 ParamSupport coresetOutsideFirst3OfdmSymsOfSlot;
223 ParamSupport precoderGranularityCoreset;
224 ParamSupport pdcchMuMimo;
225 ParamSupport pdcchPrecoderCycling;
227 Formats pucchFormats;
229 MappingType pdschMappingType;
230 AllocationType pdschAllocationTypes;
231 VrbToPrbMap pdschVrbToPrbMapping;
232 ParamSupport pdschCbg;
233 DmrsConfigType pdschDmrsConfigTypes;
234 DmrMaxLen pdschDmrsMaxLength;
235 DmrsPos pdschDmrsAdditionalPos;
236 U8 maxPdschsTBsPerSlot;
237 U8 maxNumberMimoLayersPdsch;
238 ModulationOrder supportedMaxModulationOrderDl;
240 ParamSupport pdschDataInDmrsSymbols;
241 ParamSupport premptionSupport;
242 ParamSupport pdschNonSlotSupport;
243 ParamSupport uciMuxUlschInPusch;
244 ParamSupport uciOnlyPusch;
245 ParamSupport puschFrequencyHopping;
246 DmrsConfigType puschDmrsConfigTypes;
247 DmrMaxLen puschDmrsMaxLength;
248 DmrsPos puschDmrsAdditionalPos;
249 ParamSupport puschCbg;
250 MappingType puschMappingType;
251 AllocationType puschAllocationTypes;
252 VrbToPrbMap puschVrbToPrbMapping;
253 U8 puschMaxPtrsPorts;
254 U8 maxPduschsTBsPerSlot;
255 U8 maxNumberMimoLayersNonCbPusch;
256 ModulationOrder supportedModulationOrderUl;
258 ParamSupport dftsOfdmSupport;
259 AggregationFactor puschAggregationFactor;
260 Formats prachLongFormats;
261 ShortFormat prachShortFormats;
262 ParamSupport prachRestrictedSets;
263 FdOccPerSlot maxPrachFdOccasionsInASlot;
264 RssiMeasurement rssiMeasurementSupport;
268 EXTERN ClCb clGlobalCp;
269 EXTERN ClCellCb * rgClUtlGetCellCb ARGS((U16 cellId));
273 /**********************************************************************
275 **********************************************************************/