Commit graph

1857 commits

Author SHA1 Message Date
maheshkkv
3990382e47 Add TWT support for vendor HAL
Bug: 296108122
Test: m
Change-Id: I897d405567a23e3c30ca46dce49c52dc939b508c
2023-12-12 10:31:54 -08:00
Mahesh KKV
c1f2c5e643 Merge "Add HAL support for IEEE 802.11 az ranging" into main 2023-12-11 18:35:31 +00:00
Gabriel Biren
d143a893db Merge "Add findWithParams and connectWithParams to the P2P Supplicant AIDL Interface" into main 2023-12-11 16:15:59 +00:00
Les Lee
94378bed55 Merge "wifi: Supports new feature flag about Voip mode" into main 2023-12-09 00:48:08 +00:00
Gabriel Biren
0e0762dcd7 Merge "Add QosCharacteristics to the supplicant AIDL interface." into main 2023-12-08 22:59:48 +00:00
Gabriel Biren
1652753c51 Add QosCharacteristics to the supplicant AIDL interface.
Bug: 300870302
Test: m
Change-Id: I91f44cad643c08d97def359939755597a93fee38
2023-12-08 20:31:55 +00:00
Nate Jiang
4dbabdd0ef Merge "Add discovery session in the bootstrapping request and respond" into main 2023-12-08 19:15:09 +00:00
Vinay Gannevaram
dc9ead7777 Add findWithParams and connectWithParams to the P2P
Supplicant AIDL Interface

Also deprecates the previous find and connect methods.

Bug: 296069900
Test: m

Change-Id: I764b3a7e54a6676fab9d1f4728fdbca8ce4b3c6f
2023-12-08 18:40:16 +00:00
Les Lee
d8fc1572fd Merge "wifi: rename mode 'ON' to 'VOICE'." into main 2023-12-07 23:23:02 +00:00
Kai Shi
a0fc82730d Merge "Add the HAL support for getCachedScanResult." into main 2023-12-07 22:02:48 +00:00
Gabriel Biren
eb508f78d1 Merge "Add capability bit for the roaming mode feature in the Vendor HAL interface." into main 2023-12-07 21:07:48 +00:00
Gabriel Biren
f9fd4d46c3 Merge "Add new onDeviceFoundWithParams callback to the Supplicant AIDL interface." into main 2023-12-07 19:01:23 +00:00
divya.n1
b8c242abc7 Add capability bit for the roaming mode feature
in the Vendor HAL interface.

Bug: 269196966
Test: m

Change-Id: I0d4e5ed922d88f8e557509d3aa1808e168b5a077
2023-12-07 18:37:03 +00:00
Nate Jiang
b7ec0384da Add discovery session in the bootstrapping request and respond
Bug: 292462023
Test: atest SingleDeviceTest
Change-Id: I8ec57f5f2af14ccb546c452b82c62652c43f0d4e
2023-12-07 10:22:28 -08:00
maheshkkv
7d422812c7 Add HAL support for IEEE 802.11 az ranging
Bug: 295619650
Test: m
Change-Id: Ieba17a1414afa8fddca7d0d87e786c760c6789e5
2023-12-06 22:38:20 -08:00
Les Lee
b5d73ee5ce wifi: rename mode 'ON' to 'VOICE'.
To improve clarity and accommodate future functionalities,
we should rename the existing 'ON' mode to 'VOICE'.
This change establishes 'VOICE' as the fundamental mode for VOIP operations.
Additionally, it paves the way for adding future modes, such as 'VOICE_VIDEO',
as the system evolves.

Bug: 295885471
Test: TH

Change-Id: Ie3b54f02cf3c73b5a9c2a805ec36703dfd541666
2023-12-07 06:08:57 +00:00
Les Lee
b792cda368 wifi: Supports new feature flag about Voip mode
ag/25582780 is the vts for this aidl change.

Bug: 295885471
Test: manual test, wifi works normally
Change-Id: I74f8861d43a2a5850dfb3b5b57575858d7f61398
2023-12-07 04:48:46 +00:00
Les Lee
8efe3759f8 wifi: Supports setVoipMode in HAL
Bug: 295885471
Test: manual test, wifi works normally
Change-Id: I20e1479de84fa892c986929eebc692b33f5607a1
2023-12-07 03:52:37 +00:00
Kai Shi
7d0e5e927b Add the HAL support for getCachedScanResult.
Bug: 269485350
Test: adb shell cmd wifi get-cached-scan-data
Test: adb shell halutil -get_cached_scan_results
Test: hardware/interfaces/wifi/aidl/default/tests/runtests.sh
Change-Id: Ie94fbdd51a21c25c6aefa4afbd40cfcaabbe0f8c
2023-12-06 17:30:39 -08:00
Gabriel Biren
7932ef62f5 Merge "Add android.hardware.wifi.common as a dependency in the supplicant VTS tests." into main 2023-12-06 17:07:58 +00:00
Gabriel Biren
3bdac1771f Merge "Supplicant: Add support to configure and indicate additional vendor data" into main 2023-12-06 17:07:58 +00:00
Vinay Gannevaram
0fe91de0cd Add new onDeviceFoundWithParams callback to the
Supplicant AIDL interface.

Also mark the previous onDeviceFound callbacks
as deprecated.

Bug: 296069900
Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest

Change-Id: Ibeaf20832292a680adf94703b7a0eda1dc9f82d5
2023-12-05 23:17:55 +00:00
Gabriel Biren
7d1bdeb2d4 Add android.hardware.wifi.common as a dependency
in the supplicant VTS tests.

Bug: 296069900
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
	    VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: I1f6bd7d4c019c39ed9fdfc56db2bc446542f7be2
2023-12-05 20:21:29 +00:00
Gabriel Biren
fd567250a6 Merge "Import android.hardware.wifi.common in the Supplicant interface." into main 2023-12-05 18:35:41 +00:00
Vinay Gannevaram
f503a6f156 Supplicant: Add support to configure and indicate additional vendor data
Add interface support for indicating additional vendor data as list
of Oui Keyed Data in network configuration and connection capabilities.

Bug: 296069900
Test: m

Change-Id: I4ec4a193a51ddce32006284db7e61b2f3de03f03
2023-12-05 00:42:38 +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