Commit graph

1833 commits

Author SHA1 Message Date
Gabriel Biren
fd567250a6 Merge "Import android.hardware.wifi.common in the Supplicant interface." into main 2023-12-05 18:35:41 +00:00
Nate Jiang
3478b3d87e Merge "Add CSIA into NDP request to support frame protection" into main 2023-12-04 23:51:57 +00:00
Gabriel Biren
677bc0f0c4 Import android.hardware.wifi.common in
the Supplicant interface.

Bug: 296069900
Test: m
Change-Id: I207691c74fbcdabd78d024aded5cef705cfb13c9
2023-12-04 22:48:03 +00:00
Gabriel Biren
1c435e44c4 Merge changes from topic "aggressive-roaming-hal" into main
* changes:
  Add aggressive roaming support to the Vendor HAL implementation.
  Add enum for aggressive roaming mode to the Vendor HAL AIDL interface.
2023-12-04 16:31:14 +00:00
Gabriel Biren
67d33e9710 Add aggressive roaming support to the
Vendor HAL implementation.

Bug: 269196966
Test: Vendor HAL Gtest suite
Test: atest VtsHalWifiStaIfaceTargetTest
Change-Id: I63d9f9a6994fbf76c16c82834f70c7a1e4966ad4
2023-12-01 01:32:14 +00:00
divya.n1
2b8b126ca0 Add enum for aggressive roaming mode to
the Vendor HAL AIDL interface.

Bug: 269196966
Test: m

Change-Id: Icc972fdea98035ad7668b85a7f4c3ae0c38f732d
2023-11-30 23:52:45 +00:00
maheshkkv
7d7e8dbca0 Add HAL support to control EHT mode
Bug: 308711070
Test: m
Change-Id: I5cde09537465d6a500078761780d1c82ed0e6704
2023-11-30 12:44:45 -08:00
Nate Jiang
bbf2198766 Add CSIA into NDP request to support frame protection
Bug: 294810242
Test: atest SingleDeviceTest
Change-Id: Ia59c4e9fbed473b6630e5db1e9af78f58467de77
2023-11-29 15:49:23 -08:00
Les Lee
abfd5064c4 Merge "Mark Passpoint Icon HAL APIs as @deprecated." into main 2023-11-28 04:57:53 +00:00
Gabriel Biren
ce096bc8d7 Mark Passpoint Icon HAL APIs as @deprecated.
Bug: 241827678
Test: m
Change-Id: Idf9b88ee959b86f757c6d0a5b5ff620876938c7d
2023-11-27 14:19:24 +00:00
Gabriel Biren
214578d9e6 Add list of OuiKeyedData to ApInfo.
Data will be passed to the framework
in the onApInstanceInfoChanged callback.

Bug: 296069900
Test: m
Change-Id: I69eac9a0b92916be9b80e844d6287545454fa203
2023-11-23 01:18:15 +00:00
Gabriel Biren
d947966ab2 Merge "Add list of OuiKeyedData to the Hostapd AIDL IfaceParams type." into main 2023-11-21 23:15:24 +00:00
Sunil Ravi
c5dfae3aae Merge "wifi: Modified API for P2pProvisionDiscoveryCompleted event" into main 2023-11-21 17:54:10 +00:00
Gabriel Biren
66bab48e20 Add list of OuiKeyedData to the Hostapd
AIDL IfaceParams type.

Requires update to the latest compatibility
matrix to upgrade the Hostapd HAL to V2.

Bug: 296069900
Test: m
Change-Id: I125937857fbc5fee0815369532e502da4c454a53
2023-11-21 00:55:09 +00:00
Sunil Ravi
e5ad97060d wifi: Modified API for P2pProvisionDiscoveryCompleted event
Deprecated the existing onProvisionDiscoveryCompleted API
which is used to indicate the completion of a P2P provision
discovery request. Added a new modified API called
onProvisionDiscoveryCompletedEvent to include the P2P group interface
name. This is for framework to know which group owner interface
received the provision discovery request, 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: If349ed600f2a474d50c0b05d58331b5b8ba9e94d
2023-11-20 20:35:39 +00:00
Gabriel Biren
793ebcc1e2 Merge changes from topic "vendor-hal-params" into main
* changes:
  Update the Vendor HAL and compatibility matrix to implement V2 of the Vendor HAL interface.
  Add an API to the Vendor HAL to create an AP or Bridged AP iface using vendor-specific parameters.
