1ce542b3753ea652822ff7179b31a036c11482d3
[o-du/l2.git] / src / 5gnrsch / rg_sch_empty.c
1 /*******************************************************************************
2 ################################################################################
3 #   Copyright (c) [2017-2019] [Radisys]                                        #
4 #                                                                              #
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                                    #
8 #                                                                              #
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #
10 #                                                                              #
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 *******************************************************************************/
18
19 /************************************************************************
20  
21      Name:     SCH layer
22   
23      Type:     C source file
24   
25      Desc:     C source code file for SPS related functions which are
26                currently dummy
27   
28      File:     rg_sch_sps.c 
29   
30 **********************************************************************/
31 /* header include files -- defines (.h) */
32 #include "common_def.h"
33 #include "lrg.h"
34 #include "rgr.h"
35 #include "tfu.h"
36 #include "rgm.h"
37 #include "rg_env.h"
38 #include "rg_sch_inf.h"
39 #include "rg_sch.h"
40 #include "rg_sch_err.h"
41 #include "rg_sch_cmn.h"
42
43 /* header/extern include files (.x) */
44 #include "tfu.x"           /* TFU types */
45 #include "lrg.x"           /* layer management typedefs for MAC */
46 #include "rgr.x"           /* layer management typedefs for MAC */
47 #include "rgm.x"           /* layer management typedefs for MAC */
48 #include "rg_sch_inf.x"         /* typedefs for Scheduler */
49 #include "rg_sch.x"        /* typedefs for Scheduler */
50 #include "rg_sch_cmn.x"
51
52 /**
53  *@brief Initializes the SPS related global data structures
54  *
55  *@details
56  *     Function : rgSCHCmnSpsInit
57  *
58  *  @param[in] Void
59  * 
60  *  @return Void
61  **/
62 Void rgSCHCmnSpsInit()
63 {
64
65    return;
66 }
67
68 /**
69  *@brief Initializes UE with SPS info
70  *
71  *@details
72  *     Function : rgSCHCmnSpsUeCfg 
73  *
74  *  @param[in] Void
75  * 
76  *  @return Void
77  **/
78 S16 rgSCHCmnSpsUeCfg(RgSchCellCb *cell,RgSchUeCb  *ue,RgrUeCfg *ueCfg,RgSchErrInfo *err)
79 {
80
81    return ROK;
82 }
83
84 /**
85  *@brief Re-Initializes UE with SPS info
86  *
87  *@details
88  *     Function : rgSCHCmnSpsUeReCfg 
89  *
90  *  @param[in] Void
91  * 
92  *  @return Void
93  **/
94 S16 rgSCHCmnSpsUeRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeRecfg *ueRecfg,RgSchErrInfo *err)
95 {
96
97    return ROK;
98 }
99
100 /**
101  *@brief Clears the UE of SPS info
102  *
103  *@details
104  *     Function : rgSCHCmnSpsUeDel
105  *
106  *  @param[in] Void
107  * 
108  *  @return Void
109  **/
110 Void rgSCHCmnSpsUeDel(RgSchCellCb *cell,RgSchUeCb  *ue)
111 {
112
113    return;
114 }
115
116 /**
117  *@brief Validates cell config for SPS
118  *
119  *@details
120  *     Function : rgSCHCmnSpsCellCfg
121  *
122  *  @param[in] Void
123  * 
124  *  @return Void
125  **/
126 S16 rgSCHCmnSpsCellCfg(RgSchCellCb *cell,RgrCellCfg *cellCfg,RgSchErrInfo *err)
127 {
128
129    return ROK;
130 }
131
132 /**
133  *@brief Deletes cell config for SPS
134  *
135  *@details
136  *     Function : rgSCHCmnSpsCellDel
137  *
138  *  @param[in] Void
139  * 
140  *  @return Void
141  **/
142 Void rgSCHCmnSpsCellDel(RgSchCellCb *cell)
143 {
144
145    return;
146 }
147
148 /**
149  *@brief Configures DL LC for SPS
150  *
151  *@details
152  *     Function :rgSCHCmnSpsDlLcCfg 
153  *
154  *  @param[in] Void
155  * 
156  *  @return Void
157  **/
158 S16 rgSCHCmnSpsDlLcCfg(RgSchCellCb  *cell,RgSchUeCb  *ue,RgSchDlLcCb  *dlLc,RgrLchCfg  *lcCfg,RgSchErrInfo  *err)
159 {
160
161    return ROK;
162 }
163
164 Void rgSchCmnDlSfHqDel 
165 ARGS((
166 RgSchUeCb    *ue,
167 RgSchCellCb  *cell
168 ))
169 {
170    return;
171 }
172
173 S16 rgSCHCmnSpsDlLcRecfg ARGS((
174 RgSchCellCb        *cell,
175 RgSchUeCb          *ue,
176 RgSchDlLcCb        *dlLc,
177 RgrLchRecfg        *lcRecfg,
178 RgSchErrInfo       *err
179 ))
180 {
181    
182    return ROK;
183 }
184
185 Void rgSCHCmnSpsUlLcgDel ARGS(( 
186 RgSchCellCb      *cell,
187 RgSchUeCb        *ue,
188 RgSchLcgCb       *lcg
189 ))
190 {
191    return;
192 }
193
194 Void rgSCHCmnSpsDlLcDel ARGS((
195 RgSchCellCb        *cell,
196 RgSchUeCb          *ue,
197 RgSchDlLcCb        *dlLc
198 ))
199 {
200    return;
201 }
202
203 S16 rgSCHCmnSpsUlTti ARGS((
204 RgSchCellCb             *cell,
205 RgSchCmnUlRbAllocInfo   *allocInfo
206 ))
207 {
208
209    return ROK;
210 }
211
212 Void rgSCHCmnSpsDlDedBoUpd ARGS((
213 RgSchCellCb            *cell,
214 RgSchUeCb              *ue,
215 RgSchDlLcCb            *dlLc
216 ))
217 {
218
219    return;
220 }
221
222 Void rgSCHCmnSpsDlProcAddToRetx ARGS((
223 RgSchCellCb           *cell,
224 RgSchDlHqProcCb       *hqP
225 ))
226 {
227
228    return;
229 }
230
231 Void rgSCHCmnSpsDlCqiIndHndlr ARGS((
232 RgSchCellCb          *cell,
233 RgSchUeCb            *ue,
234 CmLteTimingInfo      timingInfo
235 ))
236 {
237
238    return;
239 }
240
241 S16 rgSCHCmnSpsUlCqiInd ARGS((
242 RgSchCellCb          *cell,
243 RgSchUeCb            *ue
244 ))
245 {
246
247    return ROK;
248 }
249
250 S16 rgSCHCmnSpsBsrRpt ARGS((
251 RgSchCellCb  *cell,
252 RgSchUeCb    *ue,
253 RgSchLcgCb   *ulLcg
254 ))
255 {
256
257    return ROK;
258 }
259
260 Void rgSCHCmnSpsPhrInd ARGS((
261 RgSchCellCb         *cell,
262 RgSchUeCb           *ue
263 ))
264 {
265
266    return;
267 }
268
269 Void rgSCHCmnSpsDlRelPdcchFbk ARGS((
270 RgSchCellCb           *cell,
271 RgSchUeCb             *ue,
272 Bool                  isAck
273 ))
274 {
275
276    return;
277 }
278
279 Void rgSCHCmnSpsDlProcAck ARGS((
280 RgSchCellCb           *cell,
281 RgSchDlHqProcCb       *hqP
282 ))
283 {
284
285    return;
286 }
287
288 Void rgSCHCmnSpsDlUeReset ARGS((
289 RgSchCellCb         *cell,
290 RgSchUeCb           *ue
291 ))
292 {
293
294    return;
295 }
296
297 Void rgSCHCmnSpsUlUeReset ARGS((
298 RgSchCellCb         *cell,
299 RgSchUeCb           *ue
300 ))
301 {
302
303    return;
304 }
305
306 Void rgSCHCmnSpsUlProcRelInd ARGS((
307 RgSchCellCb         *cell,
308 RgSchUeCb           *ue,
309 Bool                isExplRel
310 ))
311 {
312
313    return;
314 }
315
316 Void rgSCHCmnSpsUlProcActInd ARGS((
317 RgSchCellCb         *cell,
318 RgSchUeCb           *ue,
319 uint16_t                 spsSduSize
320 ))
321 {
322
323    return;
324 }
325
326 S16 rgSCHCmnSpsUlProcCrcInd ARGS((
327 RgSchCellCb          *cell,
328 RgSchUeCb            *ue,
329 CmLteTimingInfo      crcTime
330 ))
331 {
332
333    return ROK;
334 }
335
336 S16 rgSCHCmnSpsUlProcDtxInd ARGS((
337 RgSchCellCb          *cell,
338 RgSchUeCb            *ue,
339 CmLteTimingInfo      dtxTime
340 ))
341 {
342
343    return ROK;
344 }
345
346 Void rgSCHCmnSpsDlUpdDlSfAllocWithSps ARGS((
347 RgSchCellCb           *cell,
348 CmLteTimingInfo       schdTime,
349 RgSchDlSf             *dlSf
350 ))
351 {
352
353    return;
354 }
355
356
357
358
359
360 /**********************************************************************
361  
362          End of file
363 **********************************************************************/