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 /* header include files -- defines (.h) */
21 #ifndef __LWR_MAC_UPR_INF_H__
22 #define __LWR_MAC_UPR_INF_H__
24 #include "envopt.h" /* environment options */
25 #include "envdep.h" /* environment dependent */
26 #include "envind.h" /* environment independent */
27 #include "gen.h" /* general layer */
28 #include "ssi.h" /* system services */
29 #include "cm5.h" /* common timers defines */
30 #include "cm_hash.h" /* common hash list defines */
31 #include "cm_llist.h" /* common linked list defines */
32 #include "cm_mblk.h" /* memory management */
33 #include "cm_tkns.h" /* common tokens */
34 #include "cm_lte.h" /* common tokens */
37 /* header/extern include files (.x) */
38 #include "gen.x" /* general layer typedefs */
39 #include "ssi.x" /* system services typedefs */
40 #include "cm5.x" /* common timers */
41 #include "cm_hash.x" /* common hash list */
42 #include "cm_lib.x" /* common library */
43 #include "cm_llist.x" /* common linked list */
44 #include "cm_mblk.x" /* memory management */
45 #include "cm_tkns.x" /* common tokens */
46 #include "cm_lte.x" /* common tokens */
49 typedef S16 (*packSlotIndMsg)(Pst *pst, SlotIndInfo *slotInd);
50 S16 packLcSlotInd (Pst *pst, SlotIndInfo *slotInd);
51 S16 packLwlcSlotInd (Pst *pst, SlotIndInfo *slotInd);
53 typedef uint16_t (*packRachIndMsg)(Pst *pst, RachInd *rachInd);
54 uint16_t packRachInd(Pst *pst, RachInd *rachInd);
55 uint16_t fapiMacRachInd(Pst *pst, RachInd *rachInd);
57 typedef uint16_t (*packCrcIndMsg)(Pst *pst, CrcInd *crcInd);
58 uint16_t packCrcInd(Pst *pst, CrcInd *crcInd);
59 uint16_t fapiMacCrcInd(Pst *pst, CrcInd *crcInd);
62 typedef uint16_t (*packRxDataIndMsg)(Pst *pst, RxDataInd *rxDataInd);
63 uint16_t packRxDataInd(Pst *pst, RxDataInd *rxDataInd);
64 uint16_t fapiMacRxDataInd(Pst *pst, RxDataInd *rxDataInd);
66 typedef uint16_t (*packStopIndMsg)(Pst *pst);
67 uint16_t packStopInd(Pst *pst);
68 uint16_t fapiMacStopInd(Pst *pst);
70 /**********************************************************************
72 **********************************************************************/