Commit Graph

183 Commits

Author SHA1 Message Date
Yuyang Huang
b959192690 Merge "Adapt CheckApfIsSupported for VSR-15 compatibility" into main 2024-03-25 06:51:10 +00:00
Treehugger Robot
f3f6e5b2cd Merge "Update APF VTS for VSR-14 compliance" into main 2024-03-23 01:26:24 +00:00
Yuyang Huang
641f0aed53 Adapt CheckApfIsSupported for VSR-15 compatibility
This commit updates CheckApfIsSupported to align with VSR-15
requirements. APF should have minimum of 2000 bytes usable memory.

Bug: 303356901
Test: TH
Change-Id: I2a2dbc22e1532fcb11ab256830cecba9f6c54446
2024-03-19 11:13:08 +09:00
Yuyang Huang
fe83a98b3e Update APF VTS for VSR-14 compliance
Modified the VTS to check the APF version is 4 (or higher) as mandated
by VSR-14.

Test: TH
Change-Id: I28f6579bf426e5338880fcc6afff33c769f29634
2024-03-19 11:01:26 +09:00
Yuyang Huang
25ae719f23 Merge "Update VTS to exempt low-power TVs from APF" into main am: 37ad71f3ce
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2957772

Change-Id: Ia64deb5e5be44dca193a530e3607d5a378238dc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-17 01:25:18 +00:00
Yuyang Huang
9f215110bf Update VTS to exempt low-power TVs from APF
This change updates the VTS to exempt TV devices that consume <= 2W of
standby power from APF requirements. This update aligns with latest GTVS
policy.

Bug: 306587099
Test: TH
Change-Id: Ifec617520db20d1ef61f1eca63b7160d9191f446
2024-02-14 08:58:53 +09:00
Treehugger Robot
74dc4cc5d7 Merge "[DON'T BLOCK] Test ownership migration rules" into main am: 27e97308c4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2950589

Change-Id: Ie4f36b193820490e606e7f5100ca29200f832fa2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 01:45:21 +00:00
Steven Moreland
c8e974d814 wifi: no rust by default
for persistable bundle, since Rust is being made
the default now.

