Commit graph

1933 commits

Author SHA1 Message Date
Mahesh KKV
3375df8b11 Revert^2 "Add an explicit TWT register events call"
Revert submission revert-26139993-wifi_twt_register_events-BHPFTTCQRF

Reason for revert: Build issue (Bug: 328706639) on target adt4-trunk_staging-userdebug , project 'platform/hardware/amlogic' was due to an incorrect inclusion of wifi_hal.h. The fix (Bug: 328781057) is merged.

BUG: 329101606
Test: Build on adt4-trunk_staging-userdebug

Reverted changes: /q/topic:revert-26139993-wifi_twt_register_events-BHPFTTCQRF

Change-Id: I6210bd14c32feafd6b45493307b604584524ff50
2024-03-11 17:57:02 +00:00
Cindy Lin
8d98f3bd99 Revert "Add an explicit TWT register events call"
Revert submission 26139993-wifi_twt_register_events

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.corp.google.com/builds/quarterdeck?branch=git_main-throttled-monitored&target=adt4-trunk_staging-userdebug&lkgb=11547652&lkbb=11547886&fkbb=11547886, bug: 328706639

BUG: 328706639

Reverted changes: /q/submissionid:26139993-wifi_twt_register_events

Change-Id: I35ad8f55151ca0a93368c425ee85373120ce211e
2024-03-08 06:40:56 +00:00
Mahesh KKV
6e37b45fd1 Add an explicit TWT register events call
Bug: 297481123
Test: m
Change-Id: Ib1644e391df30fa4b846b7e37d3aed6b15a85e67
2024-03-01 11:51:22 -08:00
Devin Moore
9eec1433fa Merge "Vendor API level 202404 is now frozen" into main 2024-02-29 17:14:40 +00:00
maheshkkv
fb0bc0ad2d Add vts test for TWT
Bug: 326998176
Test: atest VtsHalWifiStaIfaceTargetTest
Change-Id: I8efae781963d1e3bec26a2fcc73e174ccbf16f2f
2024-02-26 18:02:40 -08:00
maheshkkv
4fc10f2f75 Add vts test for 802.11az NTB ranging
Bug: 295619650
Test: atest VtsHalWifiRttControllerTargetTest
Change-Id: I9092aa2c020bf2a4ef9082b34eac096d10aecfd5
2024-02-26 14:15:39 -08:00
Kai Shi
c1f2146ebf Merge "Add VTS test for cached scan data" into main 2024-02-22 00:24:56 +00:00
Gabriel Biren
9f879c7634 Merge "Temporarily print the size of all variable-length fields in StaLinkLayerStats." into main 2024-02-22 00:21:55 +00:00
Gabriel Biren
be8a9382b6 Merge "Add VTS test for add/remove QoS policy with traffic characteristics." into main 2024-02-21 21:34:26 +00:00
Gabriel Biren
2ccf70f569 Temporarily print the size of all
variable-length fields in StaLinkLayerStats.

Will be used to verify whether
abnormally large instances of this class
can cause getLinkLayerStats to fail with
an IllegalArgumentException.

Bug: 324519882
Test: Manual test:
       1. Reboot device
       2. Connect to wifi
       3. Verify logged link layer stats
Change-Id: I9378c7e4c2befd98743eb0752fe00cd322110c0f
2024-02-21 19:18:33 +00:00
Gabriel Biren
4fe58519f6 Add VTS test for add/remove QoS policy
with traffic characteristics.

Bug: 319313500
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest
Change-Id: Ie3e270c210a0d29b98428418f2bbcade594784ba
2024-02-21 19:03:35 +00:00
Gabriel Biren
9f446c11f4 Merge "Add VTS test for the enable and disable MSCS methods." into main 2024-02-21 16:48:43 +00:00
Gabriel Biren
4683196e66 Merge changes I7be5207a,I2ef8fe52 into main
* changes:
  Add VTS tests for Vendor HAL and Hostapd structures which were extended to include vendor data.
  Move vendor data helper functions to wifi_aidl_test_utils.
