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 typedef struct schFcfsCellCb
21 CmLListCp ueToBeScheduled; /*!< Linked list to store UEs pending to be scheduled, */
24 typedef struct schFcfsLcCb
26 /* TODO: For Multiple RRMPolicies, Make DedicatedLcInfo as array/Double Pointer
27 * and have separate DedLCInfo for each RRMPolcyMemberList*/
28 /* Dedicated LC List will be allocated, if any available*/
29 CmLListCp dedLcList; /*Contain LCInfo per RRMPolicy*/
30 CmLListCp defLcList; /*Linklist of LC assoc with Default S-NSSAI(s)*/
31 /* SharedPRB number can be used by any LC.
32 * Need to calculate in every Slot based on PRB availability*/
33 uint16_t sharedNumPrb;
36 typedef struct schFcfsHqProcCb
41 typedef struct schFcfsHqCb
43 CmLListCp ulRetxHqList;
44 CmLListCp dlRetxHqList;
47 typedef struct schFcfsUeCb
52 uint8_t schFcfsAddUeToSchedule(SchCellCb *cellCb, uint16_t ueIdToAdd);
53 void schFcfsAllApisInit(SchAllApis *allFcfsApi);
55 /**********************************************************************
57 *********************************************************************/