commit | cd0e7e0538174f7e9b6e6d6623c01c25f564493a | [log] [tgz] |
---|---|---|
author | Sunil Ravi <sunilravi@google.com> | Tue Jan 16 21:30:05 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Jan 16 23:28:06 2024 +0000 |
tree | 8d826f8f1539a0f0363a8e62c1aca0410b8ab014 | |
parent | d81f0b792843505b86747800dc2916016b9ce1c1 [diff] |
Set NL80211_WPA_VERSION_2 for all RSN connection This is a revert of open source commit - https://w1.fi/cgit/hostap/commit/?id=6cc78b3945d3271a66120378de101f7821fb0f2f where for WPA3 connections, the WPA version was set to NL80211_WPA_VERSION_2. This caused a connection failures on devices where kernel nl80211 doesn't have the defenition of WPA version 3 for WPA3 authentication. Setting NL80211_WPA_VERSION_3 on such devices returns invalid argument error for nl80211_connect command from supplicant. Bug: 320227488 Test: connect/disconnect to WPA2 and WPA3 APs. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4e39193041e303d081d35fe9c2f676628c5d3cf0) Merged-In: I2459d4aeced2e6bbbf0f2c57aaf3150562159157 Change-Id: I2459d4aeced2e6bbbf0f2c57aaf3150562159157