summaryrefslogtreecommitdiffstats
path: root/service/java/com/android/server/wifi/ScanResultMatchInfo.java
Commit message (Collapse)AuthorAgeFilesLines
* [OWE] Support OWE in transition modeHai Shalom2019-05-131-2/+16
| | | | | | | | | | | | | | | Support OWE in transition mode for devices with OWE support and devices without OWE support. Scan results will return a new type of network for OWE in transition networks on devices that support OWE, and Open for devices that don't support OWE. Handle the case where Open network is manually added to a device that supports OWE. Bug: 132139642 Test: Device with OWE: Connect to Open, OWE-Transition, OWE networks Test: Device without OWE: Connect to Open, OWE-Transition Test: Manually create Open network, connect to OWE-Transition Change-Id: Idd5ea56ec7970e58ff0555001411b53454ffeb27
* [WPA3] Fix connectivity issues with PSK-SAE Transtion modeHai Shalom2019-05-091-3/+26
| | | | | | | | | | | | | | | | | | Fix two reported issues regarding PSK-SAE transition mode: 1. When phone supports SAE, creating a manual saved network with PSK and manually connecting would cause the phone to connect but Settings does not display any connected AP. Phone would not autoconnect. 2. When phone doesn't support SAE, phone cannot connect to an AP in PSK-SAE Transition mode because the framework always targets the highest security. Bug: 132278271 Test: Connect to WPA2 network Test: Connect to WPA3 network (w/capable phone) Test: Connect to WPA2/3 Transition w/SAE capable phone Test: Connect to WPA2/3 Transition w/SAE not-capable phone Test: atest ScanResultMatchInfoTest Change-Id: Icc94039a4b31742ce7f3f16e9fe653bd402a5150
* Use the new security type added in WifiConfigurationRoshan Pius2019-02-261-42/+18
| | | | | | | | | | | | Migrate to the new WifiConfiguration security type enums & helper method to set the security params. Bug: 124071722 Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: act.py -c wifi_manager.config -tb dut-name -tc WifiNetworkRequestTest Test: act.py -c wifi_manager.config -tb dut-name -tc WifiNetworkSuggestionTest Test: Will send for full regression tests. Change-Id: Idb8730aae4b59365dc42073853874060b3c8c953
* opt/net/wifi: Add support for WPA3 and OWEHai Shalom2018-11-061-4/+23
| | | | | | | | | Add support for WPA3-Personal (SAE), WPA3-Enterprise (SuiteB) and OWE (Enhanced Open). Changes include new types and new methods. Bug: 112195778 Test: atest com.android.server.wifi Change-Id: I5c1520bd951cd4b6110f573e3522073dec6e910a
* ScanResultMatchInfo: Refactor network type retrievalRoshan Pius2018-11-011-22/+47
| | | | | | | | | | Expose static methods to retrieve the network type from ScanResult & WifiConfiguration. Will be used in the network matching logic in WifiNetworkFactory. Bug: 113878056 Test: Existing unit tests. Change-Id: If79812d423020868a7e12cece67be18cec39ac30
* Move ScanResultMatchInfo to its own classGlen Kuhne2017-08-021-0/+108
This class is a useful way of grouping scan results into the networks they represent, agnostic of BSSID. Shifting it so it can be used in WifiMetrics. Bug: 36819798 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ie4fdb488c7a7cb198e16cd5ba72c354045fbc312