2024-02-21 00:27:24 +00:00
Kai Shi
76fe5d7870 Add VTS test for cached scan data
Test: atest VtsHalWifiStaIfaceTargetTest
Bug: 269485350
Change-Id: Iff3523c424cd529115c3f5b49cec19120ae7b809
2024-02-20 14:16:24 -08:00
Devin Moore
a8efdb127e Vendor API level 202404 is now frozen
Ignore-AOSP-First: VINTF 202404 Finalization
Bug: 279809333
Test: build
Change-Id: Ie6d38d27a287e258c30516e0030ad8c931d06432
2024-02-20 21:05:23 +00:00
Yuyang Huang
cc02abaa54 Merge "Update VTS to exempt low-power TVs from APF" into main am: 37ad71f3ce am: 25ae719f23
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2957772

Change-Id: I8bdcf72ab57c15c9f98013751a01705501f4993e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-17 02:05:32 +00: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
Gabriel Biren
3c752e34fc Add VTS test for the enable and disable
MSCS methods.

Bug: 318008418
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest
Change-Id: Iddd25f89e65a8419e29454a77ab83d152296d34e
2024-02-16 01:52:39 +00:00
Gabriel Biren
15bc4492bf Add VTS tests for Vendor HAL and Hostapd structures
which were extended to include vendor data.

Bug: 322815584
Test: atest VtsHalWifiRttControllerTargetTest \
            VtsHalWifiNanIfaceTargetTest \
            VtsHalHostapdTargetTest
Change-Id: I7be5207aa5f6e49863ba516bed1cbba3fdfaa271
2024-02-16 01:04:26 +00:00
Gabriel Biren
7c52c76cb2 Move vendor data helper functions to
wifi_aidl_test_utils.

Allows these methods to be used for
VTS tests across all Wifi HAL services.
Previously, they were only available to
the Supplicant tests.

Bug: 322815584
Test: atest VtsHalWifiSupplicantStaNetworkTargetTest \
            VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: I2ef8fe528aa35bc2109a0f845432dec88962f21b