2023-11-16 21:07:50 +00:00
Gabriel Biren
aa9bd83dbd Update the Vendor HAL and compatibility matrix to
implement V2 of the Vendor HAL interface.

Also involves adding a default implementation of the
new method createApOrBridgedApIface().

Bug: 296069900
Test: m
Change-Id: Iea8aa0b66a23125c066d72b710004496d41defcb
2023-11-13 22:09:19 +00:00
Sunil Ravi
92edc5069f Merge changes from topic "Supplicant_AIDL_interface_V3" into main
* changes:
  wifi: API to Notify the IP address of connected client
  wifi: Format Supplicant HAL files as a part of update API
  wifi: Update Supplicant HAL to V3
2023-11-10 21:24:27 +00:00
Sunil Ravi
246e87d0fa wifi: API to Notify the IP address of connected client
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.
Test: vts test
Change-Id: Ie7b6944e88c3962c9d2b4a223cd383077e59f4a8
2023-11-10 03:39:45 +00:00
Gabriel Biren
61430f49d1 Add an API to the Vendor HAL to create an AP
or Bridged AP iface using vendor-specific
parameters.

Bug: 296069900
Test: m
Change-Id: I4bc05195a6e0b539b426d994e59f9f61a78c1255
2023-11-10 00:07:24 +00:00
Sunil Ravi
d139f8a7de wifi: Format Supplicant HAL files as a part of update API
updated the files modified via the command
m android.hardware.wifi.supplicant-update-api

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: I80fffc34f0b81db85413d382475ec7744533cb8a
2023-11-09 22:40:41 +00:00
Sunil Ravi
08c4c46cc4 wifi: Update Supplicant HAL to V3
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: I3078eb4fa690d49c29c5fca78f551ff22d13e3c6
2023-11-09 22:36:01 +00:00
Gabriel Biren
7c79f702c0 Add types-only AIDL package
android.hardware.wifi.common.

Types from this package will be
used across the Supplicant, Hostapd,
and Wifi Vendor HALs.

Initial type OuiKeyedData can be
used by vendors to pass additional
vendor-specific parameters.

Bug: 296069900
Test: m
Change-Id: Icef0261200358ecb662131bc06930d0d4db60312
2023-11-08 01:26:07 +00:00
Kenn Frankel
90b8c9901d Merge "Convert Nlinterceptor HAL to Vendor Apex (CF)" into main am: cf4cbd0b9b am: 51f4d2506d am: 7d909387ec
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2798153

Change-Id: Iba9aa998b5cd8eb3868b357bcfca753629dba429
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 20:54:51 +00:00
Kenn Frankel
51f4d2506d Merge "Convert Nlinterceptor HAL to Vendor Apex (CF)" into main am: cf4cbd0b9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2798153

Change-Id: I5ade17306ca8aca2d6720f06fa45f8402d288e9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 19:41:22 +00:00
Kenn Frankel
ae3f1fb976 Convert Nlinterceptor HAL to Vendor Apex (CF)
Bug: 300011249
Test: atest VtsHalNetlinkInterceptorV1_0Test

Change-Id: I521877b24354ff95eb941daf314ca1f14d37bd70
2023-11-01 22:58:04 +00:00
Xin Li
e4d528153d Merge "Merge android14-tests-dev" into main 2023-10-26 20:11:38 +00:00
Hsiu-Chang Chen
802828f461 wifi: Enhance tombstone folder dumping behavior
In current implementation, files in the tombstone folder are only
archived when there is at least one active wifi interface. The
examination is unnecessary and it causes problems for us to get wifi
logs if reporter takes bugreport with STA/SAP off. In this change,
tombstone files will be archived regardless of the state of the wifi
interfaces.

