| /*------------------------------------------------------------ |
| (C) Copyright [2006-2012] Marvell International Ltd. |
| All Rights Reserved |
| ------------------------------------------------------------*/ |
| |
| /******************************************************************** |
| Filename: agps_MTIL.h |
| Created: 2010/05/15 |
| |
| Purpose: Constant definitions and function prototypes for |
| agps_MTIL library |
| *********************************************************************/ |
| |
| #ifndef _agps_MTIL_h_ |
| #define _agps_MTIL_h_ |
| |
| /* Header files includes */ |
| #include "cpaclient.h" |
| /* Macro definitions */ |
| |
| typedef enum |
| { |
| /** OTA message uses SUPL protocol */ |
| AGPS_SUPL_RRLP_OR_RRC, |
| /** OTA message uses RRLP protocol */ |
| AGPS_CP_RRLP, |
| /** OTA message uses RRC protocol */ |
| AGPS_CP_RRC, |
| /** OTA message uses RRC SIB15 protocol - not supported */ |
| AGPS_RRC_SIB15, |
| /** OTA message AGPS assist request protocol - not supported */ |
| AGPS_SS_AGPS_ASSIST_REQ, |
| /**< LPP container */ |
| AGPS_CP_LPP, |
| /**< LCS container */ |
| AGPS_CP_LCS, |
| /** OTA Message SGEE data */ |
| AGPS_EE_PUSH, |
| /** Invalid OTA type */ |
| AGPS_INVALID_OTA_TYPE = (~0) |
| } eAGPS_OTA_TYPE; |
| |
| typedef enum |
| { |
| /** RRC DCH state */ |
| AGPS_RRC_STATE_CELL_DCH, |
| /** RRC FACH state */ |
| AGPS_RRC_STATE_CELL_FACH, |
| /** RRC PCH state */ |
| AGPS_RRC_STATE_CELL_PCH, |
| /** RRC URA_PCH state */ |
| AGPS_RRC_STATE_URA_PCH, |
| /** RRC IDL state */ |
| AGPS_RRC_STATE_IDLE, |
| /** Invalid RRC state */ |
| AGPS_RRC_INVALID_STATE |
| } eAGPS_RRC_STATE; |
| |
| typedef enum |
| { |
| /** Normal positioning request */ |
| NO_EMERGENCY = 0x00, |
| /** Emergent positioning request such as E911/112 */ |
| EMERGENCY = 0x01 |
| } eAGPS_SESSION_PRIORITY; |
| |
| typedef enum |
| { |
| /** UL RRC message includeds MeasurementReport, which could be MeasuredResults/UE-Positioning-MeasuredResults or EventResults. */ |
| AGPS_RRC_MEAS_REPORT = 0, |
| /** UL RRC MeasurementControlFailure is included. */ |
| AGPS_RRC_MEAS_FAILURE, |
| /** UL RRCStatus is included */ |
| AGPS_RRC_STATUS, |
| /** UL RRC message includes MeasurementResults and v390NonCriticalExtensions. */ |
| AGPS_RRC_UL_EXT_STATUS |
| } eAGPS_UL_RRC_MSG_TYPE; |
| |
| #endif /* _agps_MTIL_h_ */ |