Update ACTION_PROCESS_WIFI_EASY_CONNECT_URI intent to include
additional information in case of a failure. The intent will
return an extra field with result code for R1 and R2 devices,
and additional details for R2 devices: SSID, channe list,
and band list.
Bug: 139381558
Test: Manual test
Change-Id: Ib25db37279289acbb3841f4b4862d8cbeb4efdd2
Move the rest of the code to the wifi.wificond namespace from the
wifi namespace. Cleanup since wificond is outside the Wi-Fi module.
Non-functional change.
Bug: 140062898
Test: atest android.net.wifi
Test: atest com.android.server.wifi
Test: ./system/connectivity/wificond/runtests.sh
Test: (CTS) atest android.net.wifi.cts
Change-Id: I64535329edbf96b1f1a0ddc0d85ebe99f9343c76
Added support for DPP R2 events that provide additional
details about the onboarding process of a remote enrollee.
Specifically, DPP R2 configurator waits for response from
the enrollee, which reports back the SSID, tried channels
and band support in case it cannot find the AP. When it
reports success, then it means that it is acutally connected.
Bug: 139381558
Test: Manual tests with DPP R1 and R2 enrollees
Test: atest DppManagerTest
Test: atest WifiManagerTest
Test: atest EasyConnectStatusCallbackTest
Test: act.py -c ../WifiDppConfig.json -tc WifiDppTest
Change-Id: I55a8b1e25737e90e304f1933d09ffcd6bcae6ef9
The wificond daemon provides an interface for the framework to interact
with the operating system when managing Wi-Fi. Since wificond is outside
the mainline module, the AIDL interface has to be formalized as an API
surface.
Bug: 140062898
Test: atest android.net.wifi
Test: atest com.android.server.wifi.aware
Test: (CTS) atest android.net.wifi.cts
Test: scan, association, SoftAP operations manually tested, kill wificond
Change-Id: Iee0fef6a454fdd84b1d0c59516d4746ddc2a4ce5
This changes adds below WAPI codes:
* WAPI feature, proto, key management, cipher
* WAPI suite field to WifiConfiguration
* New builder method for WAPI network in WifiNetworkSuggestion.
Bug: 139257562
Test: atest FrameworksWifiApiTests
Change-Id: I5d6edec45a535f483be3319183671c90eef8539a
This commit updates the frequency bands to include 6GHz band.
The bands are represented as bitmask to allow combination of them.
Bug: 139354972
Test: atest com.android.wifi.server
Change-Id: Ib9c2cfa0f29489ca8e94c8e60f87a929cfea9158
@IntDef annotations defined in the Wifi module are
@hide and cannot be referenced from the rest of
framework. Create a separate class for Wifi
annotations that can be jarjar'ed into external
clients.
Bug: 140299412
Test: compiles
Change-Id: I5beac976b4d12fb2c01f46cb46f9c54ab54618ea
Provide a new Aware capabilities API which exposes the supported
cipher suites. These cipher suites are used to negotiate the data-
path. The framework automatially selects the strongest cipher suite
when it initiates a negotiation.
Bug: 145697276
Bug: 111446262
Test: atest com.android.server.wifi.aware
Test: (CTS) atest SingleDeviceTest
Change-Id: Ic9ec46a2aa578fa97cb174ca9745c5320ff07b52
Move implementation of wificond to frameworks/base (android.net.wifi)
in prepration for making into a public API (which will be a wrapper
around the AIDL).
Bug: 140062898
Test: atest com.android.server.wifi
Test: atest android.net.wifi
Test: associates, soft AP client information received correctly
Change-Id: I3c5ede95d0421a1e00078e0316e9a2e751156f3e
As part of the support of the 6GHz band, the concept of dual-band is no
longer valid since we have more than 2 bands supported by Android and
can be checked on the device.
This commit replaces checks on dual-band support with an explicit check
on 5GHz band support.
This commit also removes the feature flags of 5GHz/6GHz support, since
these capabilities will be read from the overlay configs.
Bug: 145936758
Bug: 139354972
Test: Manual
Change-Id: I223ed2bc88c01f561d31abce4e2c91aa62da186f
Merged-In: I223ed2bc88c01f561d31abce4e2c91aa62da186f
Migrate to android.util.CloseGuard, which
was exposed as a public API.
Bug: 145831809
Test: atest FrameworksWifiApiTests
Change-Id: I822cc2c080adb6902f2843e29204e71573d682ab
Restore process might need to notify user because
restored ap configuration requires the band conversion.
Bug: 142752869
Test: frameworks/base/wifi/tests/
Change-Id: I409a4533f8feccc888f4b605fb9466e3be0b2e89
WifiEnterpriseConfig depends on @hide constants from
android.security.Credentials. Since we can no longer
reference @hide APIs once we compile against
@SystemApi stubs, copy the constants into the Wifi
module.
Bug: 145409537
Test: compiles
Change-Id: I0b57d622f4e0788a3fd45109ab2f12976b706087
NetworkAgent is @hide, only imported for JavaDoc.
Remove import since once we build against
@SystemApi stubs this will fail.
Bug: 145409537
Test: compiles
Change-Id: I569ba8bd1784c72bb5473e8bf9bb1cf93f351b77
Remove synchronous version of getting the
WifiActivityEnergyInfo since the async version is the
official API.
Bug: 145244073
Test: atest FrameworksWifiApiTests
Change-Id: I71b21835746e6df111d994c77b0936f28a1e7394
* changes:
statsd: Allow wifi mainline module to log its metrics
wifi-services-srcs: Stop using KeyValueListParser from android.internal
WifiNetworkSuggestion: Don't store packageName/uid
WifiAwareManager: Add requestMacAddresses @hide API
UserManager: Add StringDef for all restrictionKey values
WifiActivityEnergyInfo: Use time values for energy calculation
@CorePlatformApi's cannot be depended on by Wifi
Mainline module. Thus create a copy and migrate
usages over.
Bug: 145409537
Test: atest FrameworksWifiApiTests
Change-Id: If4133bdd9ac9ca005538a03592462d2e1365c0d8
The service will stamp the uid, package name of individual suggestions
when it creates its internal representation for each suggestion (i.e
ExtendedWifiNetworkSuggestion). This is to avoid using an @hide API
inside WifiNetworkSuggestion to stamp the uid/package name of the app
using a retrieved context.
Bug: 144102365
Test: atest android.net.wifi
Change-Id: I86651c76053b613d9eb9dc95ab51b07b11f23f16
Allows RttService to use WifiManager class instead of using the
AIDL object.
Bug: 145746458
Test: Compiles
Change-Id: I0949067ac7a56a6da802e8dc81eef08779a786eb
This commit adds the support of 6GHz band to NAN.
Bug: 139354972
Test: atest com.android.wifi.server
Change-Id: Ifb14b4b9d52119c782615e916b457839848f22d7
Migrate NetworkUtils.inetAddressToInt() to
Inet4AddressUtils.inet4AddressToIntHTL() in
preparation to jarjar Inet4AddressUtils.
Bug: 145409537
Test: compiles
Change-Id: Ia57dde498db3e9b011d0a9772717b1539348cd37
This commit adds the minRssi and bandBonus for 6GHz band in
PNO settings.
Bug: 139354972
Test: atest com.android.server.wifi
Change-Id: I5a9920fcd6efb50e6c959617acb2f1c67db1d581
This commit adds the 6GHz band to the list of bands available for
WifiScanner APIs
Bug: 139354972
Test: atest com.android.wifi.server
Change-Id: I7570edba0dc88f81c0b034606d55d08c39bc3782