Bug: 303429585
Test: dumpsys android.hardware.wifi.IWifi/default
Change-Id: I8a8b09f6473b2a1f93478b0393963e87b1fb9ad7
2023-10-23 01:02:40 +00:00
Nate Jiang
33864539f4 Add comment to indicate the usage of the Service specific info in SDEA
Bug: 301045790
Test: N/A

Change-Id: I5c844915d26dd6b47a7577f80faa408046058427
2023-10-20 17:38:34 +00:00
Xin Li
84fe582d6e Merge 10952656
Merged-In: I27fe6f65f491db9d88710cf163eba12079499a09
Change-Id: I0c62786a40dd3c2d042929c7cb2e4334169bef84
2023-10-17 10:08:42 -07:00
Jooyung Han
8cee65d03f Merge "Cleanup: use shared apex_key (wifi HAL APEX)" into main am: de82b61de8 am: 8f26c19e6e am: 5b0414899e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2780370

Change-Id: I8c2fe3cb79116ac875d7c80d0e1be8825fe31626
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-17 08:38:34 +00:00
Jooyung Han
5b0414899e Merge "Cleanup: use shared apex_key (wifi HAL APEX)" into main am: de82b61de8 am: 8f26c19e6e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2780370

Change-Id: I3984a5d2eb5593ce11cb5cb38dd4463135eb317c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-17 08:03:19 +00:00
Xin Li
11ee4fea87 Merge android14-tests-dev
Bug: 263910020
Merged-In: I770dc5620648df2eab608e030c5e76cf190f315d
Change-Id: If4fe726d538386d70061e8051299d8fb393ef5df
2023-10-10 16:17:14 -07:00
Jooyung Han
3efe294141 Cleanup: use shared apex_key (wifi HAL APEX)
Bug: 296524155
Test: m
Change-Id: Id1bdc3614cf0387f726211c4b8e04909879198eb
2023-10-10 15:49:06 +09:00
Ye Jiao
2236b96bf4 Disable Wi-Fi framework during VTS
When VTS case kills supplicant in SetUp, Wi-Fi framework will trigger
recovery process and causes races between VTS and Wi-Fi framework.

Disable Wi-Fi framework using 'cmd wifi' in SetUp.

