summaryrefslogtreecommitdiff
path: root/service/ServiceWifiResources
diff options
context:
space:
mode:
author Sunil Ravi <sunilravi@google.com> 2024-07-18 00:38:47 +0000
committer Sunil Ravi <sunilravi@google.com> 2024-07-23 20:26:50 +0000
commit1b46788ac0f5ea6d251e501b038c895c52537254 (patch)
tree4fec9c13e2d981321335c29f2dde5e60ea53c673 /service/ServiceWifiResources
parent1e86fa60fc4f89fb873089682582708fa06d476a (diff)
Support for Wi-Fi Alliance WPA3 RSN overriding
This change includes, 1. Added a new overlay config item config_wifiRsnOverrideEnabled (Default set to false) for the device support for RSN Overriding. 2. Rearranged the code in parseRsnElement() method so that the same parser can be used for parsing RSN IE, RSNO IE and RSNO2 IE. 3. Added a boolean state tracker to set the final state of PMF required settings 4. Defined a feature flag rsn_overriding Bug: 348669010 Flag: com.android.wifi.flags.rsn_overriding Test: atest InformationElementUtilTest Test: atest ScanResultUtilTest Test: atest WifiNativeTest Test: manual - Connect/Disconnect to WPA2, WPA3 and WPA3-TM Access Points. Change-Id: I1f71bdfb765974df5d2df9f7bbed7c7d1a184a26
Diffstat (limited to 'service/ServiceWifiResources')
-rw-r--r--service/ServiceWifiResources/res/values/config.xml7
-rw-r--r--service/ServiceWifiResources/res/values/overlayable.xml1
2 files changed, 8 insertions, 0 deletions
diff --git a/service/ServiceWifiResources/res/values/config.xml b/service/ServiceWifiResources/res/values/config.xml
index cb76012876..454eb236fd 100644
--- a/service/ServiceWifiResources/res/values/config.xml
+++ b/service/ServiceWifiResources/res/values/config.xml
@@ -1363,4 +1363,11 @@
See also config_wifiDelayedSelectionCarrierIds.
-->
<integer translatable="false" name="config_wifiDelayedCarrierSelectionTimeMs">90000</integer>
+
+ <!-- Boolean indicating whether the device supports Wi-Fi Alliance WPA3 Specification
+ version 3.3 Section 14 - RSN Overriding.
+ Enabling this config allows framework to parse the RSNO IE and RSNO2 IE.
+ Only enable this flag if Supplicant and driver/firmware supports RSN Overriding. otherwise
+ the connection may fail or downgrade to WPA2 -->
+ <bool translatable="false" name ="config_wifiRsnOverridingEnabled">false</bool>
</resources>
diff --git a/service/ServiceWifiResources/res/values/overlayable.xml b/service/ServiceWifiResources/res/values/overlayable.xml
index e2cd626f8f..247797c2b2 100644
--- a/service/ServiceWifiResources/res/values/overlayable.xml
+++ b/service/ServiceWifiResources/res/values/overlayable.xml
@@ -348,6 +348,7 @@
<item type="bool" name="config_wifiWepAllowedControlSupported" />
<item type="array" name="config_wifiDelayedSelectionCarrierIds" />
<item type="integer" name="config_wifiDelayedCarrierSelectionTimeMs" />
+ <item type="bool" name="config_wifiRsnOverridingEnabled" />
<!-- Params from config.xml that can be overlayed -->