Commit graph

1603 commits

Author SHA1 Message Date
Steven Liu
c276eafd3a Notify the AT_PERMANENT_ID_REQ is denied from peer.
Bug: 239710602
Test: atest VtsHalWifiSupplicantStaNetworkTargetTest
Change-Id: Ib21d601cc980505d7cb60091ec1dd88a579d9738
2022-12-06 20:16:41 +00:00
TreeHugger Robot
b51f4c577b Merge "Add HAL API to support conservative mode for EAP-SIM/AKA/AKA'" 2022-12-06 01:26:52 +00:00
Mahesh KKV
9cb9424e1f wifi: Notify MLO Link status updates
Add a callback to notify MLO link status changes due to
- Multi-Link Reconfiguration (AP Removal)
- TID to link mapping updates

Bug: 247119055
Bug: 248289182
Test: mm -j

Change-Id: I1010cfb3ef608466a46d54e1ef2ae4e665504210
2022-12-02 14:02:50 -08:00
Mahesh KKV
f0bd8c223f wifi: Add TID to link mapping support
TID-to-link mapping, which is introduced in IEEE 802.11be standard
allows an Access Point and a Station to determine how uplink and
downlink QoS traffic corresponding to TID values between 0 and 7 will be
assigned to the setup multi links.

This commit adds an interface to TID-to-link mapping in existing MloLink
AIDL.

BUG: 247119055
Test: mm -j
Change-Id: I3ef6e37d9857606020a8e0580c82ca8ab1b8bf82
2022-12-02 14:02:50 -08:00
Gabriel Biren
f3262f970d Add AIDL implementation for the vendor HAL service.
Bug: 205044134
Test: Pass AIDL VTS tests and regression tests.
Change-Id: Iad04ce01f71fc220443e05a4be05d7d5545227e8
2022-12-02 14:01:50 -08:00
Gabriel Biren
631a8118d7 Revert "Convert vendor HAL service to use new AIDL interface."
This reverts commit e58e263bce.

Reason for revert: Blocking Wembley team

Change-Id: I3cf471e88b880a95a0a2c39f47fb0804deee65cf
2022-12-01 22:29:32 +00:00
Gabriel Biren
e58e263bce Convert vendor HAL service to use new AIDL interface.
Bug: 205044134
Test: Pass AIDL VTS tests and regression tests.
Change-Id: I286ffbf67efddc6c34d34ebd9e9bd9f36139c962
2022-11-28 18:29:23 +00:00
Steven Liu
9ff9db4635 Add HAL API to support conservative mode for EAP-SIM/AKA/AKA'
Bug: 239710602
Test: atest vts
Change-Id: Ic2d0d8453cff79c4242c1d701b36c482146a701f
2022-11-26 18:22:36 +00:00
TreeHugger Robot
1f5dec26ef Merge "wifi: new state change HAL callback with current used key management mask" 2022-11-22 18:50:09 +00:00
Jimmy Chen
d7ed5ae3f9 wifi: new state change HAL callback with current used key management mask
Bug: 230766005
Test: atest vts
Change-Id: I9a9d85df53fe615f89a448f8ece16c6cbfbf6dee
2022-11-16 13:36:34 +08:00
Jimmy Chen
67ebabc6ae wifi: EAP minimum TLS version API
Bug: 160819609
Test: atest VtsHalWifiSupplicantStaNetworkTargetTest
Change-Id: I33e8d2f36e63560d6e084a5dcc78e89077486c0c
2022-11-16 09:40:14 +08:00
Biswarup Pal
76514ebd34 Add HAL API to pass GO interface MAC address in GC from supplicant
The GO interface MAC address would be used to calculate the link-local
IPv6 address of the GO in the GC side.

Test: m
Bug: 233912758
Change-Id: I8cdae90a2703d446dafbdfba8f99c191b751f552
2022-11-15 09:55:00 +00:00
kensun
a7e0a83c0e Add HAL APIs to query cached scan results
Add HAL API to retrieve the on-chip scan results.