2024-02-15 21:46:24 +00:00
Ronish Kalia
e9712ac7f1 [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,
<add g3 doc link>

Bug: 304529413
Test: N/A
Change-Id: Ia656d4d37c9219c4ef25fb6739c7410a0ded216b
2024-02-14 14:23:20 +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
Sunil Ravi
c3c7cf4a65 Add VTS test for addGroupWithConfigurationParams
Bug: 322815584
Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: I288439d461fe0d710489d16daf5e888d0f00f71f
2024-02-12 19:04:00 +00:00
Gabriel Biren
60640c06b3 Merge "Add VTS tests for all new Supplicant APIs that contain vendor data." into main 2024-02-08 17:52:36 +00:00
Treehugger Robot
c78f9f21f6 Merge "[DON'T BLOCK] Test ownership migration rules" into main am: 27e97308c4 am: 74dc4cc5d7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2950589

Change-Id: I9a26bb26763d77e109f1d911d0ea7c95f632703f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 02:26:27 +00: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
Gabriel Biren
57e748c979 Add VTS tests for all new Supplicant APIs that
contain vendor data.

Bug: 322815584
Test: atest VtsHalWifiSupplicantStaNetworkTargetTest \
            VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: I63026b9f970c02b20e6b368c742624fad5d51041
2024-02-01 21:59:15 +00:00
Steven Moreland
3f0bccf195 Merge "wifi: no rust by default" into main 2024-01-30 22:04:11 +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
Steven Moreland
e820be1fef wifi: no rust by default
for persistable bundle, since Rust is being made
the default now.

Bug: 321267339
Test: m
Change-Id: Ie877c015a7ba3ed3f596285d5cfae9049c663dbd
2024-01-30 00:24:10 +00:00
Treehugger Robot
1e47650d72 Merge "Add v3 filepaths to baseline" into main 2024-01-30 00:17:32 +00:00
Cole Faust
ed19d8e4f3 Add v3 filepaths to baseline
After finalization, v3 will exist and get NewApi errors.

Fixes: 322802379
Test: presubmits
Change-Id: I526e940777a6868e5de16af7442ba5de9a43fbe7
2024-01-29 14:38:51 -08:00
Gabriel Biren
057de7cf35 Add VTS tests for findWithParams and
connectWithParams.

Bug: 322815584
Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: I58c59d045f2fbe5af4101d152a487954e8e16bd5
2024-01-29 19:22:18 +00:00
Treehugger Robot
5c03f36eec Merge "Rename mDNS offload feature name" into main am: d6650e5b33 am: 9b468b82df
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2919320

Change-Id: Id771a61b7a92eb90ca3b1ba35a3665a5dc7b8d5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-22 19:34:24 +00: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
Sunil Ravi
4236f3b063 Merge "Add p2p methods for add group, go Negotiation and Invitation" into main 2024-01-13 04:44:48 +00:00
Vinay Gannevaram
338dbe0046 Add p2p methods for add group, go Negotiation and Invitation
Add addGroupWithParams, onGoNegotiationRequestWithParams and
onInvitationReceivedWithParams to P2P Supplicant interface with
vendor data as an optional parameter. Also deprecates the previous
addGroup, onGoNegotiationRequest and onInvitationReceived.

Bug: 296069900
Test: Build successfully
Change-Id: I475df52fe087aff39728e2567583b48b7484a7ee
2024-01-13 00:16:38 +00:00
Treehugger Robot
efe81b72e9 Merge "APF exempt list for TVs to use hardware feature" into main am: 23776d5001 am: 0776fdb744 am: 1f7d802d7a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2906619

Change-Id: I43fc647866b438e9f6859807dca020e546ec30fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 07:32:19 +00:00
Treehugger Robot
d169122297 Merge "Wifi: Modified API for addGroupWithConfig" into main 2024-01-12 05:27:51 +00:00
Sunil Ravi
fda43ac86a Wifi: Modified API for addGroupWithConfig
Deprecated the existing addGroupWithConfig API
which is used to setup a P2P group owner or join a group as a group client
with the specified configuration(SSID, password, band/group). Added a new modified API called
addGroupWithConfigurationParams to include the authentication key
management used to setup a connection.

Bug: 297426719
Test: Build successfully
Change-Id: Iafc692bbbaac9f4d98f5983951dc87dc4438988a
2024-01-11 23:14:27 +00:00
Treehugger Robot
cadbe176ec Merge "Baseline NewApi issues" into main 2024-01-11 18:54:37 +00: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
Cole Faust
2424cc007d Baseline NewApi issues
NewApi is a lint check that you don't call framework methods that were
introduced in versions later than your min_sdk_version. We want to
make this an error, so we're baselineing all existing issues.

This cl was generated automatically, by taking all the NewApi issues
from the reference baselines, and all the non-NewApi issues from the
existing checked in baselines.

Bug: 268261262
Test: Presubmits
Change-Id: I3e4bcd76bad422513d48712303ce5c857511d9be
2024-01-10 12:30:37 -08:00
Treehugger Robot
d7e1cc02e2 Merge changes Icfaa316b,Ic26706d7 into main am: 671b88bf73 am: 02e41b2f79 am: 8dbed42cc2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2902174

Change-Id: Ie16491def9f79c79e1cf1061461a95858191d008
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 00:12:00 +00:00
Treehugger Robot
7d9413620e Merge "Make apex availability to com.android.wifi explicit" into main am: 73d544063c am: 9f19956f46 am: ecee1fe07f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2898709

Change-Id: I18c674431402c789254f634239a2fea24ad01e64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-09 22:48:33 +00:00
Treehugger Robot
671b88bf73 Merge changes Icfaa316b,Ic26706d7 into main
* changes:
  Add missing libc++ includes
  No need to modify acc for std::accumulate
2024-01-09 22:23:55 +00:00
Tomasz Wasilczyk
4891ece5c6 Add missing libc++ includes
Bug: 175635923
Test: m MODULES-IN-hardware-interfaces-wifi
Change-Id: Icfaa316bb50b680a2c03c3d818f6ae01860dd334
2024-01-09 12:30:51 -08:00
Spandan Das
9a21c4162c Make apex availability to com.android.wifi explicit
This is done implicitly today via a baseline map in
build/soong/apex/apex.go. Make this explicit in Android.bp

Bug: 281077552
Test: m nothing
Change-Id: I71d9a6ce9707557f8e7652adc7afa3292ef9188d
2024-01-06 00:01:41 +00:00