Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 846b17a1 authored by Chinmay Dhodapkar's avatar Chinmay Dhodapkar
Browse files

[iwlan] config for connection persistence support

Not all implementation of Iwlan data service can support
persistence of iwlan tunnel across service crash/restart

A new config, config_wlan_data_service_conn_persistence_on_restart,
is added to handle this case.
This new config allows data service to declare support for ipsec
tunnel persistence across service restart. Telephony framework can
take action to clean up dangling connections in case service restarts
and if this flag is set to 'false'

Default value is 'true' [i.e no change from existing behavior]

Bug: 158043105
Tests: on device test involving killing/restart of data service
Change-Id: If328b6e1467095e059e532f55e0062211b7c80c9
parent f51ce5c7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2905,6 +2905,11 @@
         empty string is passed in -->
    <string name="config_wlan_data_service_package" translatable="false"></string>

    <!-- Boolean indicating whether the Iwlan data service supports persistence of iwlan ipsec
         tunnels across service restart. If iwlan tunnels are not persisted across restart,
         Framework will clean up dangling data connections when service restarts -->
    <bool name="config_wlan_data_service_conn_persistence_on_restart">true</bool>

    <!-- Cellular data service class name to bind to by default. If none is specified in an overlay, an
         empty string is passed in -->
    <string name="config_wwan_data_service_class" translatable="false"></string>
+1 −0
Original line number Diff line number Diff line
@@ -303,6 +303,7 @@
  <java-symbol type="string" name="config_wlan_network_service_package" />
  <java-symbol type="string" name="config_wwan_network_service_class" />
  <java-symbol type="string" name="config_wlan_network_service_class" />
  <java-symbol type="bool" name="config_wlan_data_service_conn_persistence_on_restart" />
  <java-symbol type="string" name="config_wwan_data_service_package" />
  <java-symbol type="string" name="config_wlan_data_service_package" />
  <java-symbol type="string" name="config_wwan_data_service_class" />