Bug: 232030878
Test: New API works fine
Change-Id: I159aec819959e4ad020ee0d44c8110fe34d451b0
2022-11-10 02:26:50 +00:00
Jaewan Kim
7df5c1c345 Disable verbose nlinterceptor log
Test: No verbose log on Cloud Android with Wi-Fi is turned on
Bug: 256518068
Change-Id: I062e698b64114f139997cd24b16f90dd52048247
2022-11-01 08:34:56 +09:00
Etan Cohen
742354a2a4 Merge "Coalesce OWNERS" am: c1c823a9c1 am: 01c4d7fc07 am: d84cfa698b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2260625

Change-Id: I6f97891fbf8069fdbe3f65be1f2848f6ec648ce3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-22 19:54:55 +00:00
Etan Cohen
b65ff31684 Coalesce OWNERS
Bug: N/A
Test: N/A
Change-Id: Ia603a0cc323e65903f8de6a04ce1dd82407f012d
2022-10-19 04:06:09 +00:00
Gabriel Biren
336c45c95d Merge "Add a null pointer check for wifi_chip in configureChipToSupportIfaceTypeInternal." am: 46417dd857 am: eb25ad2692 am: fc9f86a157
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2256003

Change-Id: I474e0c383db003edf0a046f41810bf1b5fb0f1de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-18 18:30:12 +00:00
Gabriel Biren
b1c2d07e4e Add a null pointer check for wifi_chip in
configureChipToSupportIfaceTypeInternal.

Bug: 253411345
Test: atest VtsHalHostapdTargetTest
Change-Id: Ieb6de7311de8d98742e302b35196bee7fa7661ed
2022-10-17 16:25:07 +00:00
Kenn Frankel
22f5a24b17 Merge "AOSP counterpart of wifi hal apex" am: 2b49939f33 am: fad5dead0f am: 763c1896ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2239855

Change-Id: I35e09988ea1a8fceb6de20e31e731261e0d4c4c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14 02:56:05 +00:00
Kenn Frankel
e85de1d957 AOSP counterpart of wifi hal apex
Bug: 247018693
Test: CtsWifiTestCases
Change-Id: I5deb95b4cc0c1075f65bc809ca256df91ce9a9bb
2022-10-07 22:13:38 +00:00
Treehugger Robot
ad4f2563a9 Merge "Disable some sanitizers on libnlinterceptor targets." am: 481337da0a am: 8f467b85c4 am: 1813415c3f am: a6fb0adec5 am: d80d2df338
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2239862

Change-Id: I708d62dd47a7be9b9b5a60992a568fd8264623ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 01:02:54 +00:00
Peter Collingbourne
f10ee08f84 Disable some sanitizers on libnlinterceptor targets.
ASan is not meant to be enabled in production binaries, and the fuzzer
"sanitizer" is only intended to be used with fuzz targets. So disable
both of them.

Change-Id: Ice7d8d3fd6621077d485b430d9e06fb3ba240e87
2022-09-30 18:08:28 -07:00
Les Lee
3ba02e052b wifi: Two AP instances use the same interface name
When device supports two AP interfaces (i.e. {AP, 2}. not a bridged case),
the AP interface name might be observed from the getPredefinedApIfaceNames.
Check if the interface name is used or not when creating a new interface.

Bug: 244387442
Test: Manual test by commands
adb shell cmd wifi start-softap tetheredAp open -b 2
adb shell cmd wifi start-lohs lohs open -b 5

Change-Id: I59b3796895ee09452a9650c4dc138ad9e143282e
2022-09-08 02:02:22 +00:00
Treehugger Robot
08f3ea9e97 Merge changes from topic "cp-libwifihal-soong"
* changes:
  Build libwifi-hal-* modules only for the first arch
  android.hardware.wifi@1.0-service in soong
2022-08-22 02:30:56 +00:00
donghongweng
3e559f9c05 Fix unqualified-std-cast-call compiler warning am: f533ccb14e am: e3b2140f84 am: 930c93ed76 am: 599f7c0175 am: fd470c4c62
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2184585

Change-Id: I37a50edec8e523ca4ed68e8b5534248670de72f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 07:45:20 +00:00
donghongweng
f533ccb14e Fix unqualified-std-cast-call compiler warning
Test: m
Change-Id: I403ce701846a3d3582e1dfa5557fe981e86f2140
2022-08-17 15:49:59 +08:00
Jiyong Park
46afe63eaf Build libwifi-hal-* modules only for the first arch
Previously, the build rules assumed that the target supports both 64 and
32 bit architectures, which isn't true for 32-bit-only targets. That
caused build breakage on such targets. Fixing that by building the
modules only for the first architecture (64 on 64-only or 64/32 target,
and 32 on 32-only target).

Bug: 241916304
Test: build the 32-bit-only target
Merged-In: I5353ab1561622eae12e2dff87eb0f17b47c3773d
Change-Id: I5353ab1561622eae12e2dff87eb0f17b47c3773d
(cherry picked from commit 3ab5c90104)
2022-08-17 16:41:19 +09:00
Jooyung Han
1e6cdac0bc android.hardware.wifi@1.0-service in soong
As libwifi-hal is migrated to soong, the service is migrated to soong as
well.

Bug: 240099735
Test: CtsWifiTestCases
Merged-In: Ie5a4ec6658d5f6aa3d4902c9c3c4b3bef9ff1cde
Change-Id: Ie5a4ec6658d5f6aa3d4902c9c3c4b3bef9ff1cde
(cherry picked from commit c4ac3355a6)
2022-08-17 16:41:10 +09:00
Jiyong Park
3ab5c90104 Build libwifi-hal-* modules only for the first arch
Previously, the build rules assumed that the target supports both 64 and
32 bit architectures, which isn't true for 32-bit-only targets. That
caused build breakage on such targets. Fixing that by building the
modules only for the first architecture (64 on 64-only or 64/32 target,
and 32 on 32-only target).

Bug: 241916304
Test: build the 32-bit-only target
Change-Id: I5353ab1561622eae12e2dff87eb0f17b47c3773d
2022-08-12 13:42:56 +09:00
Jooyung Han
c4ac3355a6 android.hardware.wifi@1.0-service in soong
As libwifi-hal is migrated to soong, the service is migrated to soong as
well.

Bug: 240099735
Test: CtsWifiTestCases
Change-Id: Ie5a4ec6658d5f6aa3d4902c9c3c4b3bef9ff1cde
2022-07-25 17:53:35 +09:00
Gabriel Biren
23ffe48a55 Merge "Add WiFi Vendor HAL AIDL interface definitions." am: 1bdfe39266 am: c75dd7f4bb am: f657125ec7 am: 35d8198274 am: 3c1e51ebd3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2078202

Change-Id: Iced875c4506795405bcc5353def89711185c45b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 17:58:39 +00:00
Gabriel Biren
c75dd7f4bb Merge "Add WiFi Vendor HAL AIDL interface definitions." am: 1bdfe39266
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2078202

Change-Id: Icf2fb7abdd0cb0fe825e70ea03fcd51686bf2c09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 16:27:09 +00:00
Gabriel Biren
1ddc35a98f Merge "Add logic to the EnableMacRandomization VTS test to check whether mac randomization is enabled." 2022-07-14 16:12:02 +00:00
Gabriel Biren
1bdfe39266 Merge "Add WiFi Vendor HAL AIDL interface definitions." 2022-07-14 16:10:58 +00:00
Gabriel Biren
910d5df56b Add WiFi Vendor HAL AIDL interface definitions.
Bug: 205044134
Test: mm -j
BYPASS_INCLUSIVE_LANGUAGE_REASON=HE refers to high-efficiency.

Change-Id: I757f36feca9f30ad5e04204b7b0fd4caee63cabc
2022-07-08 18:15:00 +00:00
Gabriel Biren
337406a5c2 Add logic to the EnableMacRandomization VTS test to
check whether mac randomization is enabled.

