diff options
author | Skylar Chang <chiaweic@codeaurora.org> | 2017-03-31 16:41:17 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-12 17:06:24 -0700 |
commit | 5668c3c5e440d3fccc7b02694553217f3be14bd1 (patch) | |
tree | 3f81dbc96198ba37d603f1635b6b056d8efea9c0 /ipacm/inc/IPACM_Wan.h | |
parent | 506ef6dba85d740fa5f0da12f94e6b28975e0dfe (diff) | |
download | ipacfg-mgr-5668c3c5e440d3fccc7b02694553217f3be14bd1.tar.gz |
IPACM: Add support on IPACM-HAL for Android-O
Add API for IPACM_HAL to start tethered-traffic
offload and get stats from modem and set quota.
Change-Id: I7d07c4ce4e7b12c7e088dec94a3d54c7da3a4a8b
Diffstat (limited to 'ipacm/inc/IPACM_Wan.h')
-rw-r--r-- | ipacm/inc/IPACM_Wan.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipacm/inc/IPACM_Wan.h b/ipacm/inc/IPACM_Wan.h index fe6d35e..3ed58fe 100644 --- a/ipacm/inc/IPACM_Wan.h +++ b/ipacm/inc/IPACM_Wan.h @@ -104,6 +104,10 @@ public: static bool isWanUP(int ipa_if_num_tether) { #ifdef FEATURE_IPA_ANDROID +#ifdef FEATURE_IPACM_HAL + return wan_up; +#else + int i; for (i=0; i < ipa_if_num_tether_v4_total;i++) { @@ -116,6 +120,7 @@ public: } } return false; +#endif #else return wan_up; #endif |