Gabriel Biren
9c7ff0f4e0
Skip HIDL v1.6 RTT responder VTS tests if the
...
capabilities do not indicate responder support.
Bug: 280550766
Test: atest VtsHalWifiRttV1_6TargetTest
Change-Id: I4e76a874837c6199b2bef65b3f0c138260972b4a
(cherry picked from commit e8aca0a7aa
)
2023-05-23 16:40:08 +00:00
dheda.shin
93945c1d25
Patch for VTS
...
we changed to store event information in bitmap format
so that overlapping events can be handled.
Bug: 270650316
Test: startPublishRequest_1_6
Change-Id: I6f3cb8026d54dfa692bfd6eb64b24005ba663a1f
Signed-off-by: dheda.shin <dheda.shin@samsung.com>
2023-03-07 13:45:47 +09:00
Gabriel Biren
590248f68e
Add a null pointer check for wifi_chip in am: 4e6349240e
am: 26b625704e
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2279026
Change-Id: I3a56d4c73b2c3c40dfb650a32cd431f414b4ba7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-05 07:13:36 +00:00
Gabriel Biren
26b625704e
Add a null pointer check for wifi_chip in am: 4e6349240e
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2279026
Change-Id: Ia67f4b0cca7ea6f5f55ce3857fd2c9df3169d4dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-05 06:45:11 +00:00
Gabriel Biren
4e6349240e
Add a null pointer check for wifi_chip in
...
configureChipToSupportIfaceTypeInternal.
Bug: 253411345
Test: atest VtsHalHostapdTargetTest
Change-Id: Ieb6de7311de8d98742e302b35196bee7fa7661ed
(cherry picked from commit b1c2d07e4e
)
2022-10-31 22:09:14 +00:00
Xin Li
be8ea4d3a8
Merge android12L-tests-dev@8941410
...
Change-Id: I39565ad6a87b2fdd6172675441e012943f5376b1
2022-08-17 22:38:00 -07:00
Les Lee
73e015a761
Merge "wifi: create interface before running hostapd vts" into stage-aosp-tm-ts-dev
2022-07-12 03:04:29 +00:00
Gabriel Biren
dd789ad9dc
Update supplicant AIDL VTS tests to use the new
...
version of stopWifiFramework().
Bug: 234853504
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
VtsHalWifiSupplicantStaNetworkTargetTest \
VtsHalWifiSupplicantP2pIfaceTargetTest # AIDL service
Change-Id: I9e06f025a5b6b44d6a6caf8362c64bd5a546e1ac
(cherry picked from commit 99bb148510
)
Merged-In: I9e06f025a5b6b44d6a6caf8362c64bd5a546e1ac
2022-07-07 18:28:55 +00:00
Les Lee
912469a468
wifi: create interface before running hostapd vts
...
Adding to support creating interface in hostapd vts.
cp from aosp/2116501
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
Merged-In: I483671cb01b68bc6f5ac4840c61b10f4c31f10e4
2022-07-07 15:52:59 +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
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
Gabriel Biren
c33f1282d8
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
)
Merged-In: I413c3803a6607a72cc3aa8a5fa208551be1b1032
2022-06-29 16:41:51 +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
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
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
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
1fd86d9b89
Merge "Check and catch the callback transaction error" into tm-dev
2022-04-28 02:10:35 +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
70f5837e1f
Freeze AIDL APIs for TM
...
Bug: 225941299
Test: m
Change-Id: I61eb51c0334eb99489c6f1570110d7e18c350c99
2022-04-16 07:03:24 +09: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
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
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
bc43c2f896
Merge "Fixed HostApd VTS test failure." into tm-dev
2022-03-31 16:25:38 +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
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 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
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
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
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
Gabriel Biren
758e5b37fe
Add bssid to onEapFailure callback method.
...
Bug: 165342942
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest
Change-Id: I188ab7c5dbabd48220d38c66a46003ad3630721c
2022-02-23 17:09:00 +00:00
Gabriel Biren
0453f81fb6
Merge "wifi: Add qosPolicyRequestId in definition of supplicant AIDL APIs" into tm-dev
2022-02-22 20:20:18 +00:00
Treehugger Robot
6d4fd1620c
Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an interface." am: 4965e27b86
am: 1331953ef3
am: 24d6da2df8
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964740
Change-Id: I979a22233e74337a0c50c22820455e142db014d1
2022-02-22 18:31:53 +00:00
Treehugger Robot
1331953ef3
Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an interface." am: 4965e27b86
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964740
Change-Id: If47724de35d8399d0e391a29a4aa92aa4e1dbbd7
2022-02-22 17:28:45 +00:00
Shivani Baranwal
65f6167f5f
wifi: Add qosPolicyRequestId in definition of supplicant AIDL APIs
...
This CL is to add param qosPolicyRequestId in the supplicant AIDL
APIs needed for QoS policy feature. This param contains the
dialog token information of the Qos Policies.
Bug: 191426881
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest
Change-Id: I31f9bf6006652ac8c75cbdfba231535bfd676ecd
2022-02-22 17:17:11 +00:00
Treehugger Robot
4965e27b86
Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an interface."
2022-02-22 17:07:12 +00:00