From 9b3b1b12a25947f1d09e445e96cb66e5190275ac Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Fri, 7 Sep 2018 17:34:01 +0100 Subject: msm8996-common: Update IPACM for P release * Tag: LA.UM.7.5.r1-02200-8x96.0 Change-Id: Id7f0760c0dd1e5476db88d6089d0084eae127a49 Signed-off-by: Davide Garberi --- data-ipa-cfg-mgr/ipacm/inc/IPACM_OffloadManager.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'data-ipa-cfg-mgr/ipacm/inc/IPACM_OffloadManager.h') diff --git a/data-ipa-cfg-mgr/ipacm/inc/IPACM_OffloadManager.h b/data-ipa-cfg-mgr/ipacm/inc/IPACM_OffloadManager.h index 5100ce3..88a411b 100644 --- a/data-ipa-cfg-mgr/ipacm/inc/IPACM_OffloadManager.h +++ b/data-ipa-cfg-mgr/ipacm/inc/IPACM_OffloadManager.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2018, 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 @@ -94,6 +94,8 @@ public: bool search_framwork_cache(char * interface_name); + bool push_framework_event(const char * if_name, _ipacm_offload_prefix prefix); + private: std::list valid_ifaces; @@ -110,11 +112,14 @@ private: int resetTetherStats(const char *upstream_name); +#ifdef FEATURE_IPACM_RESTART + int push_iface_up(const char *if_name, bool upstream); +#endif + static const char *DEVICE_NAME; /* cache the add_downstream events if netdev is not ready */ framework_event_cache event_cache[MAX_EVENT_CACHE]; - bool is_cache; /* latest update cache entry */ int latest_cache_index; -- cgit v1.2.3