Bug: 235182238
Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: I1b16da1ee07f98caf6b90ded1bae51b6b7cc8c1a
2022-07-07 18:00:32 +00:00
Les Lee
ef173b29c2 resolve merge conflicts of 155f20a6cd to android12-tests-dev am: 559df942c8 am: a7ce9003ed am: 45263c60fa am: 2edd0e9db6 am: 830175321b am: 01b93be75c am: b520b3555f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2141153

Change-Id: I162bae22aa97e5096c00b7e3750896d401f1c645
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-01 06:45:58 +00:00
Les Lee
2edd0e9db6 resolve merge conflicts of 155f20a6cd to android12-tests-dev am: 559df942c8 am: a7ce9003ed am: 45263c60fa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2141153

Change-Id: I96b950e95d8e7295f6f8d65a8116eba8537d45f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-01 05:20:53 +00:00
Les Lee
45263c60fa resolve merge conflicts of 155f20a6cd to android12-tests-dev am: 559df942c8 am: a7ce9003ed
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2141153

Change-Id: Ia0adbb9811961ec400326a3e11a0cc0168e8e0c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-01 05:05:07 +00:00
Les Lee
a7ce9003ed resolve merge conflicts of 155f20a6cd to android12-tests-dev am: 559df942c8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2141153

Change-Id: Id18ad120af3812f613b9b14888b96e4e90b50cfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-01 04:48:29 +00:00
Chris Ye
04b7d70609 Merge "Enable the tracing for Wifi supplicant and hostapd HAL." am: 235abdf23c am: 0fa30da096 am: 3b9f5d2553 am: 96f1efb831 am: e421a8e872
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2140840

Change-Id: I4838fb76ed9465b65299bf033266b11ad3a45205
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-30 19:07:03 +00:00
Chris Ye
0fa30da096 Merge "Enable the tracing for Wifi supplicant and hostapd HAL." am: 235abdf23c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2140840

Change-Id: I97d49a078c1ec0d811aa7a2ed438336d4fb1bf44
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-30 17:49:15 +00:00
Les Lee
559df942c8 resolve merge conflicts of 155f20a6cd to android12-tests-dev
Test: I solemnly swear I tested this conflict resolution.
Bug: 237593038
Change-Id: I6cce0869b6cce7b5e41b71c67991061e226bb305
2022-06-30 05:37:15 +00:00
Chris Ye
3a7840ba92 Enable the tracing for Wifi supplicant and hostapd HAL.
Bug: 237138934
Test: Manual test. Capture atrace with network tag turned on.
Change-Id: Ib982333ec31d4b9f2b6ec999823f08eeeb0ff587
2022-06-30 00:10:29 +00:00
Treehugger Robot
8656a87385 Merge "In supplicant VTS test setup, make sure that the wifi hal is stopped before starting wifi." into android12-tests-dev am: e6c80028af
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2128497

Change-Id: I9e39d4ed48c0dc653a9ee312021e6e80e351fe00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 03:08:47 +00:00
Jooyung Han
c3f8861bb8 Merge "Remove AIDL-libs from VNDK" 2022-06-20 01:15:09 +00:00
Gabriel Biren
9ea484ffc0 In supplicant VTS test setup, make sure that the
wifi hal is stopped before starting wifi.

Bug: 234853504
Test: atest VtsHalWifiSupplicantV1_0TargetTest # HIDL service
Change-Id: I413c3803a6607a72cc3aa8a5fa208551be1b1032
(cherry picked from commit bfe60cda4d)
2022-06-16 18:01:15 +00:00
Gabriel Biren
62671c90f1 Merge changes I9e06f025,I413c3803 am: 7b27d7bcc6 am: 380f7e1461 am: fcf7b3d82d am: d6c583fabb am: c315bdd501
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2126372

