Commit graph

227 commits

Author SHA1 Message Date
Gabriel Biren
b46f53270a Handle additional WifiBand cases in
convertAidlWifiBandToLegacy.

Several cases related to 6 Ghz are
not currently handled.

CL is adapted from aosp/3015819
which was developed for HIDL.

Bug: 331453855
Test: m
Change-Id: Ide86ef46eb6fbe3c4dd8648230ad5bf8a8112203
2024-04-03 21:11:41 +00:00
Yuyang Huang
8b3add91f9 Merge "Adapt CheckApfIsSupported for VSR-15 compatibility" into main am: b959192690 am: 0e8bea62dd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2968205

Change-Id: Ibd8f85dd63176654c2bc2d031a980011ec3deccf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-25 07:24:24 +00:00
Yuyang Huang
b959192690 Merge "Adapt CheckApfIsSupported for VSR-15 compatibility" into main 2024-03-25 06:51:10 +00:00
Treehugger Robot
dfaf902393 Merge "Update APF VTS for VSR-14 compliance" into main am: f3f6e5b2cd am: 46836057e0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3005171

Change-Id: I1834a81572bddebcc35ccd227aaa6409fc54ee61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-23 02:08:00 +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
Mahesh KKV
10d39ed58b Merge "Revert^2 "Add an explicit TWT register events call"" into main 2024-03-12 21:19:27 +00:00
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
9b8517390e Merge "Revert "Add an explicit TWT register events call"" into main 2024-03-08 07:44:54 +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
25a143758a Merge "Add an explicit TWT register events call" into main 2024-03-08 04:49:52 +00: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
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
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
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
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
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
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
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
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
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
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
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
Vinay Gannevaram
870da833b6 RTT: Add OuiKeyedData List in ranging APIs
Add vendor data in ranging API and event as OuiKeyedData List.

Bug: 296069900
Test: m
Change-Id: Ifaf8c3f49624cbf8c760157d329c2e022935a9c3
2024-01-04 20:45:37 +00:00
Mahesh KKV
ea414bf237 Add number of spatial streams for 11az results
Bug: 317922145
Test: m
Change-Id: I28bedde8e5ffc5c34c9f8b26ee4a3ae06974a481
2024-01-02 20:16:12 -08:00
Hung-ying Tyan
8608726f1e Merge "Revert "Set min_sdk_version:34"" into main 2023-12-28 10:16:17 +00:00
Mahesh KKV
d710e2ab84 Merge "Update TWT related comments" into main 2023-12-28 00:12:36 +00:00
Priyanka Advani
b8a16f8b92 Revert "Set min_sdk_version:34"
Revert submission 25624362-persistable-bundle-hack

Reason for revert: Likely culprit for b/317912559

Reverted changes: /q/submissionid:25624362-persistable-bundle-hack

Change-Id: I785a66a9542f9798ec89d2b85059db68c9ce8130
2023-12-28 00:07:56 +00:00
Mahesh KKV
e3ee7500f3 Update TWT related comments
Bug: 317805772
Test: m
Change-Id: I29800e8ecbbce245d2038eb098890b8b2c1ecbf1
2023-12-27 15:16:00 -08:00
Gabriel Biren
882d7079d1 Merge "Address ANAPIC feedback for Supplicant V3 and Vendor HAL V2." into main 2023-12-27 21:28:36 +00:00
Gabriel Biren
f8e4a123d8 Address ANAPIC feedback for Supplicant V3
and Vendor HAL V2.

Comments addressed include:
- Indicate version where methods were
  deprecated.
- Bitmasks should use an int rather
  than an enum.
- Use 'us' suffix instead of 'micros'
  for consistency with the rest of
  the interface.

Bug: 317404786
Test: m
Change-Id: I026479aaa3f358913f61c6505ff9dccb0edc5ae8
2023-12-27 00:46:04 +00:00