diff options
author | Yingjie Wang <yingjiewang@codeaurora.org> | 2017-05-10 13:52:34 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-17 19:51:48 -0700 |
commit | d9f26fc543c5e59c33210473211da206cd7a020c (patch) | |
tree | ea4a16d1e4a56aff27d50e8b5ad0d4b3e04d111d /utils/gps_extended_c.h | |
parent | 9546df29652cdd0583db7cce840e9c620fb9a8db (diff) | |
download | gps-d9f26fc543c5e59c33210473211da206cd7a020c.tar.gz |
Decouple position inject request from assist data
Add LOC_API_ADAPTER_BIT_POSITION_INJECTION_REQUEST mask bit to
decouple from LOC_API_ADAPTER_BIT_ASSISTANCE_DATA_REQUEST.
Change-Id: I4c2f8439dca9ea3b4d56a3cd00da88e4488717bf
CRs-fixed: 2044870
Diffstat (limited to 'utils/gps_extended_c.h')
-rw-r--r-- | utils/gps_extended_c.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/gps_extended_c.h b/utils/gps_extended_c.h index b4d14b8..946993c 100644 --- a/utils/gps_extended_c.h +++ b/utils/gps_extended_c.h @@ -491,6 +491,7 @@ enum loc_api_adapter_event_index { LOC_API_ADAPTER_REQUEST_TIMEZONE, // Timezone injection request LOC_API_ADAPTER_REPORT_GENFENCE_DWELL_REPORT, // Geofence dwell report LOC_API_ADAPTER_REQUEST_SRN_DATA, // request srn data from AP + LOC_API_ADAPTER_REQUEST_POSITION_INJECTION, // Position injection request LOC_API_ADAPTER_EVENT_MAX }; @@ -524,6 +525,7 @@ enum loc_api_adapter_event_index { #define LOC_API_ADAPTER_BIT_REQUEST_TIMEZONE (1<<LOC_API_ADAPTER_REQUEST_TIMEZONE) #define LOC_API_ADAPTER_BIT_REPORT_GENFENCE_DWELL (1<<LOC_API_ADAPTER_REPORT_GENFENCE_DWELL_REPORT) #define LOC_API_ADAPTER_BIT_REQUEST_SRN_DATA (1<<LOC_API_ADAPTER_REQUEST_SRN_DATA) +#define LOC_API_ADAPTER_BIT_POSITION_INJECTION_REQUEST (1<<LOC_API_ADAPTER_REQUEST_POSITION_INJECTION) typedef unsigned int LOC_API_ADAPTER_EVENT_MASK_T; |