Change-Id: I63443f0f2dd770dc866fad4a5788bd7089faf1df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 17:59:08 +00:00
Gabriel Biren
fcf7b3d82d Merge changes I9e06f025,I413c3803 am: 7b27d7bcc6 am: 380f7e1461
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2126372

Change-Id: I8980679e592d921e136b1aedf64c88220fa711a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 16:46:23 +00:00
Gabriel Biren
99bb148510 Update supplicant AIDL VTS tests to use the new
version of stopWifiFramework().

Bug: 234853504
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
	    VtsHalWifiSupplicantP2pIfaceTargetTest # AIDL service
Change-Id: I9e06f025a5b6b44d6a6caf8362c64bd5a546e1ac
2022-06-15 00:04:50 +00:00
Gabriel Biren
bfe60cda4d In supplicant VTS test setup, make sure that the
wifi hal is stopped before starting wifi.

Bug: 234853504
Test: atest VtsHalWifiSupplicantV1_0TargetTest # HIDL service
Change-Id: I413c3803a6607a72cc3aa8a5fa208551be1b1032
2022-06-15 00:01:29 +00:00
Jooyung Han
d81d6a12be Remove AIDL-libs from VNDK
Some are still in VNDK because they are used in other VNDK libs.

Bug: 234181591
Test: m
Merged-In: If999df9c78a20df931177da11742b1c5de19bc08
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
2022-06-14 16:42:42 +09:00
Jooyung Han
c0b24f4f13 Remove AIDL-libs from VNDK
Some are still in VNDK because they are used in other VNDK libs.

Ignore-AOSP-First: some libs are still in internal master only.

Bug: 234181591
Test: m
Merged-In: If999df9c78a20df931177da11742b1c5de19bc08
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
(cherry picked from commit 5527adfd7f)
2022-06-14 14:08:59 +09:00
Les Lee
42147b7b5b wifi: create interface before running hostapd vts
Adding to support creating interface in hostapd vts.

Bug: 230008250
Test: 1. setprop ro.vendor.wifi.sap.interface swlan0
2. vts-tradefed run commandAndExit vts
--skip-all-system-status-check --primary-abi-only
--skip-preconditions --module VtsHalWifiHostapdV1_2Target
-l INFO

Change-Id: I483671cb01b68bc6f5ac4840c61b10f4c31f10e4
2022-06-07 10:17:30 +08:00
Jooyung Han
5527adfd7f Remove AIDL-libs from VNDK
Some are still in VNDK because they are used in other VNDK libs.

Ignore-AOSP-First: some libs are still in internal master only.

Bug: 234181591
Test: m
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
2022-06-02 17:43:19 +09:00
Sunil Ravi
20022e6e0e Merge "wifi: Clear ring bufffers on detecting buffer corruption" into tm-dev am: 60931f8ec6 am: 78ce85df3b am: 74a83dc69e am: d7f5e9d111
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18451407

Change-Id: Ieccb0de85deb38ccc1bfa269467113d9861234a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 06:13:37 +00:00
Sunil Ravi
07ef191b5a wifi: Clear ring bufffers on detecting buffer corruption
While appending the newly received buffer to ring buffer list,
check the size of the first buffer in the ring buffer list.
If it is invalid(zero size or exceeding the max allowed size),
return failure & clear all the ring buffers.

Bug: 232477451
Test: vts test - 1.6/default/tests/runtests.sh
Test: Manual - Ran basic wifi tests & checked bugreports

Change-Id: Iaa41262f534914b971fe178053f1974248a46e70
2022-05-23 11:20:57 -07:00
TreeHugger Robot
feb228ea96 Merge "Check and catch the callback transaction error" into tm-dev am: 1fd86d9b89 am: b6a3ac316d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17945762

Change-Id: I31432aa39b3b82b7133d97cc8c4bf4770a44250e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 03:27:28 +00:00
TreeHugger Robot
1fd86d9b89 Merge "Check and catch the callback transaction error" into tm-dev 2022-04-28 02:10:35 +00:00
Isaac Chiou
a184fed8c5 Merge "Add HAL APIs for TX power limits" into tm-dev am: 59878fddc9 am: fae09234ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17219203

