Skip to content
Snippets Groups Projects
Commit ed39184b 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
Merged-In: If328b6e1467095e059e532f55e0062211b7c80c9
Change-Id: If328b6e1467095e059e532f55e0062211b7c80c9
(cherry picked from commit 846b17a1)
parent a4ddee21
No related branches found
No related tags found
No related merge requests found
......@@ -3064,6 +3064,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>
......
......@@ -298,6 +298,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" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment