comparison src/aci2/alr/alr_gprs.h @ 3:93999a60b835

src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 00:29:36 +0000
parents
children
comparison
equal deleted inserted replaced
2:c41a534f33c6 3:93999a60b835
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul : J:\g23m-gsm\alr\alr_gprs.h
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 :
18 +-----------------------------------------------------------------------------
19 */
20 typedef struct {
21 UBYTE v_ptmsi;
22 ULONG ptmsi;
23 UBYTE v_ptmsi2;
24 ULONG ptmsi2;
25 UBYTE ign_pgm;
26 UBYTE pbcch;
27 UBYTE check_bsic;
28 UBYTE ptm;
29 UBYTE pim;
30 UBYTE sync_only;
31 UBYTE pcco_active;
32 } T_ALR_GPRS_DATA;
33
34 #define SI13_ON_NBCCH 0
35 #define SI13_ON_EBCCH 1
36
37 void gprs_alr_get_table (const T_FUNC** tab,
38 USHORT* n);
39 void gprs_alr_mon_ctrl_req (T_MPH_MON_CTRL_REQ* ctrl_req);
40 BOOL gprs_alr_check_packet_paging (UBYTE* frame,
41 UBYTE which);
42 BOOL gprs_alr_check_packet_paging_2(UBYTE* frame,
43 UBYTE which);
44 BOOL gprs_alr_check_ptmsi (ULONG ptmsi_pag);
45 void gprs_alr_store_ptmsi (UBYTE indic,
46 ULONG tmsi);
47 void gprs_alr_store_ptmsi2 (UBYTE indic2,
48 ULONG tmsi2);
49
50 void gprs_alr_check_downlink_assign(T_MPHC_DATA_IND* data_ind);
51 void gprs_alr_init (void);
52 BOOL gprs_check_read_si13_only (UBYTE si13_position);
53 void gprs_check_page_mode (T_MPHC_DATA_IND* data_ind);
54 void set_gprs_support( UBYTE support );
55 GLOBAL BOOL gprs_alr_is_supported (void);