Change-Id: I6110b3c7454e528f8e3c06c9d5972913dcb791d1
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 07:26:33 +00:00
Isaac Chiou
59878fddc9 Merge "Add HAL APIs for TX power limits" into tm-dev 2022-04-26 06:32:30 +00:00
Nate Jiang
95939ed300 Check and catch the callback transaction error
Bug: 230277359
Test: vts VtsHalWifiRttV1_6TargetTest
Change-Id: Ibcccd0d60d6907c95cfa95c0e55501248bc65e4b
2022-04-25 13:08:38 -07:00
Isaac Chiou
52afeb68e3 Add HAL APIs for TX power limits
To lower the instantaneous battery current draw of WiFi, we provide
a way to allow PowerManager to enable/disable Tx power limits.
In the legacy HAL, we call the API in Broadcom HAL to
enable/disable WiFi TX power limits.

Bug: 215193418
Test: New APIs work fine
Change-Id: I1fbe71c3380514e2eba96adc5902d2028a55e006
2022-04-21 11:20:44 +08:00
Jiyong Park
8065d19402 Freeze AIDL APIs for TM am: 70f5837e1f am: 9f7c8a1e57
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17753326

Change-Id: Ic29d57a4d099e472e2c88ba9cac77d7657aa958a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 16:47:16 +00:00
Jiyong Park
70f5837e1f Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: I61eb51c0334eb99489c6f1570110d7e18c350c99
2022-04-16 07:03:24 +09:00
Les Lee
cbdf2660dd Merge "wifi: Fix single AP iface isn't deleted" into tm-dev am: 3adf36824f am: 3d39f8aa85
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17652548

Change-Id: Ic01b23ac7fa073336e12806267fd569833549a02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-15 02:17:05 +00:00
Les Lee
3adf36824f Merge "wifi: Fix single AP iface isn't deleted" into tm-dev 2022-04-15 01:23:55 +00:00
Les Lee
5f29a4d847 wifi: Fix single AP iface isn't deleted
Bug: 222599182
Test: Manual Test, the AP iface is deleted.
Change-Id: I07faf0afcd1f69af4ef57204ceac02c2572453f2
2022-04-12 07:35:53 +00:00
Sunil Ravi
79233abcd5 Merge "wifi: Fix for returning wrong radio combinations matrix" into tm-dev am: b51d11fb6d am: 0a1dd60920
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17618828

Change-Id: I57cb45e8c62dc11df43dc0ace9d847a3359cbd50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:32:03 +00:00
Sunil Ravi
b51d11fb6d Merge "wifi: Fix for returning wrong radio combinations matrix" into tm-dev 2022-04-07 03:03:58 +00:00
Sunil Ravi
25c8c53725 wifi: Fix for returning wrong radio combinations matrix
Allocate memory in heap for carrying radio combinations matrix
from driver/firmware to wifi HAL.

Bug: 225764376
Bug: 225762955
Test: atest WifiChipHidlTest

Change-Id: I1049f7ab9f16a35a87b7cda34ba31797fde046e3
2022-04-06 05:32:27 -07:00
Jiyong Park
cf2bf1a1c1 Freeze AIDL APIs for TM am: 703e97920e am: 6965d70cec
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17314883

Change-Id: Ic25535c3e72cd1f9c75cd4bc2d1eed1b617603fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-02 01:07:38 +00:00
Jiyong Park
6965d70cec Freeze AIDL APIs for TM am: 703e97920e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17314883

Change-Id: Id3c165d4bf00ef348488ebf20da7bec66278287c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-02 00:47:11 +00:00
Jiyong Park
7faedf81a0 Merge changes from topic "aidl_freeze_tm" into tm-dev
* changes:
  Implement getInterfaceHash/Version for SoundTrigger
  Add -Wno-missing-permission-annotation for soundtrigger3
  V3 is the latest version of keymaster HAL interface
  Freeze AIDL APIs for TM
