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 /************************************************************************
25 Desc: C source code for portable definitions for Layer Manager
30 **********************************************************************/
33 @brief This file contains the definitions for Layer Manager
34 Interface primitives that are invoked from MAC to Layer Manager
35 (Confirmations and Indications) Portable functions corresponding
36 to these primitives are also defined.
39 /* header include files (.h) */
40 #include "common_def.h"
41 #include "lrg.h" /* LRG Interface defines */
42 /* header/extern include files (.x) */
43 #include "lrg.x" /* LRG Interface includes */
47 #endif /* __cplusplus */
49 #if !(defined(LCRGMILRG) && defined(SM))
53 #define RG_MAX_LRG_USR 2
55 /* portable functions at LRG interface */
57 EXTERN S16 PtMiLrgCfgCfm ARGS((Pst *pst, RgMngmt *cfm));
58 EXTERN S16 PtMiLrgSchCfgCfm ARGS((Pst *pst, RgMngmt *cfm));
59 EXTERN S16 PtMiLrgStsCfm ARGS((Pst *pst, RgMngmt *cfm));
60 EXTERN S16 PtMiLrgStaCfm ARGS((Pst *pst, RgMngmt *cfm));
61 EXTERN S16 PtMiLrgStaInd ARGS((Pst *pst, RgMngmt *usta));
62 EXTERN S16 PtMiLrgSchStaInd ARGS((Pst *pst, RgMngmt *usta));
63 EXTERN S16 PtMiLrgCntrlCfm ARGS((Pst *pst, RgMngmt *cfm));
64 EXTERN S16 PtMiLrgSchCntrlCfm ARGS((Pst *pst, RgMngmt *cfm));
65 EXTERN S16 PtMiLrgTrcInd ARGS((Pst *pst, RgMngmt *trc,Buffer *mBuf));
67 EXTERN S16 PtMiLrgSchL2MeasCfm ARGS((Pst *pst, LrgSchMeasCfmInfo *cfm));
68 EXTERN S16 PtMiLrgSchL2MeasStopCfm ARGS((Pst *pst,LrgSchMeasCfmInfo *cfm ));
72 /* ***********LRG interface Mapping matrices ********************/
74 /** @brief Configuration Confirm primitive Matrix
75 * This matrix defines the mapping between the configuration confirm
76 * primitive called by the upper interface of MAC layer and the
77 * corresponding primitives of the MAC layer service user(s).
79 * The parameter RG_MAX_LRG_USR defines the maximum number of Layer
80 * managers of MAC at the LRG interface. This is an array of functions
81 * per primitive invoked by MAC whose size is RG_MAX_LRG_USR.
83 * The dispatching is performed by the configurable variable: selector.
84 * The selector is configured on a per SAP basis. The selectors are:
86 * LCRGMILRG - loosely coupled LMK interface
87 * TCRGMILRG - Tightly coupled LMK interface
89 * In a similar fashion, the matrices for Status, Statistics and
90 * Control confirms and, Status and trace indications are defined.
92 PRIVATE CONSTANT LrgCfgCfm RgMiLrgCfgCfmMt[RG_MAX_LRG_USR] =
95 cmPkLrgCfgCfm, /* 0 - loosely coupled */
97 PtMiLrgCfgCfm, /* 0 - loosely coupled */
100 SmMiLrgCfgCfm, /* 1 - Tightly coupled SM */
102 PtMiLrgCfgCfm, /* 1 - Tightly coupled SM */
106 /** @brief Scheduler Config Confirm primitive Matrix */
107 PRIVATE CONSTANT LrgSchCfgCfm RgMiLrgSchCfgCfmMt[RG_MAX_LRG_USR] =
110 cmPkLrgSchCfgCfm, /* 0 - loosely coupled */
112 PtMiLrgSchCfgCfm, /* 0 - loosely coupled */
115 SmMiLrgSchCfgCfm, /* 1 - Tightly coupled SM */
117 PtMiLrgSchCfgCfm, /* 1 - Tightly coupled SM */
121 /** @brief Statistics Confirm primitive Matrix */
122 PRIVATE CONSTANT LrgStsCfm RgMiLrgStsCfmMt[RG_MAX_LRG_USR] =
125 cmPkLrgStsCfm, /* 0 - loosely coupled */
127 PtMiLrgStsCfm, /* 0 - loosely coupled */
130 SmMiLrgStsCfm, /* 1 - Tightly coupled SM */
132 PtMiLrgStsCfm, /* 1 - Tightly coupled SM */
136 /** @brief Status Confirm primitive Matrix */
137 PRIVATE CONSTANT LrgStaCfm RgMiLrgStaCfmMt[RG_MAX_LRG_USR] =
140 cmPkLrgStaCfm, /* 0 - loosely coupled */
142 PtMiLrgStaCfm, /* 0 - loosely coupled */
145 SmMiLrgStaCfm, /* 1 - Tightly coupled SM */
147 PtMiLrgStaCfm, /* 1 - Tightly coupled SM */
152 /** @brief Status Indication primitive Matrix */
153 PRIVATE CONSTANT LrgStaInd RgMiLrgStaIndMt[RG_MAX_LRG_USR] =
156 cmPkLrgStaInd, /* 0 - loosely coupled */
158 PtMiLrgStaInd, /* 0 - loosely coupled */
161 SmMiLrgStaInd, /* 1 - Tightly coupled SM */
163 PtMiLrgStaInd, /* 1 - Tightly coupled SM */
167 /** @brief Scheduler Status Indication primitive Matrix */
168 PRIVATE CONSTANT LrgSchStaInd RgMiLrgSchStaIndMt[RG_MAX_LRG_USR] =
171 cmPkLrgSchStaInd, /* 0 - loosely coupled */
173 PtMiLrgSchStaInd, /* 0 - loosely coupled */
176 SmMiLrgSchStaInd, /* 1 - Tightly coupled SM */
178 PtMiLrgSchStaInd, /* 1 - Tightly coupled SM */
183 /** @brief Control Confirm primitive Matrix */
184 PRIVATE CONSTANT LrgCntrlCfm RgMiLrgCntrlCfmMt[RG_MAX_LRG_USR] =
187 cmPkLrgCntrlCfm, /* 0 - loosely coupled */
189 PtMiLrgCntrlCfm, /* 0 - loosely coupled */
192 SmMiLrgCntrlCfm, /* 1 - Tightly coupled SM */
194 PtMiLrgCntrlCfm, /* 1 - Tightly coupled SM */
198 /** @brief Scheduler Control Confirm primitive Matrix */
199 PRIVATE CONSTANT LrgSchCntrlCfm RgMiLrgSchCntrlCfmMt[RG_MAX_LRG_USR] =
202 cmPkLrgSchCntrlCfm, /* 0 - loosely coupled */
204 PtMiLrgSchCntrlCfm, /* 0 - loosely coupled */
207 SmMiLrgSchCntrlCfm, /* 1 - Tightly coupled SM */
209 PtMiLrgSchCntrlCfm, /* 1 - Tightly coupled SM */
213 /** @brief Trace Indication primitive Matrix */
214 PRIVATE CONSTANT LrgTrcInd RgMiLrgTrcIndMt[RG_MAX_LRG_USR] =
217 cmPkLrgTrcInd, /* 0 - loosely coupled */
219 PtMiLrgTrcInd, /* 0 - loosely coupled */
222 SmMiLrgTrcInd, /* 1 - Tightly coupled SM */
224 PtMiLrgTrcInd, /* 1 - Tightly coupled SM */
228 /** @brief L2 Meas Cfm primitive Matrix */
229 PRIVATE CONSTANT LrgSchL2MeasCfm RgMiLrgSchL2mMeasCfmMt[RG_MAX_LRG_USR] =
232 cmPkLrgSchL2MeasCfm, /* 0 - loosely coupled */
234 PtMiLrgSchL2MeasCfm, /* 0 - loosely coupled */
237 SmMiLrgSchL2MeasCfm, /* 1 - Tightly coupled SM */
239 PtMiLrgSchL2MeasCfm, /* 1 - loosely coupled */
242 /** @brief L2 Meas Stop Cfm primitive Matrix */
243 PRIVATE CONSTANT LrgSchL2MeasStopCfm RgMiLrgSchL2mMeasStopCfmMt[RG_MAX_LRG_USR] =
246 cmPkLrgSchL2MeasStopCfm, /* 0 - loosely coupled */
248 PtMiLrgSchL2MeasStopCfm, /* 0 - loosely coupled */
251 SmMiLrgSchL2MeasStopCfm, /* 1 - Tightly coupled SM */
253 PtMiLrgSchL2MeasStopCfm, /* 1 - loosely coupled */
256 #endif /* LTE_L2_MEAS */
260 #endif /* __cplusplus */
266 * @brief Layer Manager Configuration confirm handler.
270 * Function : RgMiLrgCfgCfm
272 * This function handles the configuration
273 * confirm invoked by MAC to Layer Manager.
274 * -# Based on the pst->selector value it invokes one of the
275 * functions cmPkLrgCfgCfm() or SmMiLrgCfgCfm().
277 * @param[in] Pst *pst, the post structure
278 * @param[in] RgMngmt *cfm, the configuration confirm structure
283 PUBLIC S16 RgMiLrgCfgCfm
285 Pst *pst, /* post structure */
286 RgMngmt *cfm /* config confirm structure */
289 PUBLIC S16 RgMiLrgCfgCfm(pst, cfm)
290 Pst *pst; /* post structure */
291 RgMngmt *cfm; /* config confirm structure */
297 (*RgMiLrgCfgCfmMt[pst->selector])(pst, cfm);
301 }/*-- RgMiLrgCfgCfm --*/
304 * @brief Layer Manager scheduler Configuration confirm handler.
308 * Function : RgMiLrgSchCfgCfm
310 * This function handles the configuration
311 * confirm invoked by Scheduler to Layer Manager.
312 * -# Based on the pst->selector value it invokes one of the
313 * functions cmPkLrgSchCfgCfm() or SmMiLrgSchCfgCfm().
315 * @param[in] Pst *pst, the post structure
316 * @param[in] RgMngmt *cfm, the configuration confirm structure
321 PUBLIC S16 RgMiLrgSchCfgCfm
323 Pst *pst, /* post structure */
324 RgMngmt *cfm /* config confirm structure */
327 PUBLIC S16 RgMiLrgSchCfgCfm(pst, cfm)
328 Pst *pst; /* post structure */
329 RgMngmt *cfm; /* config confirm structure */
333 TRC3(RgMiLrgSchCfgCfm);
335 (*RgMiLrgSchCfgCfmMt[pst->selector])(pst, cfm);
339 }/*-- RgMiLrgSchCfgCfm --*/
344 * @brief Layer Manager Statistics confirm handler.
348 * Function : RgMiLrgStsCfm
350 * This function handles the statistics
351 * confirm invoked by MAC to Layer Manager.
352 * -# Based on the pst->selector value it invokes one of the
353 * functions cmPkLrgStsCfm() or SmMiLrgStsCfm().
355 * @param[in] Pst *pst, the post structure
356 * @param[in] RgMngmt *cfm, the statistics confirm structure
361 PUBLIC S16 RgMiLrgStsCfm
363 Pst *pst, /* post structure */
364 RgMngmt *cfm /* statistics confirm structure */
367 PUBLIC S16 RgMiLrgStsCfm(pst, cfm)
368 Pst *pst; /* post structure */
369 RgMngmt *cfm; /* statistics confirm structure */
375 (*RgMiLrgStsCfmMt[pst->selector])(pst, cfm);
379 }/*-- RgMiLrgStsCfm --*/
383 * @brief Layer Manager Status confirm handler.
387 * Function : RgMiLrgStaCfm
389 * This function handles the status
390 * confirm invoked by MAC to Layer Manager.
391 * -# Based on the pst->selector value it invokes one of the
392 * functions cmPkLrgStaCfm() or SmMiLrgStaCfm().
394 * @param[in] Pst *pst, the post structure
395 * @param[in] RgMngmt *cfm, the status confirm structure
400 PUBLIC S16 RgMiLrgStaCfm
402 Pst *pst, /* post structure */
403 RgMngmt *cfm /* status confirm structure */
406 PUBLIC S16 RgMiLrgStaCfm(pst, cfm)
407 Pst *pst; /* post structure */
408 RgMngmt *cfm; /* status confirm structure */
414 (*RgMiLrgStaCfmMt[pst->selector])(pst,cfm);
418 }/*-- RgMiLrgStaCfm --*/
422 * @brief Layer Manager Control confirm handler.
426 * Function : RgMiLrgCntrlCfm
428 * This function handles the control
429 * confirm invoked by MAC to Layer Manager.
430 * -# Based on the pst->selector value it invokes one of the
431 * functions cmPkLrgCntrlCfm() or SmMiLrgCntrlCfm().
433 * @param[in] Pst *pst, the post structure
434 * @param[in] RgMngmt *cfm, the control confirm structure
439 PUBLIC S16 RgMiLrgCntrlCfm
441 Pst *pst, /* post structure */
442 RgMngmt *cfm /* control confirm structure */
445 PUBLIC S16 RgMiLrgCntrlCfm(pst, cfm)
446 Pst *pst; /* post structure */
447 RgMngmt *cfm; /* control confirm structure */
451 TRC3(RgMiLrgCntrlCfm);
453 (*RgMiLrgCntrlCfmMt[pst->selector])(pst,cfm);
457 }/*-- RgMiLrgCntrlCfm --*/
460 * @brief Layer Manager scheduler Control confirm handler.
464 * Function : RgMiLrgSchCntrlCfm
466 * This function handles the control
467 * confirm invoked by scheduler to Layer Manager.
468 * -# Based on the pst->selector value it invokes one of the
469 * functions cmPkLrgSchCntrlCfm() or SmMiLrgSchCntrlCfm().
471 * @param[in] Pst *pst, the post structure
472 * @param[in] RgMngmt *cfm, the control confirm structure
477 PUBLIC S16 RgMiLrgSchCntrlCfm
479 Pst *pst, /* post structure */
480 RgMngmt *cfm /* control confirm structure */
483 PUBLIC S16 RgMiLrgSchCntrlCfm(pst, cfm)
484 Pst *pst; /* post structure */
485 RgMngmt *cfm; /* control confirm structure */
489 TRC3(RgMiLrgSchCntrlCfm);
491 (*RgMiLrgSchCntrlCfmMt[pst->selector])(pst,cfm);
495 }/*-- RgMiLrgSchCntrlCfm --*/
499 * @brief Layer Manager Unsolicited Status Indication handler.
503 * Function : RgMiLrgStaInd
505 * This function handles the unsolicited status
506 * Indication invoked by MAC to Layer Manager.
507 * -# Based on the pst->selector value it invokes one of the
508 * functions cmPkLrgStaInd() or SmMiLrgStaInd().
510 * @param[in] Pst *pst, the post structure
511 * @param[in] RgMngmt *usta, the status indication structure
516 PUBLIC S16 RgMiLrgStaInd
518 Pst *pst, /* post structure */
519 RgMngmt *usta /* status indication structure */
522 PUBLIC S16 RgMiLrgStaInd(pst, usta)
523 Pst *pst; /* post structure */
524 RgMngmt *usta; /* status indication structure */
530 (*RgMiLrgStaIndMt[pst->selector])(pst,usta);
534 }/*-- RgMiLrgStaInd --*/
537 * @brief Layer Manager Unsolicited Status Indication handler from scheduler
541 * Function : RgMiLrgSchStaInd
543 * This function handles the unsolicited status
544 * Indication invoked by Scheduler to Layer Manager.
545 * -# Based on the pst->selector value it invokes one of the
546 * functions cmPkLrgSchStaInd() or SmMiLrgSchStaInd().
548 * @param[in] Pst *pst, the post structure
549 * @param[in] RgMngmt *usta, the status indication structure
554 PUBLIC S16 RgMiLrgSchStaInd
556 Pst *pst, /* post structure */
557 RgMngmt *usta /* status indication structure */
560 PUBLIC S16 RgMiLrgSchStaInd(pst, usta)
561 Pst *pst; /* post structure */
562 RgMngmt *usta; /* status indication structure */
566 TRC3(RgMiLrgSchStaInd);
568 (*RgMiLrgSchStaIndMt[pst->selector])(pst,usta);
572 }/*-- RgMiLrgSchStaInd --*/
576 * @brief Layer Manager Trace Indication handler.
580 * Function : RgMiLrgTrcInd
582 * This function handles the trace
583 * Indication invoked by MAC to Layer Manager.
584 * -# Based on the pst->selector value it invokes one of the
585 * functions cmPkLrgTrcInd() or SmMiLrgTrcInd().
587 * @param[in] Pst *pst, the post structure
588 * @param[in] RgMngmt *trc, the trace event
589 * @param[in] Buffer *mBuf, the trace message
594 PUBLIC S16 RgMiLrgTrcInd
596 Pst *pst, /* post structure */
597 RgMngmt *trc, /* Trace event */
598 Buffer *mBuf /* Trace message */
601 PUBLIC S16 RgMiLrgTrcInd(pst, trc, mBuf)
602 Pst *pst; /* post structure */
603 RgMngmt *trc; /* Trace event */
604 Buffer *mBuf; /* Trace message */
610 (*RgMiLrgTrcIndMt[pst->selector])(pst,trc,mBuf);
614 }/*-- RgMiLrgTrcInd --*/
618 /* TODO: Function header */
620 PUBLIC S16 RgMiLrgSchL2MeasCfm
622 Pst *pst, /* post structure */
623 LrgSchMeasCfmInfo *cfm /* Meas Cfm Info */
626 PUBLIC S16 RgMiLrgSchL2MeasCfm(pst, cfm)
627 Pst *pst; /* post structure */
628 LrgSchMeasCfmInfo *cfm; /* Meas Cfm Info */
631 TRC3(RgMiLrgSchL2MeasCfm)
633 (*RgMiLrgSchL2mMeasCfmMt[pst->selector])(pst,cfm);
637 } /* RgMiLrgSchL2MeasCfm */
640 * @brief This function used to send L2 measurement stop confirmation
646 * Function : RgMiLrgSchL2MeasStopCfm
647 * This function sends reposnes to L2 Measurement stop request
650 * @param[in] Pst *pst, the post structure
651 * @param[in] LrgSchMeasCfmInfo *cfm, theconfirm structure
657 PUBLIC S16 RgMiLrgSchL2MeasStopCfm
659 Pst *pst, /* post structure */
660 LrgSchMeasCfmInfo *cfm /* Meas Cfm Info */
663 PUBLIC S16 RgMiLrgSchL2MeasStopCfm(pst, cfm)
664 Pst *pst; /* post structure */
665 LrgSchMeasCfmInfo *cfm; /* Meas Cfm Info */
668 TRC3(RgMiLrgSchL2MeasStopCfm)
670 (*RgMiLrgSchL2mMeasStopCfmMt[pst->selector])(pst,cfm);
674 } /* RgMiLrgSchL2MeasStopCfm */
676 #endif /* LTE_L2_MEAS */
683 * @brief Portable Function definition for Layer Manager Configuration
688 * Function : PtMiLrgCfgCfm
690 * This function handles the configuration
691 * confirm invoked by MAC to Layer Manager.
692 * Users of MAC who intend to provide a glue logic
693 * for portability of Configuration Confirm are expected
694 * to fill in the code in this function definition.
696 * @param[in] Pst *pst, the post structure
697 * @param[in] RgMngmt *cfm, the configuration confirm structure
702 PUBLIC S16 PtMiLrgCfgCfm
704 Pst *pst, /* post structure */
705 RgMngmt *cfm /* Config Confirm */
708 PUBLIC S16 PtMiLrgCfgCfm (pst, cfm)
709 Pst *pst; /* post structure */
710 RgMngmt *cfm; /* Config Confirm */
716 }/* end of PtMiLrgCfgCfm */
719 * @brief Portable Function definition for Layer Manager Configuration
724 * Function : PtMiLrgSchCfgCfm
726 * This function handles the configuration
727 * confirm invoked by scheduler to Layer Manager.
728 * Users of MAC who intend to provide a glue logic
729 * for portability of Configuration Confirm are expected
730 * to fill in the code in this function definition.
732 * @param[in] Pst *pst, the post structure
733 * @param[in] RgMngmt *cfm, the configuration confirm structure
738 PUBLIC S16 PtMiLrgSchCfgCfm
740 Pst *pst, /* post structure */
741 RgMngmt *cfm /* Config Confirm */
744 PUBLIC S16 PtMiLrgSchCfgCfm (pst, cfm)
745 Pst *pst; /* post structure */
746 RgMngmt *cfm; /* Config Confirm */
749 TRC3(PtMiLrgSchCfgCfm)
752 }/* end of PtMiLrgSchCfgCfm */
757 * @brief Portable Function definition for Layer Manager Statistics
762 * Function : PtMiLrgStsCfm
764 * This function handles the statistics
765 * confirm invoked by MAC to Layer Manager.
766 * Users of MAC who intend to provide a glue logic
767 * for portability of statistics Confirm are expected
768 * to fill in the code in this function definition.
770 * @param[in] Pst *pst, the post structure
771 * @param[in] RgMngmt *cfm, the statistics confirm structure
776 PUBLIC S16 PtMiLrgStsCfm
778 Pst *pst, /* post structure */
779 RgMngmt *cfm /* Statistics Confirm */
782 PUBLIC S16 PtMiLrgStsCfm (pst, cfm)
783 Pst *pst; /* post structure */
784 RgMngmt *cfm; /* Statistics Confirm */
790 }/* end of PtMiLrgStsCfm */
795 * @brief Portable Function definition for Layer Manager Status
800 * Function : PtMiLrgStaCfm
802 * This function handles the status
803 * confirm invoked by MAC to Layer Manager.
804 * Users of MAC who intend to provide a glue logic
805 * for portability of status Confirm are expected
806 * to fill in the code in this function definition.
808 * @param[in] Pst *pst, the post structure
809 * @param[in] RgMngmt *cfm, the status confirm structure
814 PUBLIC S16 PtMiLrgStaCfm
816 Pst *pst, /* post structure */
817 RgMngmt *cfm /* Status Confirm */
820 PUBLIC S16 PtMiLrgStaCfm (pst, cfm)
821 Pst *pst; /* post structure */
822 RgMngmt *cfm; /* Status Confirm */
827 }/* end of PtMiLrgStaCfm */
832 * @brief Portable Function definition for Layer Manager Status
833 * Indication handler.
837 * Function : PtMiLrgStaInd
839 * This function handles the status
840 * indication invoked by MAC to Layer Manager.
841 * Users of MAC who intend to provide a glue logic
842 * for portability of status indication are expected
843 * to fill in the code in this function definition.
845 * @param[in] Pst *pst, the post structure
846 * @param[in] RgMngmt *cfm, the status indication structure
851 PUBLIC S16 PtMiLrgStaInd
853 Pst *pst, /* post structure */
854 RgMngmt *usta /* Status Indication */
857 PUBLIC S16 PtMiLrgStaInd (pst, usta)
858 Pst *pst; /* post structure */
859 RgMngmt *usta; /* Status indication */
864 }/* end of PtMiLrgStaInd */
867 * @brief Portable Function definition for Layer Manager Status
868 * Indication handler.
872 * Function : PtMiLrgSchStaInd
874 * This function handles the status
875 * indication invoked by Scheduler to Layer Manager.
876 * Users of MAC who intend to provide a glue logic
877 * for portability of status indication are expected
878 * to fill in the code in this function definition.
880 * @param[in] Pst *pst, the post structure
881 * @param[in] RgMngmt *cfm, the status indication structure
886 PUBLIC S16 PtMiLrgSchStaInd
888 Pst *pst, /* post structure */
889 RgMngmt *usta /* Status Indication */
892 PUBLIC S16 PtMiLrgSchStaInd (pst, usta)
893 Pst *pst; /* post structure */
894 RgMngmt *usta; /* Status indication */
897 TRC3(PtMiLrgSchStaInd)
899 }/* end of PtMiLrgSchStaInd */
903 * @brief Portable Function definition for Layer Manager Control
908 * Function : PtMiLrgCntrlCfm
910 * This function handles the control
911 * confirm invoked by MAC to Layer Manager.
912 * Users of MAC who intend to provide a glue logic
913 * for portability of control Confirm are expected
914 * to fill in the code in this function definition.
916 * @param[in] Pst *pst, the post structure
917 * @param[in] RgMngmt *cfm, the control confirm structure
922 PUBLIC S16 PtMiLrgCntrlCfm
924 Pst *pst, /* post structure */
925 RgMngmt *cfm /* Control Confirm */
928 PUBLIC S16 PtMiLrgCntrlCfm (pst, cfm)
929 Pst *pst; /* post structure */
930 RgMngmt *cfm; /* Control Confirm */
933 TRC3(PtMiLrgCntrlCfm)
935 }/* end of PtMiLrgCntrlCfm */
938 * @brief Portable Function definition for Layer Manager Control
943 * Function : PtMiLrgSchCntrlCfm
945 * This function handles the control
946 * confirm invoked by scheduler to Layer Manager.
947 * Users of MAC who intend to provide a glue logic
948 * for portability of control Confirm are expected
949 * to fill in the code in this function definition.
951 * @param[in] Pst *pst, the post structure
952 * @param[in] RgMngmt *cfm, the control confirm structure
957 PUBLIC S16 PtMiLrgSchCntrlCfm
959 Pst *pst, /* post structure */
960 RgMngmt *cfm /* Control Confirm */
963 PUBLIC S16 PtMiLrgSchCntrlCfm (pst, cfm)
964 Pst *pst; /* post structure */
965 RgMngmt *cfm; /* Control Confirm */
968 TRC3(PtMiLrgSchCntrlCfm)
970 }/* end of PtMiLrgSchCntrlCfm */
974 * @brief Portable Function definition for Layer Manager Trace
975 * Indication handler.
979 * Function : PtMiLrgTrcInd
981 * This function handles the trace
982 * indication invoked by MAC to Layer Manager.
983 * Users of MAC who intend to provide a glue logic
984 * for portability of trace indication are expected
985 * to fill in the code in this function definition.
987 * @param[in] Pst *pst, the post structure
988 * @param[in] RgMngmt *cfm, the trace indication structure
993 PUBLIC S16 PtMiLrgTrcInd
995 Pst *pst, /* post structure */
996 RgMngmt *trc, /* Trace Event */
997 Buffer *mBuf /* Trace message */
1000 PUBLIC S16 PtMiLrgTrcInd (pst, trc,mBuf)
1001 Pst *pst; /* post structure */
1002 RgMngmt *trc; /* Trace Event */
1003 Buffer *mBuf; /* Trace message */
1008 }/* end of PtMiLrgTrcInd */
1011 * @brief Portable Function definition for L2 Measurement Configuration
1016 * Function : PtMiLrgSchL2MeasCfm
1019 * @param[in] Pst *pst, the post structure
1020 * @param[in] *cfm, the measurement confirm structure
1025 PUBLIC S16 PtMiLrgSchL2MeasCfm
1027 Pst *pst, /* post structure */
1028 LrgSchMeasCfmInfo *cfm /* Measurement Confirm */
1031 PUBLIC S16 PtMiLrgSchL2MeasCfm(pst, cfm)
1032 Pst *pst; /* post structure */
1033 LrgSchMeasCfmInfo *cfm; /* Measurement Confirm */
1036 TRC3(PtMiLrgSchL2MeasCfm)
1039 }/* end of PtMiLrgSchL2MeasCfm */
1042 * @brief Portable Function definition for L2 Measurement stop
1047 * Function : PtMiLrgSchL2MeasStopCfm
1050 * @param[in] Pst *pst, the post structure
1051 * @param[in] *cfm, the measurement confirm structure
1056 PUBLIC S16 PtMiLrgSchL2MeasStopCfm
1058 Pst *pst, /* post structure */
1059 LrgSchMeasCfmInfo *cfm /* Measurement Confirm */
1062 PUBLIC S16 PtMiLrgSchL2MeasStopCfm(pst, cfm)
1063 Pst *pst; /* post structure */
1064 LrgSchMeasCfmInfo *cfm; /* Measurement Confirm */
1067 TRC3(PtMiLrgSchL2MeasStopCfm)
1070 }/* end of PtMiLrgSchL2MeasStopCfm */
1072 #endif /*--PTRGMILRG--*/
1075 /**********************************************************************
1078 **********************************************************************/