If one or more of the suggestions added is invalid, will reject all.
Bug: 147907699
Test: atest android.net.wifi
Change-Id: I2f6c83a811539c682861c4d6e622c52f583d9832
This commit adds the following parameters to DeviceWiphyCapabilities:
1. Support of 160MHz / 80+80MHz channel width
2. Max number of Tx/Rx spatial streams.
Bug: 144576344
Test: atest com.android.wifi.server
Change-Id: Iad4ce736968d23d5abb43c8948d34fe03dcbcb01
Bug: 137835398
Test: atest FrameworksWifiTests
Test: attach to upstream hotspot device by selecting the sanned
ssid from wifi settings, then check the OUI, vendor specific
type fileds of IEs from the logcat.
Change-Id: If3b9906c75033f51bd35fcf054154125719ea958
This commit adds a public API to query for the supported wifi standards.
Bug: 143543900
Bug: 134688244
Bug: 144576344
Test: atest com.android.wifi.server
Change-Id: I57ac90c7d3473a71435bfb96b19d983ae433082a
* changes:
wifi: Fix java doc error, use @code instead of @link
softap: Update LOHS API usage
SoftAp: Public SoftApConfiguration to replace WifiConfiguration
We prefer app to use suggestion API to add passpoint network.
Bug: 142424092
Test: atest android.net.wifi
Change-Id: I030efc2eeecef16ce7d5650136f168a44fad864e
Somehow the AIDL compiler is confusing
android.net.wifi.ScanResult with
android.bluetooth.le.ScanResult.
For some reason fully qualifying ScanResult
instead of having a single import at the top
fixes the problem.
Bug: 147918827
Test: m ANDROID_BUILDSPEC=vendor/google/build/app_build_spec.mk
Change-Id: I93b9006cb1741ba0d723ffaa8b2a84ff96c7312e
Fix the issue that passpoint suggestion can set both to false.
Bug: 139199957
Test: atest android.net.wifi
Change-Id: I44ef0116efeb04220b3f710664aecab614ae849c
These @SystemApis are needed by Settings.
Also modified no-arg constructor for
WifiNetworkSuggestion to conform to the
@NonNull guarantees of getWifiConfiguration().
Bug: 138801922
Test: atest FrameworksWifiApiTests
Change-Id: I5ce60ba376e6976bdcb5a651c991c44579bfef3f
Temporarily use reflection to get the context
in order to allow framework-wifi to build
against @SystemApi stubs. Will remove reflective
call once refactor is complete to allow
WifiNetworkSpecifier to get the context using
formal APIs.
Bug: 144102365
Test: Ran CTS Verifier NetworkRequest tests, verified package name
in adb logs.
Change-Id: Ib507b449f81e9ce88cdb9190e9f8390eb25819b7
This commit adds the API to query for the device phy capabilities.
Bug: 143543900
Bug: 134688244
Bug: 144576344
Test: atest com.android.wifi.server
Change-Id: I8bff0fb45faaa39a7cd4dd19fe4591ac2e7af3d5
Root cause:
The @link is referencing the hidden method will build break
Bug: 142752869
Test: make docs frameworks/base/wifi/
Change-Id: I8101fcfc5fd022d3216b300ce054645bcd878a07
Use SoftApConfiguration to replace WifiConfiguration
1. Deprecate public old getWifiConfiguration API.
2. Add new API getSoftApConfiguration in LocalOnlyHotspotReservation
The new security type SAE and SAE Transition mode support in Soft Ap,
Return null config when LOHS enable and security type is SAE or SAE Transition mode.
Bug: 138801922
Bug: 142752869
Test: atest frameworks/base/wifi/tests/
Test: atest android.net.wifi.cts.WifiManagerTest#testStartLocalOnlyHotspotSingleRequestByApps
Test: atest android.net.wifi.cts.WifiManagerTest#testStartLocalOnlyHotspotSuccess
Test: atest android.net.wifi.cts.WifiManagerTest#testStartLocalOnlyHotspotWithConfig
Change-Id: I32fbceff03b3821dde4f05356abb7f1645b90127
Add the following APIs:
getMaxSupportedTxLinkSpeed()
setMaxSupportedTxLinkSpeed()
getMaxSupportedRxLinkSpeed()
setMaxSupportedRxLinkSpeed()
Bug: 147390882
Test: atest android.net.wifi
Test: manual test with various APs
Change-Id: I7f3268b2842783f99c0a43d8b4996d0a7dd46c6e
Add API to enable/disable MAC randomization per passpoint profile.
Bug: 145209638
Test: atest android.net.wifi
Change-Id: I1683ed4eb3c64c6643eb04919dc77aa8f0db0ec6
* changes:
UserManagerService: Add UserHandle extra to user added/removed broadcast
wifi-service: Jar-Jar net util library
WifiManager: Add API to query STA + AP concurrency
Use the existing feature flag |WIFI_FEATURE_AP_STA| to expose a
@SystemApi.
PS: This flag is currently unused. Will need to find a mechanism by
which we can fill in this flag appropriately from HalDeviceManager.
Bug: 141452146
Test: Compiles
Change-Id: Idf3bab96686a8994cd3eea6bec8346db96161a03
WifiConfiguration.SuiteBCipher is linked in
documentation of public API
WifiConfiguration.allowedSuiteBCiphers.
Thus expose SuiteBCipher as a public API.
Bug: 147711708
Test: compiles
Change-Id: Ib913f92d61dce29da4660a3f2f08c8c17d939b71
When app doesn't have location permission or location mode disabled,
FQDN and friendly name will not ba able to access.
Bug: 147699220
Test: build
Change-Id: If4000ba550ee58a17cbf77e4e28a9e6a592b6264
DnsSdTxtRecord is moved to frameworks/libs/net for mainline
support. Also change the import path using this class.
Bug: 139268426
Bug: 135998869
Test: atest FrameworksNetTests
./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I6118b313ce668707d598aa2eab9baee2f7622dbc
Add srcs to framework and change import path.
Remove the codes which are moved to frameworks/libs/net.
Bug: 139268426
Bug: 135998869
Bug: 138306002
Bug: 143925787
Test: atest FrameworksNetTests
atest FrameworksTelephonyTests
atest ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ieb8927f9af7f87a5ae038bd6c7daeb3d70117fef