2022-04-02 00:15:20 +00:00
Chris Ye
dd07290bbc Merge "Fixed HostApd VTS test failure." into tm-dev am: bc43c2f896
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17457595

Change-Id: I92a83005fd9ac2a4a618af0b2cb91c7469ec30c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 16:38:45 +00:00
Chris Ye
bc43c2f896 Merge "Fixed HostApd VTS test failure." into tm-dev 2022-03-31 16:25:38 +00:00
Ahmed ElArabawy
064297b3e1 Merge "Replace instances of strncpy and sprintf in the wifi vendor HAL with strlcpy and snprintf." into tm-dev am: 98b2a2079c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17507356

Change-Id: I35df03b86e76b7459b4270f8eb83f73bf3a99d86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 04:09:50 +00:00
Jiyong Park
703e97920e Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: Ie41cc0797710f813f92c65c387f247c7806d8394
2022-03-31 12:01:39 +09:00
Gabriel Biren
11d4ab8f61 Replace instances of strncpy and sprintf in the wifi
vendor HAL with strlcpy and snprintf.

Bug: 218897284
Test: m
Change-Id: I0a62d1c5043cabcf6a513b8b082ad1d7a1ea451c
2022-03-31 00:10:29 +00:00
Chris Ye
c04af1c235 Fixed HostApd VTS test failure.
Add filed in hwModeParams.maximumChannelBandwidth for Non-ACS AP
interface.
Use HAL AP iface name instead of hardcoding constant.

Bug: 226872346
Test: atest VtsHalHostApdTargetTest
Change-Id: Ic5eacb99659a27cb18536a1c11f9027c13281862
2022-03-28 18:45:14 -07:00
Sunil Ravi
c3a63e11d7 Merge "wifi: Remove RxFilter Tests from VTS test suite" into tm-dev am: 4803336d43
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17305803

Change-Id: I0e1f872080d6fe8bb9cdb9221cde860589d43a0c
2022-03-22 17:19:37 +00:00
Sunil Ravi
4803336d43 Merge "wifi: Remove RxFilter Tests from VTS test suite" into tm-dev 2022-03-22 16:58:57 +00:00
Sunil Ravi
13c5375859 wifi: Remove RxFilter Tests from VTS test suite
APF is the latest packet filter supportered in Android.
So remove the tests related to deprecated RXFILTER
commands.

Bug: 217233384
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest
Change-Id: I1eb2558fe17f1f7e468440fb541aaadff215b542
2022-03-21 18:32:06 -07:00
Nate(Qiang) Jiang
a682a3be3c Merge "[VTS] test new API with success result" into tm-dev am: 791fe0542c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17211562

Change-Id: I4fe380a6d31de657508c4799abaa1fcf4de2541c
2022-03-18 20:40:36 +00:00
Chris Weir
64e3ec2155 Add clearPollErr to Socket
nlproxy gets stuck if a POLLERR is encountered, and I found a CL that
suggests the only way to clear the error is to recv (which should return
zero bytes in theory) on that socket.

Bug: 224850481
Test: nlproxy works
Change-Id: Ib1420ce542deeb35977223baf787bdee1b125110
2022-03-16 13:11:57 -07:00
Nate Jiang
76dd9336ad [VTS] test new API with success result
Bug: 222654265
Test: atest VtsHalWifiNanV1_6TargetTest
Change-Id: I2e25ddafa4bf9caf0110a35f328330329fab8581
2022-03-15 16:41:21 -07:00
Chris Weir
3b825489f2 Merge "Fix VtsHalNetlinkInterceptorV1_0Test" 2022-03-09 20:53:24 +00:00
Chris Weir
c5131093b1 Fix VtsHalNetlinkInterceptorV1_0Test
Move library dependencies to static_libs to fix linker error when
running with ABI=armeabi-v7a

