config.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2024 The LineageOS Project
  4. SPDX-License-Identifier: Apache-2.0
  5. -->
  6. <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
  7. <!-- boolean indicating whether the WiFi chipset has 5GHz band support.
  8. Note: This config is replacing the config_wifi_dual_band_support
  9. since more bands may now be supported (such as 6GHz), the naming dual_band
  10. is no longer indicative, and a separate config now exists for each band -->
  11. <bool name="config_wifi5ghzSupport" translatable="false">true</bool>
  12. <!-- boolean indicating whether or not to auto-upgrade band setting configuration to dual bands during cloud configuration restore when device supported -->
  13. <bool name="config_wifiSoftapAutoUpgradeToBridgedConfigWhenSupported" translatable="false">false</bool>
  14. <!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
  15. This mechanism allows the host to remain in suspend state and the dongle to actively
  16. scan and wake the host when a configured SSID is detected by the dongle. This chipset
  17. capability can provide power savings when wifi needs to be always kept on. -->
  18. <bool name="config_wifi_background_scan_support" translatable="false">true</bool>
  19. <!-- Integer indicating maximum hardware supported client number of soft ap -->
  20. <integer name="config_wifiHardwareSoftapMaxClientCount" translatable="false">32</integer>
  21. <!-- List of allowed channels in 2GHz band for softap. If the device doesn't want to restrict
  22. channels this should be empty. Values is a comma separated channel string and/or channel
  23. range string like '1-6,11'. -->
  24. <string name="config_wifiSoftap2gChannelList" translatable="false" />
  25. <!-- List of allowed channels in 5GHz band for softap. If the device doesn't want to restrict
  26. channels this should be empty. Values is a comma separated channel string and/or channel
  27. range string like '36-48,149'. -->
  28. <string name="config_wifiSoftap5gChannelList" translatable="false" />
  29. <!-- List of allowed channels in 6GHz band for softap. If the device doesn't want to restrict
  30. channels this should be empty. Values is a comma separated channel string and/or channel
  31. range string like '36-48,149'. -->
  32. <string name="config_wifiSoftap6gChannelList" translatable="false" />
  33. <!-- Boolean indicating that only configurations that have the same pre-shared key will be linked -->
  34. <bool name="config_wifi_only_link_same_credential_configurations" translatable="false">false</bool>
  35. <!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
  36. <bool name="config_wifi_softap_acs_supported" translatable="false">true</bool>
  37. <!-- Wifi driver supports WPA3 Simultaneous Authentication of Equals (WPA3-SAE) for softap -->
  38. <bool name="config_wifi_softap_sae_supported" translatable="false">true</bool>
  39. <!-- Wifi driver supports IEEE80211AC for softap -->
  40. <bool name="config_wifi_softap_ieee80211ac_supported" translatable="false">true</bool>
  41. <!-- Wifi driver supports 6GHz band for softap when chip support 6GHz -->
  42. <bool name="config_wifiSoftap6ghzSupported" translatable="false">true</bool>
  43. <!-- Indicates that connected MAC randomization is supported on this device -->
  44. <bool name="config_wifi_connected_mac_randomization_supported" translatable="false">true</bool>
  45. <!-- Indicates that p2p MAC randomization is supported on this device -->
  46. <bool name="config_wifi_p2p_mac_randomization_supported" translatable="false">true</bool>
  47. <!-- Wifi driver Automatic channel selection (ACS) for softap to include DFS channels -->
  48. <bool name="config_wifiSoftapAcsIncludeDfs" translatable="false">true</bool>
  49. <!-- integer indicating additional disconnect delay (in ms) after IMS onLost() indication is received -->
  50. <integer name="config_wifiDelayDisconnectOnImsLostMs" translatable="false">1000</integer>
  51. <!-- Enable Aware NDP interface selection on interface that already has network set up.
  52. Note: the default AOSP Android does not support multiple networks on the same Aware NDI.
  53. Enabling this configuration will restore legacy behavior but may result in incorrect behavior.
  54. -->
  55. <bool name="config_wifiAllowMultipleNetworksOnSameAwareNdi" translatable="false">true</bool>
  56. <!-- A boolean indicate if device supports ser channel on the Aware data-path setup. If the
  57. value is false, channel setting on the data-path request will be ignored.
  58. -->
  59. <bool name="config_wifiSupportChannelOnDataPath" translatable="false">true</bool>
  60. <!-- Integer threshold for max number of WifiConfigurations that can be saved on the device.
  61. A value of -1 indicates no limit. If a max number is specified, then under-used configs will
  62. be deleted to make room for new configs.-->
  63. <integer name="config_wifiMaxNumWifiConfigurations" translatable="false">1000</integer>
  64. <!-- Indicates whether or not the WLAN driver supports the NL80211_CMD_REG_CHANGE or
  65. NL80211_CMD_WIPHY_REG_CHANGE events which indicate the current country code which is
  66. being used by the WLAN driver. If the driver doesn't support these events
  67. (configuration is `false`) then the driver must handle the setCountryCode request from
  68. HAL as a blocking call. In such a case the country code will be applied
  69. immediately after the country code is sent to the driver (if the method returns a
  70. success). -->
  71. <bool name="config_wifiDriverSupportedNl80211RegChangedEvent" translatable="false">true</bool>
  72. <!-- Wifi driver supports Opportunistic Wireless Encryption (OWE) Transition
  73. aka Enhanced Open for Soft-AP -->
  74. <bool name="config_wifiSoftapOweTransitionSupported" translatable="false">true</bool>
  75. <!-- Wifi driver supports Opportunistic Wireless Encryption (OWE)
  76. aka Enhanced Open for Soft-AP -->
  77. <bool name="config_wifiSoftapOweSupported" translatable="false">true</bool>
  78. <!-- Lists each alternate character set per locale language for SSID translation to UTF-8. This
  79. will translate all SSIDs encoded with the specified character set from the native layer
  80. into UTF-8 SSIDs. The translated SSIDs are then converted back to the original character
  81. set when passed back to the native layer. This effectively switches all non-UTF-8 APs into
  82. UTF-8 APs from the perspective of the framework and apps, and is intended to provide
  83. backwards compatibility with apps that only work with UTF-8 SSIDs. Values must be in the
  84. form of the locale language and canonical java.nio Charset name, separated by a comma. If
  85. the locale language is "all", then the character set will apply to all locale languages
  86. that do not specify their own character set. -->
  87. <string-array name="config_wifiCharsetsForSsidTranslation" translatable="false">
  88. <item>zh,GBK</item>
  89. </string-array>
  90. </resources>