Commit Graph

1948 Commits

Author SHA1 Message Date
Kiyoung Kim
4a518d2e1e Reapply "Define vintf_fragments as modules"
Previous commit was reverted as it removed wifi vintf fragment from
devices, which was caused by 'no_full_install' property from
vintf_fragment module. This change relands the change, with removing
no_full_install property from the vintf_fragment module

Bug: 322089980
Test: aosp_cf_x86_64_phone build succeeded
Test: mokey_go32 build contains
/vendor/etc/vintf/manifest/android.hardware.wifi.supplicant.xml file

Change-Id: I523ce570068b180805b65f984a0d6def0612db87
2024-09-04 15:55:29 +09:00
Greg Kaiser
3892274102 Revert "Define vintf_fragments as modules"
This reverts commit cf0a2dd5b0.

Reason for revert: b/363215494, breaks WiFi for at least some devices

Change-Id: I5137957087dde51c0049416404f410f53dd912f3
2024-08-30 14:07:37 +00:00
Kiyoung Kim
cf0a2dd5b0 Define vintf_fragments as modules
Define vintf_fragments as modules if the file is shared among multiple
modules to avoid any conflicts.

Bug: 322089980
Test: aosp_cf_x86_64_phone build succeeded
Change-Id: I1d00623e3e6da6bb787a152d81eb94822153388f
2024-08-12 15:31:10 +09:00
chao.meng
c0e563b841 add filegroup for wifi aidl/nlinterceptor
Change-Id: If8eb343f5a73d99a99c2f47c4ee8223b78088e48
2024-07-22 13:43:36 +08:00
yangbill
6b133de58c Remove hardware/interfaces/wifi/supplicant/1.1/vts/Android.mk
There's no other Android.mk under hardware/interfaces/wifi/supplicant/1.1/vts/

Bug: 347649742
Test: m VtsHalWifiSupplicantV1_1TargetTest
Change-Id: Id64bab8b4522c7240af7692b3782a53a7d64f10a
2024-06-19 05:45:30 +00:00
Yuyang Huang
d15c47ae40 Merge "Add @VsrTest annotations to CheckApfIsSupported" into main am: 0b32bfcd6c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3116046

Change-Id: Iefdd501cabf6a596e59d019d70531f7f9b6a570a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 14:53:10 +00:00
Yuyang Huang
904cbb7cac Add @VsrTest annotations to CheckApfIsSupported
Bug: 303356901
Test: TH
Change-Id: I9d6e3ddcef042e39df8d91f68747fddcbd705573
2024-06-06 16:28:15 +09:00
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