Commit graph

1941 commits

Author SHA1 Message Date
Xin Li
64e598ce2b Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I53a278f1317f5307441103dc42dc5be6f20d7075
Change-Id: I3a53ebf7339cdb886d3c1b733b8eee1847f8832a
2024-05-24 08:28:04 -07:00
Jiawei Li
73e55bdbcf Update VTS SupplicantStaIfaceAidlTest#SetCountryCode to US
Bug: 323694622
Bug: 334053791
Test: VTS SupplicantStaIfaceAidlTest
Change-Id: Idad4127ce26188145c7b07d60d5e6ce40a80aa5b
2024-04-13 01:07:31 +00:00
Gabriel Biren
97e48aa122 Copy legacy HAL header files to the wifi
interface directory.

No-Typo-Check: Unable to update misspelled variables
BYPASS_INCLUSIVE_LANGUAGE_REASON=Moving legacy code

Bug: 271177978
Test: atest VtsHalWifiChipTargetTest \
            VtsHalWifiStaIfaceTargetTest \
	    VtsHalWifiApIfaceTargetTest \
	    VtsHalWifiNanIfaceTargetTest \
	    VtsHalWifiRttControllerTargetTest
Change-Id: I9329c2bc8c816299cabacb4c3702a20b0056929f
2024-04-02 18:12:31 +00:00
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
Gabriel Biren
8089ad4d8d Merge "Populate legacy HAL stub for wifi_virtual_interface_create_with_vendor_data." into main 2024-03-04 18:50:42 +00:00
Ahmed ElArabawy
861fe9493b Merge "Add VTS for roaming mode control" into main 2024-03-01 07:33:00 +00:00
Devin Moore
9eec1433fa Merge "Vendor API level 202404 is now frozen" into main 2024-02-29 17:14:40 +00:00
Stephanie Bak
de9703870d Add VTS for roaming mode control
Bug: 269196966
Change-Id: I254254ddae535cd7822e6797773e984047359814
Test: atest VtsHalWifiStaIfaceTargetTest
2024-02-28 23:58:48 +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
Gabriel Biren
2586aa7676 Populate legacy HAL stub for
wifi_virtual_interface_create_with_vendor_data.

Bug: 296069900
Test: m
Change-Id: I11bf4413cd2484e033443cdb10bec16f4ef01c20
2024-02-26 19:30:42 +00: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