• Home
Name Date Size #Lines LOC

..--

README.txtD03-May-20241.9 KiB3630

Shared_WifiConfigStore.xmlD03-May-20248.1 KiB201200

Shared_WifiConfigStoreSoftAp.xmlD03-May-2024788 2322

User_WifiConfigStore.xmlD03-May-20242.9 KiB8281

User_WifiConfigStoreNetworkSuggestions.xmlD03-May-20246.5 KiB156155

README.txt

1This folder contains sample files for each of the 4 XML Wi-Fi config store files in Android 11 AOSP.
2OEMs can use these files as reference for converting their previous customized
3formats into the AOSP format. The conversion logic needs to be written in
4WifiMigration.java class, i.e each OEM needs to modify
5WifiMigration.convertAndRetrieveSharedConfigStoreFile() and the
6WifiMigration.convertAndRetrieveUserConfigStoreFile() methods.
7
8The 4 files are:
9
10Shared files
11============
121) WifiConfigStore.xml - General storage for shared configurations. Includes
13user's saved Wi-Fi networks.
14AOSP Path in Android 10: /data/misc/wifi/WifiConfigStore.xml
15AOSP Path in Android 11: /data/misc/apexdata/com.android/wifi/WifiConfigStore.xml
16Sample File (in this folder): Shared_WifiConfigStore.xml
17
182) WifiConfigStoreSoftAp.xml - Storage for user's softap/tethering configuration.
19AOSP Path in Android 10: /data/misc/wifi/softap.conf.
20Note: Was key/value format in Android 10. Conversion to XML done in SoftApConfToXmlMigrationUtil.java.
21AOSP Path in Android 11: /data/misc/apexdata/com.android/wifi/WifiConfigStore.xml
22Sample File (in this folder): Shared_WifiConfigStoreSoftAp.xml
23
24User specific files
25==================
263) WifiConfigStore.xml - General storage for user specific configurations. Includes
27user's saved passpoint networks, Wi-Fi network request approvals, etc.
28AOSP Path in Android 10: /data/misc_ce/<userId>/wifi/WifiConfigStore.xml
29AOSP Path in Android 11: /data/misc_ce/<userId>/apexdata/com.android/wifi/WifiConfigStore.xml
30Sample File (in this folder): User_WifiConfigStore.xml
31
324) WifiConfigStoreNetworkSuggestions.xml - Storage for app installed network suggestions.
33AOSP Path in Android 10: /data/misc_ce/<userId>/wifi/WifiConfigStoreNetworkSuggestions.xml
34AOSP Path in Android 11: /data/misc_ce/<userId>/apexdata/com.android/wifi/WifiConfigStoreNetworkSuggestions.xml
35Sample File (in this folder): User_WifiConfigStoreNetworkSuggestions.xml
36