diff options
author | Jiafei Wen <jiafeiw@codeaurora.org> | 2013-11-20 17:04:39 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-02-17 02:03:57 -0800 |
commit | 7e546e6afefba214ba9dc14359c1fc018654e8f4 (patch) | |
tree | a200368cbceadc075d367e055ff38790501f4a70 /core | |
parent | 7284ef63e79178cd8c1c0f3789e2e2161ba1832a (diff) | |
download | gps-7e546e6afefba214ba9dc14359c1fc018654e8f4.tar.gz |
Emergency SUPL
This change is for the new added emergency
SUPL session. Adding a new field in gps.conf
named SUPL_ES, which is for emergency supl NI.
CRs-fixed: 600375
Change-Id: I7c21c5589259df4f1cb7ec2f850e708b2c4faa1a
Diffstat (limited to 'core')
-rw-r--r-- | core/gps_extended_c.h | 4 | ||||
-rw-r--r-- | core/loc_core_log.cpp | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/core/gps_extended_c.h b/core/gps_extended_c.h index f970b64..55c158e 100644 --- a/core/gps_extended_c.h +++ b/core/gps_extended_c.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2013, The Linux Foundation. All rights reserved. +/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -61,6 +61,8 @@ extern "C" { #define ULP_MIN_INTERVAL_INVALID 0xffffffff +/*Emergency SUPL*/ +#define GPS_NI_TYPE_EMERGENCY_SUPL 4 typedef struct { /** set to sizeof(UlpLocation) */ diff --git a/core/loc_core_log.cpp b/core/loc_core_log.cpp index 461273f..af2cced 100644 --- a/core/loc_core_log.cpp +++ b/core/loc_core_log.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved. +/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -161,7 +161,8 @@ static loc_name_val_s_type loc_eng_ni_types[] = { NAME_VAL( GPS_NI_TYPE_VOICE ), NAME_VAL( GPS_NI_TYPE_UMTS_SUPL ), - NAME_VAL( GPS_NI_TYPE_UMTS_CTRL_PLANE ) + NAME_VAL( GPS_NI_TYPE_UMTS_CTRL_PLANE ), + NAME_VAL( GPS_NI_TYPE_EMERGENCY_SUPL ) }; static int loc_eng_ni_type_num = sizeof(loc_eng_ni_types) / sizeof(loc_name_val_s_type); |