comparison src/g23m-gprs/grr/grr_meass.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 : GPRS (8441)
4 | Modul : GRR
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 : Definitions for service MEAS.
18 +-----------------------------------------------------------------------------
19 */
20
21 #ifndef GRR_MEASS_H
22 #define GRR_MEASS_H
23
24 /* Constants */
25
26 #define NO_PAGING 0xFFFFFFFF
27
28 /* CTRL Signals */
29
30 EXTERN void sig_ctrl_meas_int_list_invalid ( void );
31
32 EXTERN void sig_ctrl_meas_int_list_valid ( void );
33
34 EXTERN void sig_ctrl_meas_ext_invalid_psi5 ( void );
35
36 EXTERN void sig_ctrl_meas_ext_valid_psi5 ( void );
37
38 EXTERN void sig_ctrl_meas_pim ( void );
39
40 EXTERN void sig_ctrl_meas_pam ( void );
41
42 EXTERN void sig_ctrl_meas_ptm ( void );
43
44 EXTERN void sig_ctrl_meas_start ( void );
45
46 EXTERN void sig_ctrl_meas_stop ( void );
47
48 EXTERN void sig_ctrl_meas_suspend ( void );
49
50 EXTERN void sig_ctrl_meas_resume ( void );
51
52 EXTERN void sig_ctrl_meas_pmr_accept ( void );
53
54 EXTERN void sig_ctrl_meas_pmr_reject ( void );
55
56 EXTERN void sig_ctrl_meas_ext_meas_cnf ( T_RRGRR_EXT_MEAS_CNF *rrgrr_ext_meas_cnf );
57
58 EXTERN void sig_ctrl_meas_ba_changed ( void );
59
60 /* CS Signals */
61
62 EXTERN void sig_cs_meas_start ( void );
63
64 EXTERN void sig_cs_meas_stop ( void );
65
66 /* GFP Signals */
67
68 EXTERN void sig_gfp_meas_order ( void );
69
70 EXTERN void sig_gfp_meas_int_meas_stop_con ( T_MPHP_INT_MEAS_STOP_CON * dummy );
71
72 EXTERN void sig_gfp_meas_int_meas_ind ( T_MPHP_INT_MEAS_IND * mphp_int_meas_ind );
73
74 EXTERN void sig_gfp_meas_rxlev_pccch_ind ( UBYTE pccch_lev );
75
76 EXTERN void sig_gfp_meas_ctrl_pwr_ta_ptm ( void );
77
78 /* TC Signals */
79
80 EXTERN void sig_tc_meas_update_pch ( void );
81
82 /* Access Functions */
83
84 EXTERN void meas_init ( T_MEAS_IM_MODE im_mode_i );
85
86 EXTERN void meas_im_get_rel_i_level ( T_MEAS_IM_CARRIER *ma,
87 T_ilev *i_level );
88
89 EXTERN UBYTE meas_im_get_abs_i_level ( T_MEAS_IM_CARRIER *ma,
90 T_ilev_abs *i_level );
91
92 EXTERN void meas_im_set_carrier ( T_MEAS_IM_CARRIER *carrier,
93 T_p_frequency_par *freq_par );
94
95 EXTERN ULONG meas_im_get_drx_period_seconds
96 ( void );
97
98 EXTERN USHORT meas_im_get_drx_period_frames
99 ( void );
100
101 EXTERN UBYTE meas_im_get_permit ( void );
102
103 EXTERN UBYTE meas_c_get_value ( void );
104
105 EXTERN void meas_c_get_c_value ( T_CGRLC_c_value *c_value );
106
107 EXTERN void meas_c_set_c_value ( T_CGRLC_c_value *c_value );
108
109 #endif /* !GRR_MEASS_H */
110