Age | Commit message (Collapse) | Author |
|
Migrate to packages/modules/Wifi. This CL will be presubmit tested
once migration is complete. This CL drops the code from
frameworks/base/wifi and migrated to packages/modules/Wifi.
Also adjusts visibility rules in frameworks/base/Android.bp
Bug: 137323948
Test: TH
Change-Id: Id02e28648e922a30d6a81cf92b39eff4ca3cc002
|
|
* changes:
WifiInfo: Add equals implementation
Convert WifiInfo to TransportInfo
|
|
Also, deprecate WifiManager.getConnectionInfo() and add a note to
help apps to migrate. The deprecation is purely cosmetic, no plans to
remove any existing functionality from the WifiManager API.
(cherry-picked from aosp/1508600)
Bug: 162602799
Test: Compiles
Change-Id: I12c473185dc5518f5684e83c2f49e07271738cb5
|
|
In bridged mode, it needs the way to know connected client and info in
each instance. Add callback onConnectedClientsChangedWithApInfo to
provide the link between clients and info
1. onConnectedClientsChanged(SoftApInfo, List<WifiClient>)
2. onInfoChanged(List<SoftApInfo>)
PS: This CL# also refactoring the callback in service side.
Move to Manager side to handle it.
Service side:
onConnectedClientsOrInfoChanged, integrate 4 callbacks to
one callback and pass all of the current infos to Manager.
PS: Convert one callback to 4 callback in Manager side will in another CL#.
Now only handle onConnectedClientsChanged in single AP mode to avoid
block AOSP Setting/SystemUI usage.
Manager side: (public systemApi)
1. onInfoChanged(SoftApInfo)
2. onInfoChanged(List<SoftApInfo>)
3. onConnectedClientsChanged(SoftApInfo, List<WifiClient>)
4. onConnectedClientsChanged(List<WifiClient>)
AP+AP Part 6 includes:
Support dual SoftApInfo callback
a. New callback onInfoChanged(List<SoftApInfo>) &
onConnectedClientsChanged(SoftApInfo, List<WifiClient>)
b. Callback refactoring
c. Support shutdown idle instance in bridged mode
Bug: 162686273
Test: FrameworksWifiApiTests
Change-Id: I861ad4ece908ec98fd500b249906ee73fff0a72a
|
|
|
|
|
|
(client)"
|
|
|
|
Bug: 163355222
Test: adding methods to class. Existing unit tests and 3 additional tests pass.
Change-Id: Ie003e63350faa257f8dbd68d6918961580745cce
|
|
|
|
Bug: 160648511
Test: atest android.net.wifi
Change-Id: I2a1959a2504e274de83f9cd0e44300222bbe8aac
|
|
callback"
|
|
Disable network temporarily when detecting carrier eap error
Bug: 148940011
Test: atest FrameworksWifiTests
Test: make sure network can be disabled when detecting carrier eap error
Change-Id: Ide5f8b2a084ce3d72b6ba820393b9fb9b22aff0f
|
|
1. The framework need to know the instance of the client connected to
know which instance is idled.
2. The framework need to know the instance of the soft AP info.
3. Add infoList callback support for dual APs mode.
AP+AP Part 5 includes:
1. Support forceClientDisconnect in dual AP mode.
2. Support dual SoftApInfo callback
a. New callback onInfoListChanged
b. Add instanceIdentifier in SoftApInfo but it is used only in
framework.
c. Add instanceIdentifier in WifiClient but it is used only in
framework.
Bug: 162686273
Test: FrameworksWifiApiTests
Change-Id: I207831ff15a3044316556d61a72542ff35c94e74
|
|
Trigger WiFi recovery. The WiFi chip will get disabled and then
re-enabled. The state at the exit may not match the entry state.
Bug: 175084231
Test: atest com.android.server.wifi
Test: atest android.net.wifi
Test: adb shell cmd wifi trigger-recovery
Change-Id: Ie46bc697dcc003758c5df7c7c9d594e365086c7d
|
|
Bug: 173054916
Test: compile
Change-Id: I38f96e91a27e180a8a2b7b862fe4b67e3ca741f8
|
|
|
|
AP+AP Part 4 includes:
1. Support API to indicate Bridged AP supported or not
2. Interface idx mechanism. I.e. STA+STA support, AP+AP will take wlan2 & wlan3
Bug: 162686273
Test: atest FrameworksWifiApiTests
Change-Id: Ic56700f58671ec3daaf05942eab06e0568465210
|
|
A new API to control carrier offload for target carrier/subscription.
Bug: 155109689
Test: atest android.net.wifi
Change-Id: Id29205223dad6c226bd7b5cdb28ef6642f3b505a
|
|
|
|
Added system APIs for DPP STA Enrollee-Responder mode
- start DPP in Enrollee-Responder mode
- Callback function to pass Generated DPP bootstrap URI
Defined a new failure code to indicate generate DPP
URI failure.
Bug: 162686712
Test: atest 8BFAZ01446 com.android.server.wifi
Test: act.py -c <dpp config file> -tc WifiDppTest
Change-Id: I094d06dd1f195aa9d647deb65cca91a81cfc10db
|
|
Add band constant BAND_60GHZ to SoftApConfiguration,
needed for supporting SoftAP on the 60GHz band.
Bug: 147464239
Test: atest FrameworksWifiTests
Test: atest FrameworksWifiApiTests
Change-Id: I8903f2d0119392646cca8bb8d1d6c723ec61b4c3
|
|
Added SystemApis for getting and setting the unsafe channels to avoid
for framework Wifi/Cellular coex channel avoidance.
Bug: 153651001
Test: atest WifiManagerTest, atest CoexUnsafeChannelTest
Change-Id: I4cb4137766c23f096951a2a5a4df1bd946f6c446
|
|
|
|
* changes:
Add API to get Subscription Id
[Suggestion] API to set carrier merged network
|
|
Add APIs to temporarily disabled non carrier merged wifi networks, and
another API to re-enable the disabled networks.
Bug: 173054916
Test: atest android.net.wifi
CTS-Coverage-Bug: 173152650
Change-Id: Ib8e6b248d6903a3b8c0c1dd94b2dd4e668aae1f0
|
|
Bug: 160648511
Test: atest android.net.wifi
Change-Id: If93db55b1e0bc33dd7b82dad4e297c442b628e44
|
|
Bug: 172867224
Test: atest android.net.wifi
Change-Id: I0534a71784060f1613b0b76602e9ed379ab3104e
|
|
Create a new API to set carrier merged network suggestion
Bug: 172867186
Test: atest android.net.wifi
Change-Id: I5ddbc8b15e361e44c508e40dac10211cbd39ab10
|
|
|
|
This key will be unique for each profile.
Bug: 142035508
Test: atest android.net.wifi
CTS-Coverage-Bug: 172686026
Change-Id: I94fc0686b1bd5cf20c8e53f267220a201e7b7dd8
|
|
|
|
Bug: 170311014
Test: atest FrameworksWifiApiTests
Change-Id: I1e31fa896d4890b78d3918247ee35cbfe7b08388
|
|
Bug: 160642415
Test: build
Change-Id: I2a729185897660d3406ca5eb8a86984ee6582325
|
|
Bug: 170311014
Test: atest FrameworksWifiApiTests
Change-Id: I3f25cc44902af570786e2a1b3208e05da1bfc7c8
|
|
|
|
Also, plumb the flag to WifiInfo.
Bug: 169413079
Test: atest android.net.wifi
Change-Id: I4985c3a2544684fe067e3e5aaaa612a62c611880
|
|
Bug: 171983651
Test: atest android.net.wifi
Change-Id: I5a019cbd29c4c63e6559da9b733d82b1c0422d40
|
|
Bug: 160752000
Test: atest -c FrameworksWifiApiTests
Change-Id: Ifb6b63879eeb8cbb86b31ff2eff19a62f1fbdc95
|
|
|
|
|
|
Revert "[AWARE] API to get available aware resources"
Revert "[CTS] Add test for AwareResources API."
Revert submission 12903772-awareResources
Reason for revert: b/171991392
Reverted Changes:
I74949effc:[CTS] Add test for AwareResources API.
I8ed29471b:[AWARE] Add API to get available aware resources
Ie207af078:[AWARE] API to get available aware resources
Change-Id: Icaea00cc84f406521f8181f2912f505d05a4bd72
|
|
|
|
Bug: 159100865
Test: atest android.net.wifi
Change-Id: I8ed29471be987822ab27b91452c62e9e6a09cb12
|
|
|
|
1. Add new APIs (get/set Bands/Channels) to support config the dual APs
mode.
2. Update the old API (get Band/Channel) to return smallest band/channel
which associated to the smallest band in dual bands setting.
The valid bands doesn't limit to 2GHZ & 5GHZ,
but the daul APs setting should be 2.4GHZ and 5GHZ on pixel.
PS: Also fix incorrect java doc link and descritpion.
Bug: 162686273
CTS-Coverage-Bug: 171179478
Test: atest FrameworksWifiApiTests
Change-Id: Id000a600c4786bd343e0ef69a7d489658f017037
|
|
Added new failure statuses and the ability to last update timestamp.
Bug: 155697192
Test: atest android.net.wifi
Change-Id: I46d20f2804601eb7efd3712928fd5c4727b17fb4
|
|
|
|
192-bit certificates could still be used for standard enterprise
networks. If certificates meet EAP-Suite-B requirements, setWpa3EnterpriseConfig will create
an EAP-Suite-B only configuration and lead to connection issues for stardard enterprise networks.
setWpa3EnterpriseConfig is deprecated and there are 2 new APIs to create
standard mode and 192-bit mode configurations.
Bug: 170311014
Test: atest FrameworksWifiApiTest \
android.net.wifi.cts.WifiNetworkSpecifierTest \
android.net.wifi.cts.WifiNetworkSuggestionTest
Change-Id: Iffd455a9e603666c20c2c728e478ce5d894582b1
|
|
|