Bug: 222019884
Test: atest VtsHalNetlinkInterceptorV1_0Test -- --abi armeabi-v7a
Change-Id: I3566f1898b3b3fe89fcb69563b1dbd93789135dd
2022-03-08 20:20:01 +00:00
Chris Weir
975ff6b2f2 Fix VtsHalNetlinkInterceptorV1_0Test
Move library dependencies to static_libs to fix linker error when
running with ABI=armeabi-v7a

Bug: 222019884
Test: atest VtsHalNetlinkInterceptorV1_0Test -- --abi armeabi-v7a
Change-Id: I3566f1898b3b3fe89fcb69563b1dbd93789135dd
2022-03-08 11:00:18 -08:00
Sunil Ravi
5cfd323e13 wifi: VTS test for getSupportedRadioCombinationsMatrix
This change added,
1. VTS test for getSupportedRadioCombinationsMatrix()
2. Skip test for getUsableChannels_1_6 if vendor doesn't
support

Bug: 220201314
Bug: 221389141
Bug: 220225758
Test: atest WifiChipHidlTest
Change-Id: I5ddbd4be68d74f1fa26584c94d5b10211261cc1a
2022-03-01 20:42:23 +00:00
Nate Jiang
d7bad8cf80 [VTS] Add test for new HAL API
Bug: 220222961
Test: vts VtsHalWifiNanV1_6TargetTest
Change-Id: Ibcc4cc00c21e553a68bb69946497acad79b273f3
2022-02-28 15:57:13 -08:00
Nate Jiang
eac80de7c3 [VTS] fix getCapabilitiesRequest_1_5 issue
Bug: 218970943
Test: vts VtsHalWifiNanV1_5TargetTest
Change-Id: I4188134b9a02930661ca8c1ea7f6c5a153b87b33
2022-02-28 11:08:43 -08:00
Quang Luong
25dc0afe39 Merge "Add VTS test for V1_6::IWifiChip::getAvailableModes_1_6" into tm-dev 2022-02-25 15:51:02 +00:00
TreeHugger Robot
55e97e5bef Merge changes from topic "presubmit-am-449268fd2d8f40eb8f329fe53374868e"
* changes:
  [automerge] Change the expected AP iface index when dual STAs supported. 2p: 89b3de718d 2p: 6ec42b402c
  [automerge] Change the expected AP iface index when dual STAs supported. 2p: 89b3de718d
  Change the expected AP iface index when dual STAs supported.
2022-02-25 04:15:47 +00:00
TreeHugger Robot
a2c1d763bd Merge "Change the expected AP iface index when dual STAs supported." into tm-dev 2022-02-25 04:15:47 +00:00
Chih-hung Hsieh
34593d4e2a Merge "Add timed out test files to tidy_timeout_srcs" am: ff54f73b4f am: fa83970b3a am: 581616e658
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1992232

Change-Id: I2eac13fe3b5ab0b4f15d6ceadf376e5e74124a81
2022-02-24 01:32:09 +00:00
Chih-hung Hsieh
fa83970b3a Merge "Add timed out test files to tidy_timeout_srcs" am: ff54f73b4f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1992232

Change-Id: Ic6072a539d185abc0bcce2ef1dd4a96ddf70e3b8
2022-02-24 00:40:48 +00:00
Chih-hung Hsieh
ff54f73b4f Merge "Add timed out test files to tidy_timeout_srcs" 2022-02-24 00:21:18 +00:00
Chris Ye
89b3de718d Change the expected AP iface index when dual STAs supported.
When the HAL support dual STAs, AP should start with idx 2.

Bug: 220338166
Test: atest -c android.hardware.wifi@1.0-service-tests
Change-Id: Ic3780ea346417cf878b94e4ead8fc3eff22baf8f
2022-02-23 15:54:06 -08:00
Quang Luong
6bdc75249b Add VTS test for V1_6::IWifiChip::getAvailableModes_1_6
Bug: 220222963
Test: atest VtsHalWifiV1_6TargetTest
Change-Id: I76908ae0e69f8e1b07a654062b1bd0122e0dd910
2022-02-23 11:27:31 -08:00