Bug: 297820612
Test: run vts -m VtsHalWifiHostapdV1_0TargetTest with new case
(cherry picked from https://android-review.googlesource.com/q/commit:46538346af90bf93dcafa36206fc2ea5c545dd93)
Merged-In: I5ea7f00cfebf79021185f66766454d053c973b31
Change-Id: I5ea7f00cfebf79021185f66766454d053c973b31
2023-09-26 16:35:18 +00:00
Gabriel Biren
f356c8b654 Merge "Disable Wi-Fi framework during VTS" into main am: bddf425784 am: 93ce27b837 am: 369df82b89 am: 36b3a962ab am: 0fc404280f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2728874

Change-Id: I9144f5ba40d51064c5bf4491171b3708f4c87141
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 03:17:34 +00:00
Gabriel Biren
0fc404280f Merge "Disable Wi-Fi framework during VTS" into main am: bddf425784 am: 93ce27b837 am: 369df82b89 am: 36b3a962ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2728874

Change-Id: I65c0ce4ff152b3e65a1ef6003358a36ba817e514
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 02:12:26 +00:00
Gabriel Biren
369df82b89 Merge "Disable Wi-Fi framework during VTS" into main am: bddf425784 am: 93ce27b837
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2728874

Change-Id: Idad98c56ad219fd26f7e26e4b1c66df90d35646c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 00:37:32 +00:00
Gabriel Biren
93ce27b837 Merge "Disable Wi-Fi framework during VTS" into main am: bddf425784
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2728874

Change-Id: Idf7f13190d2e731afa4633b7bc31437ae2ed0ed3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25 23:41:06 +00:00
Gabriel Biren
e8566c8e7d Rename toggleWifiFramework in the Hostapd am: ff914778ef am: bec9c969af am: ad2bd3d243 am: 615ebc2a61
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24772977

Change-Id: If874fd8070b54df8534b46f478329c29156f1c7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 21:40:44 +00:00
Gabriel Biren
615ebc2a61 Rename toggleWifiFramework in the Hostapd am: ff914778ef am: bec9c969af am: ad2bd3d243
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24772977

Change-Id: Ia0bdba896a535b74cad394ea50f43426fbe7082a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 20:57:14 +00:00
Gabriel Biren
11d6365d10 Rename toggleWifiFramework in the Hostapd am: ff914778ef am: bec9c969af
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24772977

Change-Id: I3c9029c58e34759df9d75ab01357b90bb3273782
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 19:56:20 +00:00
Gabriel Biren
ff914778ef Rename toggleWifiFramework in the Hostapd
AIDL test utils in order to avoid having
an ambigous function call.

aosp/2728874 adds a method of the same
name, which is causing pre-submit issues.

Bug: 297820612
Test: atest VtsHalHostapdTargetTest
Change-Id: Ie4da0a0037e7411e7908401f021b48246ea227bd
Merged-In: Ie4da0a0037e7411e7908401f021b48246ea227bd
(cherry picked from commit 94950dc20d)
2023-09-15 16:59:29 +00:00
Treehugger Robot
de729a3705 Merge "Rename toggleWifiFramework in the Hostapd AIDL test utils in order to avoid having an ambigous function call." into main 2023-09-15 01:21:40 +00:00
Gabriel Biren
94950dc20d Rename toggleWifiFramework in the Hostapd
AIDL test utils in order to avoid having
an ambigous function call.

aosp/2728874 adds a method of the same
name, which is causing pre-submit issues.

Bug: 297820612
Test: atest VtsHalHostapdTargetTest
Change-Id: Ie4da0a0037e7411e7908401f021b48246ea227bd
2023-09-14 23:41:45 +00:00
Ye Jiao
46538346af Disable Wi-Fi framework during VTS
When VTS case kills supplicant in SetUp, Wi-Fi framework will trigger
recovery process and causes races between VTS and Wi-Fi framework.

Disable Wi-Fi framework using 'cmd wifi' in SetUp.

Bug: 297820612
Test: run vts -m VtsHalWifiHostapdV1_0TargetTest with new case
Change-Id: I5ea7f00cfebf79021185f66766454d053c973b31
2023-09-14 01:19:47 +00:00
Gabriel Biren
c320fbaf1f Merge changes I917be24b,Ia10d3805 into main
* changes:
  Skip AP and P2P tests in wifi_chip_aidl_test if those iface types cannot be created.
  Add AIDL VTS helper method to check whether the specified iface type is supported.
2023-09-11 19:35:25 +00:00
Gabriel Biren
e8e161e255 Skip AP and P2P tests in wifi_chip_aidl_test
if those iface types cannot be created.

Bug: 297959416
Test: atest VtsHalWifiChipTargetTest
Change-Id: I917be24bb46b74fe3fb9d08e8af099b782e19469
2023-09-11 17:15:28 +00:00
Gabriel Biren
70b126cd25 Add AIDL VTS helper method to check whether
the specified iface type is supported.

Bug: 297959416
Test: atest VtsHalWifiChipTargetTest \
      VtsHalWifiStaIfaceTargetTest \
      VtsHalWifiApIfaceTargetTest \
      VtsHalWifiNanIfaceTargetTest \
      VtsHalWifiRttControllerTargetTest
Change-Id: Ia10d3805c5ebb5dd3e3e07b6106c0879f1764943
2023-09-08 18:04:42 +00:00
Ryan Prichard
c5ba9b1abd Merge "Undefine NAN before defining it again" into aosp-main-future am: 236bbe3305 am: 3e5ee9a6e6 am: 5742e2ba25
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24685603

Change-Id: I262b7ff132cfcd1bd8d21d6528d13d76fc075998
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 22:48:54 +00:00