summaryrefslogtreecommitdiff
path: root/wifi/api
AgeCommit message (Collapse)Author
2020-12-23Migrate frameworks/base/wifi & frameworks/base/packages/OsuLoginBaligh Uddin
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
2020-12-23Merge changes from topic "wifi_transport_info_stage_1"Roshan Pius
* changes: WifiInfo: Add equals implementation Convert WifiInfo to TransportInfo
2020-12-22Convert WifiInfo to TransportInfoRoshan Pius
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
2020-12-18wifi: Add new callback to support use case in bridged modelesl
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
2020-12-15Merge "[Suggestion] Add listener for user approval status change"Nate Jiang
2020-12-15Merge "Wifi: Disable network when detecting carrier eap error"TreeHugger Robot
2020-12-14Merge "Adding setter and getters for setRttBurstSize() in RangingRequest ↵Roy Want
(client)"
2020-12-12Merge "softap: Add BAND_60GHZ to SoftApConfiguration"Jimmy Chen
2020-12-11Adding setter and getters for setRttBurstSize() in RangingRequest (client)Roy Want
Bug: 163355222 Test: adding methods to class. Existing unit tests and 3 additional tests pass. Change-Id: Ie003e63350faa257f8dbd68d6918961580745cce
2020-12-11Merge "Allow setup wizard to call carrier selection APIs"Oscar Shu
2020-12-10[Suggestion] Add listener for user approval status changeNate Jiang
Bug: 160648511 Test: atest android.net.wifi Change-Id: I2a1959a2504e274de83f9cd0e44300222bbe8aac
2020-12-10Merge "wifi: Add instance identifier in SoftApInfo/WifiClient and infoList ↵Les Lee
callback"
2020-12-10Wifi: Disable network when detecting carrier eap errorIsaac Chiou
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
2020-12-10wifi: Add instance identifier in SoftApInfo/WifiClient and infoList callbacklesl
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
2020-12-09[WIFI] Trigger WiFi recovery modeEtan Cohen
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
2020-12-09Allow setup wizard to call carrier selection APIsxshu
Bug: 173054916 Test: compile Change-Id: I38f96e91a27e180a8a2b7b862fe4b67e3ca741f8
2020-12-04Merge "wifi: Add API to indicate (STA) + Bridged AP supported (Part 4)"Les Lee
2020-12-04wifi: Add API to indicate (STA) + Bridged AP supported (Part 4)lesl
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
2020-12-03[Suggestion] Add API to control carrier offloadNate Jiang
A new API to control carrier offload for target carrier/subscription. Bug: 155109689 Test: atest android.net.wifi Change-Id: Id29205223dad6c226bd7b5cdb28ef6642f3b505a
2020-12-01Merge "Add APIs for Wifi/Cellular coex channel avoidance"Quang Luong
2020-11-24Wifi: DPP STA Enrollee-Responder modeSunil Ravi
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
2020-11-19softap: Add BAND_60GHZ to SoftApConfigurationJimmy Chen
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
2020-11-17Add APIs for Wifi/Cellular coex channel avoidanceQuang Luong
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
2020-11-16Merge "Add APIs for carrier network selection"Oscar Shu
2020-11-14Merge changes from topics "mergedNetwork", "wifiInfoSubId"Nate Jiang
* changes: Add API to get Subscription Id [Suggestion] API to set carrier merged network
2020-11-13Add APIs for carrier network selectionxshu
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
2020-11-12[Suggestion] Add API to help app get user approval status.Nate Jiang
Bug: 160648511 Test: atest android.net.wifi Change-Id: If93db55b1e0bc33dd7b82dad4e297c442b628e44
2020-11-12Add API to get Subscription IdNate Jiang
Bug: 172867224 Test: atest android.net.wifi Change-Id: I0534a71784060f1613b0b76602e9ed379ab3104e
2020-11-12[Suggestion] API to set carrier merged networkNate Jiang
Create a new API to set carrier merged network suggestion Bug: 172867186 Test: atest android.net.wifi Change-Id: I5ddbc8b15e361e44c508e40dac10211cbd39ab10
2020-11-06Merge "Create a new method to get profile key of WifiConfig"Nate Jiang
2020-11-06Create a new method to get profile key of WifiConfigNate Jiang
This key will be unique for each profile. Bug: 142035508 Test: atest android.net.wifi CTS-Coverage-Bug: 172686026 Change-Id: I94fc0686b1bd5cf20c8e53f267220a201e7b7dd8
2020-11-06Merge "wifi: add SAE-PK feature querying API"TreeHugger Robot
2020-11-06wifi: create a better name for WPA3 Enterprise 192-bit modeJimmy Chen
Bug: 170311014 Test: atest FrameworksWifiApiTests Change-Id: I1e31fa896d4890b78d3918247ee35cbfe7b08388
2020-11-04wifi: add SAE-PK feature querying APIJimmy Chen
Bug: 160642415 Test: build Change-Id: I2a729185897660d3406ca5eb8a86984ee6582325
2020-11-03wifi: create an option for the WPA3 Enterprise security typeJimmy Chen
Bug: 170311014 Test: atest FrameworksWifiApiTests Change-Id: I3f25cc44902af570786e2a1b3208e05da1bfc7c8
2020-11-02Merge "[AWARE] Add API to get available Aware resources"Nate Jiang
2020-10-31WifiNetworkSuggestion: Add setOemPrivate flagRoshan Pius
Also, plumb the flag to WifiInfo. Bug: 169413079 Test: atest android.net.wifi Change-Id: I4985c3a2544684fe067e3e5aaaa612a62c611880
2020-10-30[AWARE] Add API to get available Aware resourcesNate Jiang
Bug: 171983651 Test: atest android.net.wifi Change-Id: I5a019cbd29c4c63e6559da9b733d82b1c0422d40
2020-10-30wifi: Add new capability to indicate mac address customization supportlesl
Bug: 160752000 Test: atest -c FrameworksWifiApiTests Change-Id: Ifb6b63879eeb8cbb86b31ff2eff19a62f1fbdc95
2020-10-30Merge "API support for more recent failure statuses"Oscar Shu
2020-10-29Merge "Revert "[AWARE] Add API to get available aware resources""Steven Moreland
2020-10-29Revert "[AWARE] Add API to get available aware resources"Steven Moreland
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
2020-10-29Merge "[AWARE] Add API to get available aware resources"Nate Jiang
2020-10-28[AWARE] Add API to get available aware resourcesNate Jiang
Bug: 159100865 Test: atest android.net.wifi Change-Id: I8ed29471be987822ab27b91452c62e9e6a09cb12
2020-10-28Merge "wifi: Add APIs to set dual bands and dual channels"Les Lee
2020-10-28wifi: Add APIs to set dual bands and dual channelslesl
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
2020-10-27API support for more recent failure statusesxshu
Added new failure statuses and the ability to last update timestamp. Bug: 155697192 Test: atest android.net.wifi Change-Id: I46d20f2804601eb7efd3712928fd5c4727b17fb4
2020-10-25Merge "wifi: fix wpa3 enterprise API"Jimmy Chen
2020-10-24wifi: fix wpa3 enterprise APIJimmy Chen
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
2020-10-22Merge "wifi: make BAND_ANY to deprecated"Les Lee