FreeCalypso > hg > fc-tourmaline
comparison src/condat/com/include/rx.h @ 0:4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:23:26 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4e78acac3d88 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : GSM (6301) | |
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 : Types definitions for the fieldstrength driver | |
18 | . | |
19 +----------------------------------------------------------------------------- | |
20 | |
21 $Hist | |
22 | |
23 Oct 05, 2006 ER: OMAPS00094496 x0061088(Prachi) | |
24 Description:Enhance RSSI to 3 parameters: Strength, quality, min-access-level | |
25 Solution:In order to provide a more accurate antenna icon on screen, in addition to "signal strength" the parameters | |
26 "signal quality" and "Min-aces-level" are required. | |
27 | |
28 */ | |
29 | |
30 #ifndef RX_H | |
31 #define RX_H | |
32 | |
33 /* | |
34 * Signal Values | |
35 */ | |
36 #define RX_QUAL_UNAVAILABLE 0xFF /* should be kept identically */ | |
37 /* with the value defined in RR */ | |
38 #ifdef FF_PS_RSSI | |
39 #define RX_ACCE_UNAVAILABLE 0xFF | |
40 #endif | |
41 | |
42 /* | |
43 * Signal Types | |
44 */ | |
45 #define RX_SIGTYPE_RXLEVEL 0 | |
46 | |
47 /* | |
48 * Status Type | |
49 */ | |
50 typedef struct rx_Status_Type | |
51 { | |
52 UBYTE actLevel; | |
53 UBYTE gsmLevel; | |
54 UBYTE rxQuality; | |
55 #ifdef FF_PS_RSSI | |
56 UBYTE min_access_level; | |
57 #endif | |
58 } rx_Status_Type; | |
59 | |
60 /* | |
61 * Driver Control Block | |
62 */ | |
63 typedef struct rx_DCB_Type | |
64 { | |
65 UBYTE Steps; | |
66 } rx_DCB_Type; | |
67 | |
68 #if defined (NEW_FRAME) | |
69 /* | |
70 * to achieve backward compatibility with older definitions | |
71 */ | |
72 #define drv_SignalCB_Type T_DRV_CB_FUNC | |
73 #define drv_SignalID_Type T_DRV_SIGNAL | |
74 #define T_VSI_THANDLE USHORT | |
75 #endif | |
76 /* | |
77 * Prototypes | |
78 */ | |
79 EXTERN UBYTE rx_Init (drv_SignalCB_Type in_SignalCBPtr); | |
80 EXTERN void rx_Exit (void); | |
81 EXTERN UBYTE rx_SetConfig (rx_DCB_Type * in_DCBPtr); | |
82 EXTERN UBYTE rx_GetConfig (rx_DCB_Type * out_DCBPtr); | |
83 EXTERN UBYTE rx_GetStatus (rx_Status_Type * out_StatusPtr); | |
84 EXTERN void rx_timeout (T_VSI_THANDLE rx_handle); | |
85 #endif |