Bug: 321267339
Test: m
Merged-In: Ie877c015a7ba3ed3f596285d5cfae9049c663dbd
Change-Id: Ie877c015a7ba3ed3f596285d5cfae9049c663dbd
(cherry picked from commit e820be1fef)
2024-02-05 23:52:21 +00:00
Aditya Choudhary
ad2ba1b851 [DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: Ic8c4bd6ac246e7efa98bbdaf822d12ae8e1230a5
2024-02-05 15:45:22 +00:00
Xin Li
763c473c3d Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I976f80006aeb88bde2ae34ca4f9be72cea727d9e
Change-Id: Id94b25af52bd2e2847b6858697ab21cc6ce27aa3
2024-01-30 10:36:50 -08:00
Hongguang Chen
2478e178a1 Rename mDNS offload feature name
Bug: 318332352
Test: pm list features
Test: atest android.app.cts.SystemFeaturesTest
Test: atest VtsHalWifiStaIfaceTargetTest
Change-Id: I57d8f955c3f5d39814f36b662fee8d045c8c5150
2024-01-19 17:42:24 -08:00
Andres Schafhauser
f91d7adfc4 APF exempt list for TVs to use hardware feature
Instead of expecting MdnsOffloadManagerService to exist which is
correct in principle but VTS fails as use of GSI is required.

Bug: 318332352
Test: atest VtsHalWifiStaIfaceTargetTest
Change-Id: I47453e7ad009b08aadf7c09fc144d2166ef9991b
2024-01-11 17:11:13 +00:00
Les Lee
af860de0fc vts: Add vts to test setVoipMode
Bug: 295885471
Test: atest -c VtsHalWifiChipTargetTest
Change-Id: I976f80006aeb88bde2ae34ca4f9be72cea727d9e
2023-12-14 10:59:19 +00:00
Mahesh KKV
87ee8c7f9a Merge "Add TWT support for vendor HAL" into main 2023-12-12 21:36:47 +00:00
maheshkkv
3990382e47 Add TWT support for vendor HAL
Bug: 296108122
Test: m
Change-Id: I897d405567a23e3c30ca46dce49c52dc939b508c
2023-12-12 10:31:54 -08:00
Kai Shi
2d5f8ca95f Merge "Add capability bit for the cached scan data feature" into main 2023-12-11 23:21:33 +00:00
Vinay Gannevaram
91936643d4 Add OuiKeyed Data to Aware AIDL APIs including enable,
publish, subscribe, nan pairing request and match events.

Bug: 296069900
Test: m

Change-Id: I064223e207e16b0ca24f089a9486b649a59ad1f8
2023-12-11 22:00:26 +00:00
Kai Shi
df7736245f Add capability bit for the cached scan data feature
Test: compilation
Bug: 269485350
Change-Id: I94fe5ae67a777bec955794ccd4dba7ea43b3c9aa
2023-12-11 11:50:21 -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
Les Lee
94378bed55 Merge "wifi: Supports new feature flag about Voip mode" into main 2023-12-09 00:48:08 +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
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
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
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
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
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
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
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
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
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
Ryan Prichard
3e5ee9a6e6 Merge "Undefine NAN before defining it again" into aosp-main-future am: 236bbe3305
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24685603

Change-Id: I69ab8927b8f8b4fc4ad559c9a65a8f4a58a4e893
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 21:23:50 +00:00
Gabriel Biren
7373343a1a Check for null pointers in all public
methods in wifi_aidl_test_utils.

Bug: 298747174
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
            VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: I042f024a30f3afb1425816c350fddf98fbe526ef
2023-09-07 20:46:43 +00:00
Ryan Prichard
99a4f3cf62 Undefine NAN before defining it again
After upgrading libc++, math.h happens to be included at the point
where this file tries to define NAN. Redefining a macro to a different
value is an error, but #undef'ing a macro is OK even if the macro isn't
actually defined.

Bug: b/175635923
Test: treehugger
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dd390faa2fcb49ce0e0ebc6ef180118ec370f957)
Merged-In: Ie8e3e87189bcd7ed8fccccfc0a79e04a5bfda16b
Change-Id: Ie8e3e87189bcd7ed8fccccfc0a79e04a5bfda16b
2023-09-07 01:41:11 +00:00
Ryan Prichard
dd390faa2f Undefine NAN before defining it again
After upgrading libc++, math.h happens to be included at the point
where this file tries to define NAN. Redefining a macro to a different
value is an error, but #undef'ing a macro is OK even if the macro isn't
actually defined.

Bug: b/175635923
Test: treehugger
Change-Id: Ie8e3e87189bcd7ed8fccccfc0a79e04a5bfda16b
2023-08-31 19:32:59 -07:00
Mahesh KKV
49d750c25c Merge "Fix Legacy to AIDL conversion for link state" into udc-qpr-dev am: d7175ec8e7 am: cafe6e94ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24513722

Change-Id: I3182824b6efe5c24471717e081a14cfd4b9b2ced
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 01:07:55 +00:00
maheshkkv
236b04d3c3 Fix Legacy to AIDL conversion for link state
Bug: 296807191
Test: hardware/interfaces/wifi/aidl/default/tests/runtests.sh
Change-Id: Iea60d7894b22558b386f62a77ff43aa374b6c40f
2023-08-22 17:52:00 +00:00
Gabriel Biren
df4463b3b5 Merge "Use a 64-bit instance of 0x1 when creating the event bitmask." into udc-qpr-dev am: 140534a783 am: dc53a4ca8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24058886

Change-Id: I0bad0dfa93843579fc80668ef927b157af71ae67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 00:53:31 +00:00