FreeCalypso > hg > fc-tourmaline
comparison src/g23m-gprs/grr/grr_em.h @ 1:fa8dc04885d8
src/g23m-*: import from Magnetite
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 16 Oct 2020 06:25:50 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:4e78acac3d88 | 1:fa8dc04885d8 |
|---|---|
| 1 /* | |
| 2 +----------------------------------------------------------------------------- | |
| 3 | Project : | |
| 4 | Modul : | |
| 5 +----------------------------------------------------------------------------- | |
| 6 | Copyright 2002 Texas Instruments Berlin, AG | |
| 7 | All rights reserved. | |
| 8 | | |
| 9 | This file is confidential and a trade secret of Texas | |
| 10 | Instruments Berlin, AG | |
| 11 | The receipt of or possession of this file does not convey | |
| 12 | any rights to reproduce or disclose its contents or to | |
| 13 | manufacture, use, or sell anything it may describe, in | |
| 14 | whole, or in part, without the specific written consent of | |
| 15 | Texas Instruments Berlin, AG. | |
| 16 +----------------------------------------------------------------------------- | |
| 17 | Purpose : Engineering Mode (EM) Declarations + Macros | |
| 18 | | |
| 19 +----------------------------------------------------------------------------- | |
| 20 */ | |
| 21 #ifndef GRR_EM_H | |
| 22 #define GRR_EM_H | |
| 23 | |
| 24 #ifdef FF_EM_MODE | |
| 25 | |
| 26 /*-------------- other Macros --------------------------- */ | |
| 27 /* same as defined in rr_em.h*/ | |
| 28 #define TRACE_EVENT_EM_P5(s,a1,a2,a3,a4,a5) TRACE_USER_CLASS_P5(TC_USER8,s,a1,a2,a3,a4,a5) | |
| 29 #define TRACE_EVENT_EM_P6(s,a1,a2,a3,a4,a5,a6) TRACE_USER_CLASS_P6(TC_USER8,s,a1,a2,a3,a4,a5,a6) | |
| 30 | |
| 31 /* ------------ data declarations for EM ---------------- */ | |
| 32 /* | |
| 33 * em_dsc_val is used for the engineering mode. To avoid unnecessary primitive sending | |
| 34 * this variable is defined as global and is used between entities. | |
| 35 */ | |
| 36 EXTERN UBYTE em_dsc_val; | |
| 37 | |
| 38 /*in em_pco_trace_on_and_callback_off is stored if the EM data output is redirected*/ | |
| 39 EXTERN UBYTE em_pco_trace_on_and_callback_off; /*lint -esym(526,em_pco_trace_on_and_callback_off) | |
| 40 : not defined here */ | |
| 41 | |
| 42 /*---------Functions ---------*/ | |
| 43 EXTERN void grr_em_pco_trace_req ( T_EM_PCO_TRACE_REQ * em_pco_trace_req ); | |
| 44 EXTERN void grr_em_sc_gprs_info_req ( T_EM_SC_GPRS_INFO_REQ * em_sc_gprs_info_req ); | |
| 45 | |
| 46 /*-----------FMM--------------*/ | |
| 47 EXTERN void grr_em_fmm_sc_gprs_info_req (T_EM_FMM_SC_GPRS_INFO_REQ * em_fmm_sc_gprs_info_req); /*FMM*/ | |
| 48 EXTERN void grr_em_fmm_tbf_info_req (T_EM_FMM_TBF_INFO_REQ * em_fmm_tbf_info_req ); /*FMM*/ | |
| 49 | |
| 50 /*--- other macros -------*/ | |
| 51 | |
| 52 #define GRR_EM_SET_DSC_VAL(x) (em_dsc_val = x) | |
| 53 #define GRR_EM_SET_CELL_BARRED (psc_db->scell_par.cell_ba = psi3->scell_par.cell_ba) | |
| 54 | |
| 55 #else /*FF_EM_MODE not defined*/ | |
| 56 | |
| 57 #define GRR_EM_SET_DSC_VAL(x) | |
| 58 #define GRR_EM_SET_CELL_BARRED | |
| 59 | |
| 60 #endif /*FF_EM_MODE*/ | |
| 61 #endif /* GRR_EM_H */ |
