aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-08Merge "Convert wpa_supplicant to soong for cuttlefish" into mainHEADmastermainDeyao Ren
2024-03-07Convert wpa_supplicant to soong for cuttlefishDeyao Ren
Bug: 274020242 Test: CtsWifiTestCases, launch cvd, m checkbuild Change-Id: I0ccb8176bb43842529c8d08d4941dd6c742f2b9d Merged-In: I0ccb8176bb43842529c8d08d4941dd6c742f2b9d (cherry picked from commit 1d7e56dee59fb1645b343fabfc8023746a5fccc2)
2024-03-07Merge "Merge Android 14 QPR2 to AOSP main" into mainXin Li
2024-03-06Merge Android 14 QPR2 to AOSP mainXin Li
Bug: 319669529 Merged-In: Ie6d6540f66a9ed5fb2043909637b51382b198292 Change-Id: I536561ee611c72971701c86a7e30dc7bc29e6432
2024-03-01Merge changes from topic "no-hard-code-apex-name" into main am: 0e57f94e6atemp_319669529Jooyung Han
Original change: https://android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/2972836 Change-Id: Ie6d6540f66a9ed5fb2043909637b51382b198292 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-01Merge changes from topic "no-hard-code-apex-name" into mainJooyung Han
* changes: Support loading configs from APEX Revert apex support from wpa_supplicant
2024-02-22Support loading configs from APEXJooyung Han
When wpa_supplicant is in its APEX, it loads configs (overlay/template) from the APEX. It gets the APEX path from the executable's path. Bug: 325392832 Test: atest CtsWifiTestCases Change-Id: Idabbe75cca1d6d9ec987053525ef3b81d2ca6bda
2024-02-22Revert apex support from wpa_supplicantJooyung Han
This is a revert of 1f2ba85e6d4117e16d5132a82c8d775e1c0704a7. This is a preparation for the follow up change to remove hard-coded vendor apex name: com.android.wifi.hal. Bug: 325392832 Test: m wpa_supplicant Change-Id: I16ec62b0f46b05cbc4e254f12a51a26320b9df30
2024-01-17Merge Android 24Q1 Release (ab/11220357)Xin Li
Bug: 319669529 Merged-In: Ia6c05d88e711f2a636e4365efcc246bac31b0401 Change-Id: Ibf8f5d7887561c8a8b669a14a68358dfbd9400ce
2023-12-12Merge "Add skeleton implementation to supplicant for the MSCS configuration ↵Treehugger Robot
APIs." into main
2023-12-11[automerger skipped] Merge "Merge Android 14 QPR1" into main am: 90fff35dcb ↵Xin Li
-s ours am: b095cf4578 -s ours am: d4634f3871 -s ours am skip reason: Merged-In I53d14bd9e3f02b5ae467a8607229144614692b7c with SHA-1 cdf2037de9 is already in history Original change: https://android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/2862948 Change-Id: I747d5973734370867cc44563a23cb0d0f0f39eb5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11[automerger skipped] Merge Android 14 QPR1 am: b7505b0d32 -s ours am: ↵Xin Li
3e1eb9590d -s ours am: bfb51d6b56 -s ours am skip reason: Merged-In I53d14bd9e3f02b5ae467a8607229144614692b7c with SHA-1 cdf2037de9 is already in history Original change: https://android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/2862948 Change-Id: I4ad4e77d8f5314377fe879d7ee5884416d0b3188 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11[automerger skipped] Merge "Merge Android 14 QPR1" into main am: 90fff35dcb ↵Xin Li
-s ours am: b095cf4578 -s ours am skip reason: Merged-In I53d14bd9e3f02b5ae467a8607229144614692b7c with SHA-1 cdf2037de9 is already in history Original change: https://android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/2862948 Change-Id: I5ca0befe28a15fdd4ea7d198409cd9f6708f3606 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11[automerger skipped] Merge Android 14 QPR1 am: b7505b0d32 -s ours am: ↵Xin Li
3e1eb9590d -s ours am skip reason: Merged-In I53d14bd9e3f02b5ae467a8607229144614692b7c with SHA-1 cdf2037de9 is already in history Original change: https://android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/2862948 Change-Id: I6f9f9f6b96948a1ea4aa6aacae6490fb281d69a3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11[automerger skipped] Merge "Merge Android 14 QPR1" into main am: 90fff35dcb ↵Xin Li
-s ours am skip reason: Merged-In I53d14bd9e3f02b5ae467a8607229144614692b7c with SHA-1 cdf2037de9 is already in history Original change: https://android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/2862948 Change-Id: I4b025993cccdf7620b1bfef26d812d5f5878f1b6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11[automerger skipped] Merge Android 14 QPR1 am: b7505b0d32 -s oursXin Li
am skip reason: Merged-In I53d14bd9e3f02b5ae467a8607229144614692b7c with SHA-1 cdf2037de9 is already in history Original change: https://android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/2862948 Change-Id: I6a93125dc98f5ce7e996e27b3b5a2ff8b946f855 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11Merge "Add default implementations in supplicant service for findWithParams ↵Gabriel Biren
and connectWithParams." into main
2023-12-09Merge "Merge Android 14 QPR1" into mainXin Li
2023-12-08Merge Android 14 QPR1Xin Li
Merged-In: I53d14bd9e3f02b5ae467a8607229144614692b7c Bug: 315507370 Change-Id: I17a39d1e711b7cf5fd6963c54f967c9f205bf923
2023-12-08Add default implementations in supplicant serviceGabriel Biren
for findWithParams and connectWithParams. Bug: 296069900 Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest Change-Id: Ia6c05d88e711f2a636e4365efcc246bac31b0401
2023-12-07Merge "Call new onDeviceFoundWithParams callback in the supplicant service." ↵Gabriel Biren
into main
2023-12-06Merge "Add skeleton implementation for ISupplicantStaNetwork#setVendorData." ↵Gabriel Biren
into main
2023-12-05Call new onDeviceFoundWithParams callbackGabriel Biren
in the supplicant service. Bug: 296069900 Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest Change-Id: Ia9ff7d8a913617ee421fb0fd7115b1eab3df3008
2023-12-05Merge "Handling pmk addition in supplicant cache for 80211x connections" ↵Treehugger Robot
into main
2023-12-04Add skeleton implementation forGabriel Biren
ISupplicantStaNetwork#setVendorData. Full implementation will be provided by each OEM. Bug: 296069900 Test: m Change-Id: I9eaf95e43f88c9e27b4ccaa98483f476b1f9d81d
2023-12-03Handling pmk addition in supplicant cache for 80211x connectionsDennis Jeon
Fix conneciton issue seen with 8021x obsolete credential Supplicant presently doesn't delete the PMKSA for 4way handshake offload enabled drivers for 8021X cases. This is beacuse there is no entry present in wpa_supplicant cache as the PMKSA cache add is triggered only from EAPOL M1 (1/4) packet process context and hence happens only for supplicant based 4way handshake. This patch invokes set_pmk API so that a cache entry is made at the supplicant level. Bug: 310053150 Test: basic security test Change-Id: I4b2289fcc9366207db60c8e9ed7dbc3a3860dc8a Signed-off-by: Dennis Jeon <dennis.jeon@broadcom.corp-partner.google.com>
2023-12-01Add skeleton implementation to supplicantGabriel Biren
for the MSCS configuration APIs. Bug: 300870302 Test: m Change-Id: I72cdfa84bfd20ad7e6fa5edd1223f604d5590f1a
2023-12-01Merge "Added AIDL interface version check for backward compatibility" into mainTreehugger Robot
2023-12-01Added AIDL interface version check for backward compatibilitySunil Ravi
In the trunk-stable model the HAL implementation should be backward compatible with the wifi mainline module. So call the newer/modified callback function based on the AIDL interface version. Added the version check in three event paths, 1. AP-STA-CONNECTED event 2. AP-STA-DISCONNECTED event 3. Provision discovery frame handler Bug: 313582342 Bug: 310534969 Test: Ran P2P connection tests between Trunk build (version 2) and next build (version 3). Verfied from the logs that the version is set correctly. Also verified that the right APIs are called. Change-Id: I27140e10d37149b632d770124a39d0edd207ba66
2023-11-30Add AIDL support to control EHT modemaheshkkv
Bug: 308711070 Test: atest VtsHalWifiSupplicantStaNetworkTargetTest Change-Id: I85cc91a700882f08733fbc0415d5f4f5a312ebc6
2023-11-29Merge "Notify frequency to framework when mlo link channel is changed" into mainShuibing Dai
2023-11-22Merge "free wfd_r2_dev_info to avoid memmory leak" into mainTreehugger Robot
2023-11-21free wfd_r2_dev_info to avoid memmory leakjiangpingping
Bug: 312033374 Allocated memory for wfd_r2_dev_info when the p2p device was found. But not freed the memory after notifying the R2 information. This causes memory leak. Fixed the issue by freeing the memmory for wfd_r2_dev_info after usage. Bug: 312033374 Test: Wi-Fi Direct Scan and connection via WiFi-Direct settings window Change-Id: I70d72c4d76e3ee5f23849de6de7acc9282a30f26 Signed-off-by: jiangpingping <jiangpingping@xiaomi.com>
2023-11-21Merge "Upgrade hostapd service to implement V2 of the Hostapd HAL." into mainGabriel Biren
2023-11-20wifi: Added group interface name in P2pProvisionDiscoveryCompleted eventSunil Ravi
Added group interface name in the notification of provision discovery frame. A group interface name will be added if the provision discovery request contains P2P Group ID attribute. i.e., when the Peer device tries to join the existing P2P group owner. Bug: 296063280 Test: vts test Test: Ran P2P negotiated connection tests via Wi-Fi Direct settings window. Change-Id: I89c6d64b6d4095ac95cef1fbcd041f7c2dd74647
2023-11-18Merge "Add a variant of wpa_supplicant to support macsec" into mainKeith Mok
2023-11-16Fix null pointer exception due to no device mac addressSunil Ravi
When legacy clients connect to P2P GO, there won't be a P2P device address in AP-STA-CONNECTED/AP-STA-DISCONNECTED event. So fill the p2p device address in AP-STA-CONNECTED and AP-STA-DISCONNECTED events to framework as {0, 0, 0, 0, 0, 0}; Bug: 310969135 Bug: 291202830 Test: Setup P2P auto GO Connect from a legacy STA to GO Change-Id: I10e5fb023294d65318ab74de6546eb736dd72258
2023-11-15Upgrade hostapd service to implement V2Gabriel Biren
of the Hostapd HAL. Bug: 296069900 Test: m Change-Id: I5c69302d5cd9bf0de5f0bcebb84d60d4baa96e39
2023-11-10Merge changes from topic "Supplicant_AIDL_interface_V3" into mainSunil Ravi
* changes: Notify the IP address of connected client Update supplicant service to use supplicant AIDL V3 interface.
2023-11-10Handling AKM based checks in connect path am: 81f06b0d90 am: 9d67c1b8c4Mir Ali
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/24117152 Change-Id: I0b3f5005d5ede83b2f1a8d264b623adb4cfcadbf Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-10Handling AKM based checks in connect path am: 81f06b0d90Mir Ali
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/24117152 Change-Id: I8e35d513d3bd4375efb119a378ec05da8fa4df8d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-10Merge "Set sta_mlo_info.default_map to true by default." into mainTreehugger Robot
2023-11-10Notify the IP address of connected clientSunil Ravi
When the wpa_supplicant assigns the IP address (WFA EAPOL IP address allocation feature), the assigned IP address of the client on the GO side is notified in the AP-STA-CONNECTED event. So to obtain the IP info to framework , modified the AIDL SupplicantP2pIfaceCallback#onStaAuthorized to include group interface name and the assigned IP of client. Bug: 291202830 Test: Establish P2P connection and verified from the logs that the P2P Client IP address is received to framework via new HAL API. Change-Id: I5f9f9362d5942c9c29d5dbc020eb93ba7a69ba1a
2023-11-09Handling AKM based checks in connect pathMir Ali
Cleanup AKM based checks, in connect path, which are restricted to legacy AKMs and extend these checks to newer AKMs (SAE-EXT-KEY/SAE-EXT-FT-KEY) Bug: 289991109 Test: Tested connection to WPA2 AP and confirmed from logs that that two AKMs are sent to driver in connect command. Test: EVT platform. Change-Id: I0910a4fbb0cd39eef174d38e27301ef16a43b74a Signed-off-by: Mir Ali <mir-khizer.ali@broadcom.corp-partner.google.com>
2023-11-06Update supplicant service to use supplicant AIDL V3 interface.Sunil Ravi
Bug: 291202830 Test: Build successfully Test: Establish P2P connection and verified from the logs that the P2P Client IP address is received to framework via new HAL API. Change-Id: I0905901814ba51f3ba2792d99f5c9514e5303dc0
2023-11-06Merge "Notify the framework when TLS certificate verification fails." into mainTreehugger Robot
2023-11-01Notify the framework when TLS certificateGabriel Biren
verification fails. Notification can be sent using the existing OpenSSL failure callback. See ag/17108489 for more information about the existing callbacks. Bug: 296398808 Test: Manual Test 1. Follow the Test Setup Instructions doc to connect to WPA-Enterprise using EAP-TTLS. 2. Set all fields correctly, but select "Use system certificates" for the CA Certificate field. 3. Check that the expected OpenSSL failure event is generated. Change-Id: I6c67240887ad5198c021689fe68f6ad1cd3d114d
2023-10-31Handling AKM based checks in connect pathMir Ali
Cleanup AKM based checks, in connect path, which are restricted to legacy AKMs and extend these checks to newer AKMs (SAE-EXT-KEY/SAE-EXT-FT-KEY) Bug: 289991109 Test: Tested connection to WPA2 AP and confirmed from logs that that two AKMs are sent to driver in connect command. Test: Regression test Change-Id: I0910a4fbb0cd39eef174d38e27301ef16a43b74a Signed-off-by: Mir Ali <mir-khizer.ali@broadcom.corp-partner.google.com>
2023-10-30Merge "Adjust with changes in libxml2 upgrade" into main am: 6d755ae318 am: ↵Sadaf Ebrahimi
cdf2037de9 am: f303347aef Original change: https://android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/2789752 Change-Id: Ib7689680ba252b263d6afc253ebd0edb163cac2e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30Merge "Adjust with changes in libxml2 upgrade" into main am: 6d755ae318 am: ↵Sadaf Ebrahimi
cdf2037de9 Original change: https://android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/2789752 Change-Id: Ic9905f7d4c3559ea790e219ec46db25c2243e2c7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>