Commit graph

1626 commits

Author SHA1 Message Date
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
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
TreeHugger Robot
ac5dc18df1 Merge "wifi: fix NULL pointer in unit tests" into tm-dev 2022-02-19 02:07:53 +00:00
Chih-Hung Hsieh
ad1bf31b78 Add timed out test files to tidy_timeout_srcs
* Timed out runs do not show any warning messages.
* These test files cannot finish clang-tidy runs with
  the following settings:
    TIDY_TIMEOUT=90
    WITH_TIDY=1
    CLANG_ANALYZER_CHECKS=1
* When TIDY_TIMEOUT is set, in Android continuous builds,
  tidy_timeout_srcs files will not be compiled by clang-tidy.
  When developers build locally without TIDY_TIMEOUT,
  tidy_timeout_srcs files will be compiled.
* Some of these test modules may be split into smaller ones,
  or disable some time consuming checks, and then
  enable clang-tidy to run within limited time.

Bug: 201099167
Test: make droid tidy-hardware-interfaces_subset
Change-Id: I1de28f1572fff368f67eab512fffec9f2e5c2a9b
2022-02-18 17:25:41 -08:00
Gabriel Biren
b29181a507 Merge "Reorder the hostapd Generation enum to list the WiFi generations chronologically." into tm-dev 2022-02-18 23:09:21 +00:00
Ahmed ElArabawy
25692880c0 Merge "Wifi: Add VTS tests for Vendor HAL 1.6" into tm-dev 2022-02-18 22:22:52 +00:00
Ahmed ElArabawy
98112251b1 Merge "Wifi: Fix VTS tests broken due to uprev to Vendor HAL 1.6" into tm-dev 2022-02-18 22:20:45 +00:00
Quang Luong
6a72ebc9c5 Merge "Reinstate functionality of IWifiChip.getAvailableModes()" into tm-dev 2022-02-18 21:13:34 +00:00
Jimmy Chen
1cfe081491 wifi: fix NULL pointer in unit tests
getSupportedIfaceName() should be mocked to avoid
NULL pointer exception.

Bug: 217267980
Test: atest android.hardware.wifi@1.0-service-tests
Change-Id: I97a9cb8430ea77a6fe068f20586ab27df9291400
2022-02-18 09:21:48 -08:00
Gabriel Biren
832cfea94c Create callback to call on auxiliary supplicant events, namely
EAP_METHOD_SELECTED, SSID_TEMP_DISABLED, and OPEN_SSL_FAILURE.

Bug: 165342942
Test: m
Change-Id: I28ccd513bba937041ae8be1c5eff1fa6cb491c97
2022-02-18 16:54:35 +00:00
Ahmed ElArabawy
b2c8852cba Wifi: Add VTS tests for Vendor HAL 1.6
This commit adds the VTS tests for the Wifi Vendor HAL 1.6

Bug: 220014236
Test: atest VtsHalWifiV1_6TargetTest
Test: atest VtsHalWifiNanV1_6TargetTest
Test: atest VtsHalWifiRttV1_6TargetTest
Change-Id: Id9f034c25029ef7a7f437185082abef67776ac8f
2022-02-18 08:54:31 -08:00
Gabriel Biren
fea031e81d Reorder the hostapd Generation enum to list
the WiFi generations chronologically.

Bug: 213475388
Test: Build the interface (mm -j)
Change-Id: I9f501c021956a376c03884dadade473ab0953bd3
(cherry picked from commit 04deb64be1)
2022-02-18 16:53:03 +00:00
Ahmed ElArabawy
7f40eee612 Wifi: Fix VTS tests broken due to uprev to Vendor HAL 1.6
This commit skips the tests for the deprecated HAL APIs due to the
addition of the Vendor HAL ver. 1.6

Bug: 220201314
Test: atest VtsHalWifiRttV1_4TargetTest
Test: atest VtsHalWifiV1_5TargetTest
Change-Id: I9c15249effa9a678115bf644012c0047ad13c66b
2022-02-18 08:51:53 -08:00
Quang Luong
6d66167031 Reinstate functionality of IWifiChip.getAvailableModes()
IWifiChip.getAvailableModes() is needed as a dependency for VTS tests.
Reinstate the API to avoid breaking old tests, ignoring the new
AP_BRIDGED concurrency type.

Bug: 219617823
Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiV1_1TargetTest
VtsHalWifiV1_2TargetTest VtsHalWifiV1_3TargetTest
VtsHalWifiV1_4TargetTest VtsHalWifiV1_5TargetTest

Change-Id: Ide5b251b20f1ea56a76c2ce3b04c4e28fc29624c
2022-02-18 08:51:34 -08:00
Gabriel Biren
05e2e84c60 Update supplicant callbacks with reccomendations
from the ANAPIC review.

- Declare entire callback interfaces as oneway
  rather than each individual function.
- Remove onTerminating() method from ISupplicantCallback.

Bug: 215566635
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
            VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: Ia9c95ef1ad7ada99a7f778ea063b9036cb4e3b42
2022-02-13 00:21:22 +00:00
Sunil Ravi
118641434a Merge "Supplicant: Add support for DPP AKM configuration and connection." 2022-02-12 02:26:02 +00:00
Xin Li
0bf8f21279 Merge sc-v2-dev-plus-aosp-without-vendor@8084891
Bug: 214455710
Merged-In: Id9e06f88539b59480d5cf57a4ba67cef4676c1d5
Change-Id: Id6b1ea4f8700446b044255e80f21c137aeb7acf1
2022-02-11 07:27:13 +00:00
Purushottam Kushwaha
f335be12c6 Supplicant: Add support for DPP AKM configuration and connection.
This commit adds HAL interfaces needed to facilitate DPP AKM based
configuration and connection to DPP network.

Bug: 207732665
Test: vts test
Change-Id: Ibea85c9c50b6ce7da77477c399e95f45d924fcb6
Signed-off-by: Purushottam Kushwaha <quic_pkushwah@quicinc.com>
2022-02-10 20:04:44 -08:00
Ahmed ElArabawy
af1169fbf9 Wifi: Add Supplicant HAL APIs to get MLO Links Info
This commit adds the Supplicant HAL API to get MLO (Multi-Link
Operation) links info

Bug: 198746544
Test: VTS test
Change-Id: I4a40ddd402124d56571e97ad143eb2eb6fdc7cc2
2022-02-09 14:32:12 -08:00
Quang Luong
5194b3538c Merge "Add IfaceConcurrencyType and related methods for AP_BRIDGED concurrency" 2022-02-09 16:41:26 +00:00
Ahmed ElArabawy
a52fc5015a Merge "Wifi: add maximum channel bandwidth limit to softAp" 2022-02-09 03:34:07 +00:00
Jimmy Chen
6deedfe255 Merge "p2p: add new HAL API to pass vendor-specific data" 2022-02-08 23:51:45 +00:00
Ahmed ElArabawy
7f620e3a86 Wifi: add maximum channel bandwidth limit to softAp
This commit adds the maximum bandwidth limit on softAp connection.

Bug: 215120219
Test: VTS test
Change-Id: Ic364ad13ec2787080f99479e00bce5aacf88022d
2022-02-08 13:31:15 -08:00
Quang Luong
5d8805e25a Add IfaceConcurrencyType and related methods for AP_BRIDGED concurrency
Add IfaceConcurrencyType to represent Iface implementations that
have different concurrency implications for the same IfaceType, such as
Bridged AP and Single AP for IWifiApIface. Add a new IWifiChip HAL API,
getAvailableModes_1_6 to return the new concurrency type combos.

Bug: 207055799
Test: 1.6/default/tests/runtests.sh
Change-Id: Iad20a3d95d54dd8b624db912fd3153c2a3372f45
2022-02-08 09:54:00 -08:00
Ahmed ElArabawy
f815455af5 IHostapd: Add support for OWE security encryption type.
This commit is to add the EncryptionType:WPA3_OWE  to allow setup of OWE Soft-AP.

Bug: 217669241
Test: VTS tests
Change-Id: Ib862ba014eacaf4429bd3e44def3f7394643f98e
2022-02-04 15:31:10 -08:00
Gabriel Biren
550bb6b479 Merge "Improve initialization sequence for supplicant AIDL VTS tests." am: 1048b42ea6 am: 352fc9106f am: 36072bf04a am: fddd95734d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1966398

Change-Id: If38b8bfe7cfe510a07293c1aabe6a785dd8e7380
2022-02-03 01:59:29 +00:00
Gabriel Biren
fddd95734d Merge "Improve initialization sequence for supplicant AIDL VTS tests." am: 1048b42ea6 am: 352fc9106f am: 36072bf04a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1966398

Change-Id: I50b5079096de46fcf8cdbabaf34e7b31817df6db
2022-02-03 01:40:27 +00:00
Gabriel Biren
36072bf04a Merge "Improve initialization sequence for supplicant AIDL VTS tests." am: 1048b42ea6 am: 352fc9106f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1966398

Change-Id: I985f2fb96ff63c753c21f987f90cc544e013d728
2022-02-03 00:58:15 +00:00
Gabriel Biren
4e6c9a2b80 Improve initialization sequence for supplicant
AIDL VTS tests.

Bug: 215298798
Bug: 215467859
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
            VtsHalWifiSupplicantP2pIfaceTargetTest
      (Tested on both a Coral and Oriole device)
Change-Id: I435e16a447af16d9cd619c5bc8883ed24151080a
2022-02-02 22:18:20 +00:00
Gabriel Biren
41f6858f7a Add @PropagateAllowBlocking tag to supplicant methods
that return an interface.

Bug: 214496214
Test: adb logcat -s Binder:E -e "ISupplicant"
       (Should produce no output when patch is applied.)
Change-Id: Ic89c2d841f0a0cad6c80975f78e1f50f5f15f48d
2022-02-02 20:42:26 +00:00
Ahmed ElArabawy
7b7e4616c3 Merge "wifi: Add support for AP initiated QoS policy feature" 2022-02-02 03:25:12 +00:00
Veerendranath Jakkam
ad6d094932 wifi: Add support for AP initiated QoS policy feature
This commit defines supplicant AIDL APIs needed for QoS policy
feature.

Bug: 191426881
Test: VTS test
Change-Id: Iab9c78d716da6c263ac7c6d49e257ee2e794a648
(cherry-picked from commit 4f43701bd12994f7bbaacf6b547ae7d7093b6c38)

Change-Id: Ifb7a58192723d2d9135f4c5fffe192780c8bb482
2022-02-02 00:11:07 +00:00
Isaac Chiou
9cf44590f2 Add HAL APIs for WiFi CHRE NAN RTT
1. Add new APIs to enable/disable CHRE NAN RTT
2. Add a new API to register callback.
   This callback should report events from WLAN driver for CHRE.

Test: New APIs work fine
Bug: 206614765
Change-Id: I8c8ab002064a9556be2e7d3972703bb3255a3a41
2022-01-29 07:27:01 +08:00
Ahmed ElArabawy
4b5e558389 Merge "IHostapd: Add support for OWE_TRANSITION security encryption type." 2022-01-28 19:01:41 +00:00
Sunil Ravi
e309d35b75 Merge "wifi: Get the supported radio combinations matrix" 2022-01-28 19:00:27 +00:00
Jimmy Chen
262c7739cc p2p: add new HAL API to pass vendor-specific data
Bug: 197695047
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
            VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: Ie746deb74c08307b70bd7959e5950c5f3c1679c5
2022-01-28 16:54:14 +08:00
Jimmy Chen
182b766022 Merge "p2p: support find a specific channel" 2022-01-28 08:43:58 +00:00
Mia
8d34c5179c wifi: add an api route for removing a P2P client
Bug: 159098347
Test: atest FrameworksWifiTests
Change-Id: I83b1febb6e56965806a4cc18c0eba9520cce6ce3
2022-01-27 07:31:50 +00:00
Sunil Ravi
ef97d23f88 wifi: Get the supported radio combinations matrix
Added API to get the supported radio combinations
of the chip. This is mainly to check if the chip is
capable of multi band simultaneous operation.

For Example in case of a chip which has two radios, where one radio is
capable of 2.4GHz 2X2 only and another radio which is capable of either
5GHz or 6GHz 2X2, number of possible radio combinations in this case
are 5 and possible combinations are:
    {{{2G 2X2}}, //Standalone 2G
    {{5G 2X2}}, //Standalone 5G
    {{6G 2X2}}, //Standalone 6G
    {{2G 2X2}, {5G 2X2}}, //2G+5G DBS
    {{2G 2X2}, {6G 2X2}}} //2G+6G DBS

Bug: 208877624
Test: vts test
Change-Id: I4c90f80002ca138133a575bca80dfdef2a593ab2
2022-01-26 23:18:37 -08:00
TreeHugger Robot
1aab61da7b Merge "Wifi: Remove premature 'return'" 2022-01-27 06:46:25 +00:00
Jimmy Chen
05e636413b p2p: support find a specific channel
Bug: 159094739
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
            VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: Ia55b0b13588f9df39a53ccc945c43f2ba7c962f1
2022-01-27 12:33:15 +08:00
Chris Ye
af7d54543f Merge "Get bridged AP interface name from Wifi HAL." 2022-01-26 21:46:51 +00:00
Purushottam Kushwaha
e13c7b20e2 IHostapd: Add support for OWE_TRANSITION security encryption type.
This commit is to add the EncryptionType:OWE_TRANSITION to allow setup
of OWE-Transition Soft-AP.

Bug: 181736011
Test: VTS tests
Change-Id: Ibfcadfc6fd9c4d0d88755f6d07de72c78efc5968
Signed-off-by: Purushottam Kushwaha <quic_pkushwah@quicinc.com>
2022-01-26 09:45:39 -08:00
Greg Kaiser
51c7bd47ab Wifi: Remove premature 'return'
We want to fill in more fields in our conversion method, so we
let the logic proceed to all of them.

Test: TreeHugger
Bug: 203220137
Change-Id: Ia7a9c978ec778eebd17b9ce74f43cc320e92b971
2022-01-26 07:13:18 -08:00
Nate(Qiang) Jiang
ab62fa679b Merge changes from topics "Aware3.1", "instantFilter"
* changes:
  Wifi: Add HAL API and implementation for instant mode filter
  Wifi: Add support for Wifi Aware 3.1
2022-01-26 07:00:04 +00:00
Sunil Ravi
839b1e2eed Merge "Wifi: API to set the indoor state of device" 2022-01-26 02:56:43 +00:00
Nate Jiang
6e13599d95 Wifi: Add HAL API and implementation for instant mode filter
Bug: 203220137
Test: pass vts test
Change-Id: I7f4d9d4390ad69bcfdb2419c2e172c4df2d6863b
2022-01-25 14:41:15 -08:00
Nate Jiang
50c001dd21 Wifi: Add support for Wifi Aware 3.1
Bug: 203220137
Test: pass vts test
Change-Id: I576e03b7cb94466c094a7e4ca1714dddd81ddd5f
2022-01-25 14:40:53 -08:00
Sunil Ravi
5955985741 Wifi: API to set the indoor state of device
If set, it indicates that the device is operating
in an indoor environment. When driver receives this
indication, it can safely enable WFD GO operation
on indoor channels.

Bug: 207671411
Test: Manual basic wifi tests

Change-Id: I4cc4c22444f0796c280220534d43c4ae8cae0899
2022-01-25 11:41:55 -08:00
Chris Ye
02c7bb3df9 Get bridged AP interface name from Wifi HAL.
In bridged AP VTS test, need to get the interface name from bridged AP
from Wifi HAL.
As Wifi HAL is still in HIDL interface, need to use HIDL API to obtain
the bridged AP interface name.

Test: atest VtsHalHostapdTargetTest
Bug: 211073349
Change-Id: Ib594877899ff0fe3ef0a7f01fdb169204dff6a74
2022-01-25 19:15:15 +00:00
TreeHugger Robot
a6edb0b76c Merge "wifi: add API for setting roaming consortium selection" 2022-01-25 00:58:24 +00:00
Ahmed ElArabawy
05571e4718 Wifi: Add implementation for vendor HAL for 11be support
This commit adds the implementation for the HAL API changes
to enable 11be support.

Bug: 198746544
Test: Build Succeeds
Test: VTS test
Change-Id: I2d1f296856698951c2c0111200e7c7bf661da132
2022-01-21 14:08:14 -08:00
Ahmed ElArabawy
d73b64ccc5 Wifi: Update wifi vendor hal API with changes for 11be support
This commit adds the required changes for the support of
802.11be (WiFi-7) support to the wifi vendor hal API.

Bug: 198746544
Test: Build Succeeds
Test: VTS test
Change-Id: I1f631aaa247ce4240dd398230b57c7edae55c141
2022-01-21 14:07:02 -08:00
Ahmed ElArabawy
484046eaa8 Merge "WiFi: Basic support for 11be to Supplicant HAL" 2022-01-19 20:08:08 +00:00
Ahmed ElArabawy
9a066e4efe Merge "WiFi: Basic support for 11be to Hostapd HAL" 2022-01-19 20:07:31 +00:00
Ahmed ElArabawy
0cf627aed2 Wifi: Add vendor hal 1.6 to rc and make files
This CL adds ver 1.6 in Android.bp and rc file. Those were missed
when the HAL version was uprev'd to 1.6

Bug: 214108561
Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \
            VtsHalWifiV1_1TargetTest \
            VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \
            VtsHalWifiV1_3TargetTest \
            VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest \
            VtsHalWifiV1_5TargetTest VtsHalWifiNanV1_5TargetTest VtsHalWifiApV1_5TargetTest
Change-Id: I5ce531b92af12b54b4a25548e6fef1198fb23716
2022-01-19 16:38:05 +00:00
Jimmy Chen
a2b862a527 wifi: add API for setting roaming consortium selection
Bug: 210879633
Test: atest VtsHalWifiSupplicantStaNetworkTargetTest
Change-Id: I3eb89065ae7348d34ac09627af16d2d9460c9173
2022-01-19 09:56:30 +08:00
Ahmed ElArabawy
115180e95a WiFi: Basic support for 11be to Supplicant HAL
In this commit, basic support for 11be is added to Supplicant HAL.
That includes adding EHT to list of WifiTechnologies

Bug: 198746544
Test: Build successful
Change-Id: Ied553e502ab2dba9efbcaac80691a6d54195e942
2022-01-18 17:46:49 -08:00
Ahmed ElArabawy
c552b141e3 WiFi: Basic support for 11be to Hostapd HAL
In this commit, basic support for 11be is added to HostApd HAL.
That includes:
1. Adding 320MHz bandwidth channels
2. Adding 11be to list of standards
3. Add a flag to enable/disable 11be for SoftAp

Bug: 198746544
Test: Pass VTS tests, and presubmit tests
Change-Id: I14e1bd8ab00692e743a3a49096fbd66aca806730
2022-01-18 17:29:03 -08:00
Ahmed ElArabawy
640c82d41c Merge "Wifi: Uprev wifi HAL to 1.6" 2022-01-15 18:52:02 +00:00
Gabriel Biren
ece8845ba0 Merge "Update supplicant bitmap comments to clarify that defs.h is a useful reference, but not the main definition for the bitmap values in the interface." am: 7b55e1a302 am: 113255aa5c am: aaed9ba96d am: a691ff43cf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947191

Change-Id: I1316971ff47df7b647b0b67cb258c4d2b334460c
2022-01-13 23:30:01 +00:00
Gabriel Biren
a691ff43cf Merge "Update supplicant bitmap comments to clarify that defs.h is a useful reference, but not the main definition for the bitmap values in the interface." am: 7b55e1a302 am: 113255aa5c am: aaed9ba96d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947191

Change-Id: I88bcdc46cfa03ecaa7e3ac3e57617a599ed27bc7
2022-01-13 23:18:14 +00:00
Gabriel Biren
aaed9ba96d Merge "Update supplicant bitmap comments to clarify that defs.h is a useful reference, but not the main definition for the bitmap values in the interface." am: 7b55e1a302 am: 113255aa5c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947191

Change-Id: Ib9cdf4c0d0d321fdd4dcd58caab1d7f4b19f4d84
2022-01-13 23:01:23 +00:00
Gabriel Biren
7b55e1a302 Merge "Update supplicant bitmap comments to clarify that defs.h is a useful reference, but not the main definition for the bitmap values in the interface." 2022-01-13 22:35:33 +00:00
Gabriel Biren
0d1d1a7d58 Merge "Allow VTS tests to pass on devices without Hostapd AIDL." am: f97801a1c5 am: 81271949c0 am: 72c29327b7 am: a0cfeae37a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947696

Change-Id: Ic3a17a86f4b0eb1f4aa64676b51b4845f059c65c
2022-01-13 17:34:27 +00:00
Gabriel Biren
a0cfeae37a Merge "Allow VTS tests to pass on devices without Hostapd AIDL." am: f97801a1c5 am: 81271949c0 am: 72c29327b7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947696

Change-Id: I7631e109f26835d41180ec881782dae3aba1d0bf
2022-01-13 17:20:29 +00:00
Gabriel Biren
72c29327b7 Merge "Allow VTS tests to pass on devices without Hostapd AIDL." am: f97801a1c5 am: 81271949c0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947696

Change-Id: I45d4dbe9e28bbbaa21e15dda5067968e8089be21
2022-01-13 17:09:32 +00:00
Gabriel Biren
f97801a1c5 Merge "Allow VTS tests to pass on devices without Hostapd AIDL." 2022-01-13 16:34:32 +00:00
Jimmy Chen
2d0a5dc669 Merge "wifi: add certificate HAL callback for Trust On First Use support" 2022-01-13 15:42:45 +00:00
Sunil Ravi
b0a51841f7 Merge "Inform p2p framework about the channel change event" 2022-01-13 01:23:19 +00:00
Gabriel Biren
55c59e2a2d Merge "Allow VTS tests to pass on devices without Supplicant AIDL." am: ac91c7c9dd am: 57aaae7ad5 am: fc12c9d39e am: 64203384b1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1945692

Change-Id: I5272834ecb124da1a3cfeb5a1ca7f79da78fc655
2022-01-12 23:27:55 +00:00
Gabriel Biren
962d5dfa99 Allow VTS tests to pass on devices without Hostapd AIDL.
Bug: 214298597
Test: Run VTS tests on an AOSP build (since AOSP
       is still using the HIDL interface).
Change-Id: I4bd005b5c96570694477a4b45fa5cc790c45be8f
2022-01-12 23:15:17 +00:00
Gabriel Biren
64203384b1 Merge "Allow VTS tests to pass on devices without Supplicant AIDL." am: ac91c7c9dd am: 57aaae7ad5 am: fc12c9d39e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1945692

Change-Id: Ie53860d68503835213260539fe587a184c64f348
2022-01-12 23:14:43 +00:00
Ahmed ElArabawy
687ce13059 Wifi: Uprev wifi HAL to 1.6
This commit uprevs the Wifi vendor HAL to 1.6

Bug: 214108561
Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \
            VtsHalWifiV1_1TargetTest \
            VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \
            VtsHalWifiV1_3TargetTest \
            VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest \
            VtsHalWifiV1_5TargetTest VtsHalWifiNanV1_5TargetTest VtsHalWifiApV1_5TargetTest
Change-Id: I059a5de346e353f7fba1e008ecd9fb4611e66880
2022-01-12 15:10:45 -08:00
Gabriel Biren
fc12c9d39e Merge "Allow VTS tests to pass on devices without Supplicant AIDL." am: ac91c7c9dd am: 57aaae7ad5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1945692

Change-Id: I246a670fa0cfb7a0d0cd26ea390291b1815e75c5
2022-01-12 23:08:29 +00:00
Gabriel Biren
ac91c7c9dd Merge "Allow VTS tests to pass on devices without Supplicant AIDL." 2022-01-12 22:52:18 +00:00
Gabriel Biren
5214086d25 Update supplicant bitmap comments to clarify that
defs.h is a useful reference, but not the main
definition for the bitmap values in the interface.

Bug: 210904141
Test: N/A since only comments were updated
Change-Id: Ib721d6ea0182db50f05ddab10096583481f85413
2022-01-12 22:02:55 +00:00
Gabriel Biren
cc7409e8f9 Allow VTS tests to pass on devices without Supplicant AIDL.
Bug: 212653303
Bug: 212652735
Bug: 212652340
Test: Run VTS tests on an AOSP build (since AOSP
       is still using the HIDL interface).
Change-Id: I442efb35c4c68a1337cacc952c3fdb338ef2615d
2022-01-12 00:46:38 +00:00
Sunil Ravi
189cf702db Inform p2p framework about the channel change event
Added a callback function to indicate that the p2p
operating frequency has been changed.

Bug: 202758240
Test: vts test
Test: Manually triggered channel switch through hostapd command
    and verified the new frequency in logs.
Change-Id: I5814a108c77478cf96bc88f2d8fd8193bd8168be
2022-01-11 12:24:56 -08:00
Serik Beketayev
4d37f69678 [IHostapd] Support vendor-specific AP config elem
Bug: 139204496
Test: mma -j
Change-Id: I7caa7d3b27bca7898d8857bfb841b5466643644e
2022-01-11 10:55:47 -08:00
Treehugger Robot
ebaa020bc2 Merge "Prepares android.hardware.wifi@1.0-service" am: 1303d913f3 am: 5cd48bab29 am: b9f3b6228e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1908491

Change-Id: I80753e5975880530b3999bb03c5b262c095e36e2
2022-01-11 03:08:57 +00:00
Treehugger Robot
b9f3b6228e Merge "Prepares android.hardware.wifi@1.0-service" am: 1303d913f3 am: 5cd48bab29
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1908491

Change-Id: I58b559364e9bd28efcd1bb473350bda45a9ea8c0
2022-01-11 02:24:56 +00:00
Jimmy Chen
faeb133031 wifi: add certificate HAL callback for Trust On First Use support
This API is used to pass the certificate returned from the server to
the framework.

Bug: 196180536
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
            VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: I462008e8b2a0f18824b2886613f300213544c785
2022-01-11 09:57:16 +08:00
Treehugger Robot
1303d913f3 Merge "Prepares android.hardware.wifi@1.0-service" 2022-01-11 01:35:49 +00:00
Treehugger Robot
cdf14d4f4f Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" am: 782706bd09 am: c63160ed14 am: 2954763f9c am: 3a20cc3f55
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937409

Change-Id: I887289ee8e9c04e6afc2141c11c9aa08b625ce4b
2022-01-07 02:44:23 +00:00
Treehugger Robot
3a20cc3f55 Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" am: 782706bd09 am: c63160ed14 am: 2954763f9c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937409

Change-Id: I08bb6e43effb42e79c598a69b71c3a2c4dba183c
2022-01-07 02:24:31 +00:00
Treehugger Robot
2954763f9c Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" am: 782706bd09 am: c63160ed14
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937409

Change-Id: I8b285f728ea147127dc8a9764f41f7159076cb2c
2022-01-07 02:00:39 +00:00
TreeHugger Robot
fff8d0e2d9 Merge "Prepares android.hardware.wifi@1.0-service" 2022-01-07 00:01:58 +00:00
Bob Badour
6acef468cc [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  ir/aidl/Android.bp
  ir/aidl/default/Android.bp
  wifi/supplicant/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I6796bb068122811520f911c0376b7f6caecf471c
2022-01-05 11:14:10 -08:00
Sundong Ahn
c5ec034276 Prepares android.hardware.wifi@1.0-service
Prepares android.hardware.wifi@1.0-service for use by a wifi HAL vendor APEX.
- Creates a cc_defaults with soong config vars for @1.0-service and
  @1.0-service lib that customized implementations can override.

Bug: 205065320
Test: m -j with mac80211_hwsim vendor APEX on Cuttlefish
Test: Connect to wifi
Change-Id: I5827ed1ceb9be8278a54fd828249bf8e549fb950
Merged-In: I5827ed1ceb9be8278a54fd828249bf8e549fb950
2022-01-05 05:07:37 +00:00
Etan Cohen
fcf0785d74 Add dummy interface combination for debugging
Add another dummy interface combination to be used for debugging:
  STA+(STA||P2P||NAN||AP)

Bug: 211919010
Test: adb shell setprop persist.vendor.debug.wifi.hal.preset_interface_combination_idx 5
Change-Id: I0499da1d0920ce03fe142f5b0936c6efe0dcf21a
2021-12-30 20:57:51 +00:00
Les Lee
6645e9ea71 wifi: Extend onFailure callback for dual AP case
There are two AP instances when bridged AP is running.
Extend onFailure callback to support if there is a problem one of the instances,
The framework can handle the failure separately. (i.e. No need to
shutdown whole Soft Ap)

Bug: 188921389
Test: Test with test code, the callback works normally.
Change-Id: I0aba5f3c5bf21badd3cf925908c853e9285fa6aa
2021-12-17 15:04:51 +08:00
Gabriel Biren
5f5568d4fc Merge "Add Wifi HAL supplicant AIDL interface definitions." am: a798cf2c63 am: dc3be74728 am: 7b93d69e16 am: edfe1d1472
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1916957

Change-Id: I6ee09e3a6fc7d1c737c6589f49f4b1c7bd29db7f
2021-12-16 21:01:14 +00:00
Gabriel Biren
edfe1d1472 Merge "Add Wifi HAL supplicant AIDL interface definitions." am: a798cf2c63 am: dc3be74728 am: 7b93d69e16
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1916957

Change-Id: I62c90daf1822e00cc3b7a96f50eec09ec81559fd
2021-12-16 18:48:14 +00:00
Gabriel Biren
7b93d69e16 Merge "Add Wifi HAL supplicant AIDL interface definitions." am: a798cf2c63 am: dc3be74728
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1916957

Change-Id: Ida9607319241549e774f41f493c02022870a606a
2021-12-15 22:33:15 +00:00
Gabriel Biren
a798cf2c63 Merge "Add Wifi HAL supplicant AIDL interface definitions." 2021-12-15 21:13:41 +00:00
Gabriel Biren
28a4812752 Add Wifi HAL supplicant AIDL interface definitions.
Converted from android.hardware.wifi.supplicant@1.4 HIDL interface.

Bug: 196235436
Test: m android.hardware.wifi.supplicant-update-api
BYPASS_INCLUSIVE_LANGUAGE_REASON=HE refers to High Efficiency

Change-Id: I9872f297450457c347fb5fe8cf4005b01d3ab1f6
2021-12-14 23:45:07 +00:00
Bob Badour
dc205e077e [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  bluetooth/audio/aidl/Android.bp
  wifi/netlinkinterceptor/aidl/default/Android.bp
  wifi/netlinkinterceptor/libnlinterceptor/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I4c18be830a5c0928d1a58f1e8e52067a2d6db66d
2021-12-09 18:54:17 -08:00
Sundong Ahn
80af4e4465 Prepares android.hardware.wifi@1.0-service
Prepares android.hardware.wifi@1.0-service for use by a wifi HAL vendor APEX.
- Creates a cc_defaults with soong config vars for @1.0-service and
  @1.0-service lib that customized implementations can override.

Bug: 205065320
Test: m -j with mac80211_hwsim vendor APEX on Cuttlefish
Test: Connect to wifi
Change-Id: I5827ed1ceb9be8278a54fd828249bf8e549fb950
2021-12-10 00:19:08 +00:00
Chris Weir
8c42fdd095 Merge changes from topic "iinterceptor"
* changes:
  Add VTS for Netlink Interceptor
  Add default implementation for Nlinterceptor
  Move interceptor AIDL definition
2021-12-09 23:30:19 +00:00
Chris Weir
4669bd35a9 Add VTS for Netlink Interceptor
VTS tests for Netlink Interceptor

BYPASS_INCLUSIVE_LANGUAGE_REASON="dummy" is what Linux uses to refer to
interfaces that are not real or functional. I did not pick this name.

Bug: 201467304
Test: atest VtsHalNetlinkInterceptorV1_0Test

Change-Id: Idb5ad759c9226ddf9e6182213cced750efdbd293
2021-12-02 11:02:21 -08:00
Chris Weir
7b1428f3f3 Add default implementation for Nlinterceptor
Add default Netlink Interceptor implementation

Bug: 201467304
Test: atest VtsHalNetlinkInterceptorV1_0Test

Change-Id: I7c765f9528a3d5be85bf5554e22eae51c1607548
2021-12-02 11:02:12 -08:00
Tomasz Wasilczyk
5f9639673b Match Wi-Fi HAL native code style with rest of HALs.
Bug: 201467304
Test: N/A
Change-Id: Iba03628fa19598c9f4c7f2bf1156ebe69a46c270
2021-12-01 10:11:14 -08:00
Chris Weir
0f4c3218ad Move interceptor AIDL definition
Move Netlink Interceptor AIDL definition to
hardware/interfaces/wifi

Bug: 201467304
Test: atest VtsHalNetlinkInterceptorV1_0Test

Change-Id: Ia6b1d29b2f2cb45f91ab985ed64c44fdc6d54602
2021-11-30 16:47:34 -08:00
Treehugger Robot
3596bc95ea Merge "Wifi: P2P VTS tests fail with no P2P support" am: a4a390c0d9 am: f44059b065 am: 22d7ba9f28
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1892882

Change-Id: If1736fe5f7f44b2ab3ed36bd696f66f7cbb09c44
2021-11-18 22:29:15 +00:00
Treehugger Robot
22d7ba9f28 Merge "Wifi: P2P VTS tests fail with no P2P support" am: a4a390c0d9 am: f44059b065
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1892882

Change-Id: I656eec9ad70552d2805d616964fe2e81597b2daf
2021-11-18 22:05:22 +00:00
Blair Prescott
b676061cd5 Wifi: P2P VTS tests fail with no P2P support
Skip P2P tests if P2P is not supported.

Bug: 200064365
Test: run vts -m VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I6ba23bb27f24700980cab28d1ff806e5efc65ec9
2021-11-18 14:02:19 -08:00
Treehugger Robot
f44059b065 Merge "Wifi: P2P VTS tests fail with no P2P support" am: a4a390c0d9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1892882

Change-Id: Iba6f9e413f5f49cf0bc09ec70339e982dc669ed2
2021-11-18 21:58:54 +00:00
Blair Prescott
7156c06525 Wifi: P2P VTS tests fail with no P2P support
Skip P2P tests if P2P is not supported.

Bug: 200064365
Test: run vts -m VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I6ba23bb27f24700980cab28d1ff806e5efc65ec9
2021-11-15 13:49:21 -08:00
Xin Li
8f6d361f15 Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918
Bug: 205056467
Merged-In: I96a417467346a57b13c2efae12a183d78506afc3
Change-Id: I570a3b599281f519af7a440562c83f8484684fd5
2021-11-10 08:05:55 +00:00
Gabriel Biren
af89a6ac72 Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20 am: f88f0464fb am: 3795cbf883 am: ab78434023
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: I176080727844713b82efd3c179869510574d610e
2021-11-09 17:23:07 +00:00
Gabriel Biren
ab78434023 Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20 am: f88f0464fb am: 3795cbf883
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: I2622b9f777971cad3f5440b0274a179bad2c0570
2021-11-09 17:06:32 +00:00
Gabriel Biren
3795cbf883 Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20 am: f88f0464fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: I76eac287d9a3144c639edff4bc6d47b0c12726f2
2021-11-09 16:38:28 +00:00
Gabriel Biren
f88f0464fb Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: Idf7e47cf496d040776433bbb586058a332dd5717
2021-11-09 16:19:36 +00:00
Gabriel Biren
b3eb504848 Switch hostapd VTS tests to NDK backend.
Bug: 204889679
Test: Make and run VtsHalHostapdTargetTest
      m vts -j
      vts-tradefed run commandAndExit vts \
          --module VtsHalHostapdTargetTest
Change-Id: I0fe97b18b83098df6c70a5057576704c4b1f7383
2021-11-03 19:45:39 +00:00
Treehugger Robot
40212f770e Merge "wifi: Add sleep 3 seconds to allow terminate processing in VTS tear down" into android11-tests-dev am: 7618b4cc8b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1554185

Change-Id: Ic922564dffbfdb96b30bcfe3fb9fe8a5934a9c17
2021-10-29 22:23:35 +00:00
Les Lee
b3fba1d7c3 Merge "wifi(vts): Precondition AP tests on existence of hostapd HAL" into sc-v2-dev 2021-10-20 02:04:49 +00:00
Sunil Ravi
6f95834134 Update the p2p device interface name am: 6adbab13ee am: 31902d7b96
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16087108

Change-Id: I643afff58307b3ae73124d0b2e828b8cc5322402
2021-10-20 02:01:30 +00:00
Sunil Ravi
31902d7b96 Update the p2p device interface name am: 6adbab13ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16087108

Change-Id: I7870273f60548e2f8feb63a81eed3899fb73cc3d
2021-10-20 01:34:49 +00:00
Sunil Ravi
b828beb046 Update the p2p device interface name am: 6adbab13ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16087108

Change-Id: I29de6a4bf01101cb32d2aafd8a4dce8fa5f398c0
2021-10-20 01:34:48 +00:00
Sunil Ravi
fbdc9126fa Merge "wifi: Avoid doing iface reset when dynamic MAC update supported" 2021-10-19 23:06:04 +00:00
Yiming Pan
a5be199ef0 Merge "Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1 am: b0f892dad1 am: 94a36d98dd am: 429b3a5e2a" 2021-10-19 19:45:03 +00:00
Sunil Ravi
6adbab13ee Update the p2p device interface name
In some implementations P2P device interface is created under
primary interface(wlan0 by default). In those implementations
p2p device name is predefined in system property wifi.direct.interface.
And the interface is created by supplicant with primary interface as
the parent interface. The naming of p2p device interface is
p2p-dev-<parent interface> ("p2p-dev-wlan0").

With STA+STA feature, wlan0 interface gets deleted in certain scenarios
and wlan1 becomes the active interface. In such scenarios P2P fails to
create the interface as parent interface wlan0 is deleted.

To fix the issue update the p2p device interface from system property
based on the current active wlan interface. ie First get the p2p parent
interface name from p2p device interface name set in property.
Check if the parent interface derived from p2p device interface name is
the current active interface. If not, get the current active interface
and update the name as p2p-dev-<ifname> ("p2p-dev-wlan1").
This helps HIDL/supplicant to get an active wlan interface from p2p
device interface name and succeed in creating the p2p interface under the
active interface.

Bug: 203434193

Test: Manual - Tested STA+STA which ended up deleting wlan0 interface.
      Then ran p2p tests and confirmed that p2p scan and connection
      works.
Change-Id: I522cec02a662c057e21d434f3ed98c7e7a4ca8f0
Merged-In: I522cec02a662c057e21d434f3ed98c7e7a4ca8f0
(cherry picked from commit 7f2822aff7)
2021-10-19 18:14:26 +00:00
Sunil Ravi
7f2822aff7 Update the p2p device interface name
In some implementations P2P device interface is created under
primary interface(wlan0 by default). In those implementations
p2p device name is predefined in system property wifi.direct.interface.
And the interface is created by supplicant with primary interface as
the parent interface. The naming of p2p device interface is
p2p-dev-<parent interface> ("p2p-dev-wlan0").

With STA+STA feature, wlan0 interface gets deleted in certain scenarios
and wlan1 becomes the active interface. In such scenarios P2P fails to
create the interface as parent interface wlan0 is deleted.

To fix the issue update the p2p device interface from system property
based on the current active wlan interface. ie First get the p2p parent
interface name from p2p device interface name set in property.
Check if the parent interface derived from p2p device interface name is
the current active interface. If not, get the current active interface
and update the name as p2p-dev-<ifname> ("p2p-dev-wlan1").
This helps HIDL/supplicant to get an active wlan interface from p2p
device interface name and succeed in creating the p2p interface under the
active interface.

Bug: 203434193
Bug: 200810773

Test: Manual - Tested STA+STA which ended up deleting wlan0 interface.
      Then ran p2p tests and confirmed that p2p scan and connection
      works.
Change-Id: I522cec02a662c057e21d434f3ed98c7e7a4ca8f0
2021-10-19 17:50:44 +00:00
TreeHugger Robot
87034011f0 Merge "wifi: extending framework restart waiting time" into sc-v2-dev am: c69d81e5f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16063834

Change-Id: Iaa650b3b3edf214f556fbfd4dbed0cf27bf60ae9
2021-10-19 17:23:15 +00:00
TreeHugger Robot
c69d81e5f3 Merge "wifi: extending framework restart waiting time" into sc-v2-dev 2021-10-19 17:06:10 +00:00
Treehugger Robot
48875f0472 Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1 am: b0f892dad1 am: 94a36d98dd am: 429b3a5e2a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793006

Change-Id: Id41c654bb4c034e87e407e6a306aedb68a3131e5
Bug: 203478278
2021-10-19 17:01:25 +00:00
Treehugger Robot
429b3a5e2a Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1 am: b0f892dad1 am: 94a36d98dd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793006

Change-Id: Ibf77e0f0ecea71289f4bc5e41b67ee4d2944f3ce
2021-10-19 01:57:36 +00:00
Treehugger Robot
94a36d98dd Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1 am: b0f892dad1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793006

Change-Id: Ic2a2695bea4a3e251b23e0f9a85c41395787a58a
2021-10-19 01:42:37 +00:00
Treehugger Robot
b0f892dad1 Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793006

Change-Id: I4abc372f26d69454b8f7fb9c16429d094891c2bf
2021-10-19 01:29:26 +00:00
Treehugger Robot
b27df86140 Merge "Update OWNERS for VtsHalWifiSupplicant tests." 2021-10-19 00:55:03 +00:00
Roshan Pius
5e9ec95556 wifi: remove disable_framework option to pass the stopWifiFramework procedure am: 9c4930dfd9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16063833

Change-Id: I4efeb8d3cc6e61dbc0b595285448c3e615b531ac
2021-10-18 05:27:02 +00:00
Jimmy Chen
01c2259e19 wifi: extending framework restart waiting time
10s is not enough for low-end devices, extending waiting time to
avoid false alarm for low-end devices.

Bug: 201184673
Test: atest VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I9baa53a462b97738e6dc471cf06c2b9230b92c1c
(cherry picked from commit ef3f77f831)
2021-10-18 03:08:50 +00:00
Roshan Pius
9c4930dfd9 wifi: remove disable_framework option to pass the stopWifiFramework procedure
Stopping entire framework can cause other essential services to be
stopped. When wifi is stopped, it does not interact with any of the
wifi HAL's.

Bug: 201266536
Bug: 201184673
Test: atest --iterations 10 \
    VtsHalWifiSupplicantV1_0TargetTest \
    VtsHalWifiSupplicantV1_1TargetTest \
    VtsHalWifiSupplicantV1_2TargetTest \
    VtsHalWifiSupplicantV1_3TargetTest \
    VtsHalWifiSupplicantV1_4TargetTest \
    VtsHalWifiSupplicantP2pV1_0TargetTest \
    VtsHalWifiSupplicantP2pV1_2TargetTest \
    VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: Ia4a38c2e942681f323cf76941713c429e14870cc
(cherry picked from commit 3a5858a711)
2021-10-18 03:08:32 +00:00
Treehugger Robot
7e169d4274 Merge changes I5b58a75f,I07d9c70a into android12-tests-dev
* changes:
  wifi: extending framework restart waiting time
  wifi: remove disable_framework option to pass the stopWifiFramework procedure
2021-10-16 00:26:30 +00:00
Roshan Pius
76a58eefbf wifi(vts): Precondition AP tests on existence of hostapd HAL am: 274eadd581 am: facaf07418 am: 1c0b3ad440 am: 3ce226c8a9 am: 2c7810f622
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1857796

Change-Id: I491d422d7317a658da6274d588186f0242677b32
2021-10-15 08:37:34 +00:00
Roshan Pius
3ce226c8a9 wifi(vts): Precondition AP tests on existence of hostapd HAL am: 274eadd581 am: facaf07418 am: 1c0b3ad440
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1857796

Change-Id: I110bc87b44969847dc5dbcc3b778053247a2bc10
2021-10-15 08:05:21 +00:00
Roshan Pius
1c0b3ad440 wifi(vts): Precondition AP tests on existence of hostapd HAL am: 274eadd581 am: facaf07418
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1857796

Change-Id: Ib7e1c296a8768bda9a910851333c5e241d847089
2021-10-15 07:47:03 +00:00
Roshan Pius
82b41e6af9 wifi(vts): Precondition AP tests on existence of hostapd HAL
cp: aosp/1428863 to sc-v2-dev branch as b/202788915 mentioned

This used to be present on the old host side VTS tests, port the feature to
target side since host side VTS tests are deprecated.

Also,
i) Added a separate test: VtsHalWifiV1_4TargetTest to test the wifi
chip methods. Putting them in VtsHalWifiApV1_4TargetTest will prevent
these from running on devices without AP feature.
ii) Ensured all the non-NAN, non-RTT tests disable framework for
testing. NAN/RTT tests uses framework to check if the corresponding
package manager feature exists.

Bug: 166529516
Bug: 202788915
Test: atest \
VtsHalWifiApV1_0TargetTest \
VtsHalWifiApV1_4TargetTest \
VtsHalWifiV1_0TargetTest \
VtsHalWifiV1_4TargetTest

Change-Id: I05aab6992277601633a0f926a8262c4c27402e93
Merged-In: I05aab6992277601633a0f926a8262c4c27402e93
2021-10-15 15:22:49 +08:00
Jimmy Chen
81683c706f Merge "wifi: add wifi TL to vts owners" 2021-10-15 06:23:47 +00:00
Roshan Pius
274eadd581 wifi(vts): Precondition AP tests on existence of hostapd HAL
cp: aosp/1428863 to master branch

This used to be present on the old host side VTS tests, port the feature to
target side since host side VTS tests are deprecated.

Also,
i) Added a separate test: VtsHalWifiV1_4TargetTest to test the wifi
chip methods. Putting them in VtsHalWifiApV1_4TargetTest will prevent
these from running on devices without AP feature.
ii) Ensured all the non-NAN, non-RTT tests disable framework for
testing. NAN/RTT tests uses framework to check if the corresponding
package manager feature exists.

Bug: 166529516
Test: atest \
VtsHalWifiApV1_0TargetTest \
VtsHalWifiApV1_4TargetTest \
VtsHalWifiV1_0TargetTest \
VtsHalWifiV1_4TargetTest

Change-Id: I05aab6992277601633a0f926a8262c4c27402e93
2021-10-15 09:48:23 +08:00
Treehugger Robot
14598118e4 Merge "Backfill owner information for VtsHalWifi tests." am: 1caa761eeb am: 850ae76c91 am: bd41ebd041 am: db0de71976 am: eddf3fc3c6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1856688

Change-Id: Ia0a98b4dfd11330fddbf1d5e37a4ddc1edc18d68
2021-10-14 22:27:56 +00:00
Treehugger Robot
db0de71976 Merge "Backfill owner information for VtsHalWifi tests." am: 1caa761eeb am: 850ae76c91 am: bd41ebd041
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1856688

Change-Id: I535a4b631c20c465e3db6fe0d9f0b67e4fa95396
2021-10-14 22:09:26 +00:00
Treehugger Robot
bd41ebd041 Merge "Backfill owner information for VtsHalWifi tests." am: 1caa761eeb am: 850ae76c91
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1856688

Change-Id: Ie0c66bd0f589f6ae556466f7838419166e86e679
2021-10-14 22:01:36 +00:00
Treehugger Robot
1caa761eeb Merge "Backfill owner information for VtsHalWifi tests." 2021-10-14 21:34:00 +00:00
Treehugger Robot
110dc0a708 Merge "Revert "wifi: remove wifi instance name string check"" into android11-tests-dev am: c6a10ed866
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1435415

Change-Id: I6ebb7c6b84b45832a07dd43c198bee9ffbcfca3b
2021-10-14 21:11:32 +00:00
Veerendranath Jakkam
fce46f4642 wifi: Avoid doing iface reset when dynamic MAC update supported
Skip doing iface reset(down and up) to change MAC address if driver
indicates support for WIFI_FEATURE_DYNAMIC_SET_MAC.

Bug: 202424223
Test: atest VtsHalWifiV1_5TargetTest
Test: Manual - Connect STA to AP and check random mac is set
Change-Id: I86cf86e20893759a4e926571727943e4ee51d093
2021-10-14 12:59:29 -07:00
Yiming Pan
90a97607a2 Backfill owner information for VtsHalWifi tests.
Done for the following tests:
VtsHalWifiApV1_0TargetTest
VtsHalWifiApV1_4TargetTest
VtsHalWifiApV1_5TargetTest
VtsHalWifiNanV1_0TargetTest
VtsHalWifiNanV1_2TargetTest
VtsHalWifiV1_0TargetTest
VtsHalWifiV1_1TargetTest
VtsHalWifiV1_2TargetTest
VtsHalWifiV1_3TargetTest
VtsHalWifiV1_4TargetTest
VtsHalWifiV1_5TargetTest
VtsHalWifiOffloadV1_0TargetTest

Each VTS module is required to have an OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I4acdb9a3f7a81f078e4c60d7892a72a16f7ae9d2
2021-10-14 11:25:14 -07:00
Yiming Pan
683a4841bd Update OWNERS for VtsHalWifiSupplicant tests.
This is done for the following test modules:
VtsHalWifiSupplicantP2pV1_0TargetTest
VtsHalWifiSupplicantP2pV1_2TargetTest
VtsHalWifiSupplicantV1_0TargetTest
VtsHalWifiSupplicantV1_1TargetTest
VtsHalWifiSupplicantV1_2TargetTest
VtsHalWifiSupplicantV1_3TargetTest
VtsHalWifiSupplicantV1_4TargetTest

Test: Tree Hugger
Bug: 143903671
Change-Id: Ia2259c6d62223317f5d5c5aee8ae55655972180b
2021-10-14 18:10:04 +00:00
Treehugger Robot
0e50f5a36a Merge "Add a bug component for VtsHalWifiHostapd tests." am: 1c71faa2f2 am: af6f2a06fc am: 62a8263456 am: f97b9d7c1d am: 2cbf4903fa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793004

Change-Id: If7f68cc16b7140008d657f0044dc4bc50da7fa61
2021-10-14 05:33:04 +00:00
Treehugger Robot
f97b9d7c1d Merge "Add a bug component for VtsHalWifiHostapd tests." am: 1c71faa2f2 am: af6f2a06fc am: 62a8263456
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793004

Change-Id: I888734ea36f322650b7c46b12397dfea33fc7162
2021-10-14 05:09:52 +00:00
Treehugger Robot
62a8263456 Merge "Add a bug component for VtsHalWifiHostapd tests." am: 1c71faa2f2 am: af6f2a06fc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793004

Change-Id: I70223d414f015293472e1311ac14400999fd4832
2021-10-14 04:59:35 +00:00
Yiming Pan
507b4604bb Add a bug component for VtsHalWifiHostapd tests.
This is done for the following test modules:
VtsHalWifiHostapdV1_0TargetTest
VtsHalWifiHostapdV1_1TargetTest

Test: Tree Hugger
Bug: 143903671
Change-Id: I26b7981e340ac2fc9009f8741fc9e415d1a3c8f0
2021-10-13 15:18:51 -07:00
Jimmy Chen
dc36dd38b6 wifi: extending framework restart waiting time
10s is not enough for low-end devices, extending waiting time to
avoid false alarm for low-end devices.

Bug: 201184673
Test: atest VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I5b58a75fb20cbb65402785ba05355349f91fcd2b
2021-10-12 15:57:09 +08:00
Jimmy Chen
c76afc950f wifi: remove disable_framework option to pass the stopWifiFramework procedure
Stopping entire framework can cause other essential services to be
stopped. When wifi is stopped, it does not interact with any of the
wifi HAL's.

Bug: 201266536
Bug: 201184673
Test: atest --iterations 10 \
    VtsHalWifiSupplicantV1_0TargetTest \
    VtsHalWifiSupplicantV1_1TargetTest \
    VtsHalWifiSupplicantV1_2TargetTest \
    VtsHalWifiSupplicantV1_3TargetTest \
    VtsHalWifiSupplicantV1_4TargetTest \
    VtsHalWifiSupplicantP2pV1_0TargetTest \
    VtsHalWifiSupplicantP2pV1_2TargetTest \
    VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I07d9c70a50eb9558f05a915a4c0f26d721a104ac
2021-10-12 15:55:47 +08:00
Treehugger Robot
b946269dcd Merge "wifi(vts): Precondition AP tests on existence of hostapd HAL" into android11-tests-dev am: 0cd6bffb74
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1428863

Change-Id: Icda7f2ac0c099ea23b49183dcdeec1adbb44c105
2021-10-12 04:09:06 +00:00
TreeHugger Robot
f763d677c4 Merge "wifi: extending framework restart waiting time" 2021-10-11 15:59:17 +00:00
Treehugger Robot
b96c79b79e Merge "wifi: remove wifi instance name string check" into android11-tests-dev am: 70047281b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427817

Change-Id: I66fb9f41b4915b1d6a18a2cd1b510665bf17e86d
2021-10-11 15:42:38 +00:00
Jimmy Chen
4427c39c89 wifi: add wifi TL to vts owners
1.0 and 1.1 do not have OWNERS files.

Bug: 0
Test: N/A
Change-Id: I5682f68124af9087851d8f9885ee9fe2523ee25e
2021-10-11 22:32:37 +08:00
TreeHugger Robot
7e30d84d51 Merge "WIFI: Add log to debug onSubsystemRestart" into sc-qpr1-dev am: 8169c932e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15988967

Change-Id: I96a417467346a57b13c2efae12a183d78506afc3
2021-10-09 23:21:43 +00:00
chenpaul
69c3c22603 WIFI: Add log to debug onSubsystemRestart
onSubsystemRestart should be triggered by wifi HAL
when subsystem restart happened.

Add log to debug why this callback function was not trigger at
unexpected corner case.

Bug: 201330066
Test: Manual test
Change-Id: I160adc6006d078fcc72c1768927e87e378fd675e
Merged-In: I160adc6006d078fcc72c1768927e87e378fd675e
2021-10-08 20:56:37 +00:00
chenpaul
2fa7d52177 WIFI: Add log to debug onSubsystemRestart
onSubsystemRestart should be triggered by wifi HAL
when subsystem restart happened.

Add log to debug why this callback function was not trigger at
unexpected corner case.

Bug: 201330066
Test: Manual test
Change-Id: I160adc6006d078fcc72c1768927e87e378fd675e
2021-10-08 01:37:55 +00:00
Jimmy Chen
bb8087bee9 Merge "wifi: remove disable_framework option to pass the stopWifiFramework procedure" 2021-10-02 15:18:59 +00:00
Roshan Pius
3a5858a711 wifi: remove disable_framework option to pass the stopWifiFramework procedure
Stopping entire framework can cause other essential services to be
stopped. When wifi is stopped, it does not interact with any of the
wifi HAL's.

Bug: 201266536
Bug: 201184673
Test: atest --iterations 10 \
    VtsHalWifiSupplicantV1_0TargetTest \
    VtsHalWifiSupplicantV1_1TargetTest \
    VtsHalWifiSupplicantV1_2TargetTest \
    VtsHalWifiSupplicantV1_3TargetTest \
    VtsHalWifiSupplicantV1_4TargetTest \
    VtsHalWifiSupplicantP2pV1_0TargetTest \
    VtsHalWifiSupplicantP2pV1_2TargetTest \
    VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: Ia4a38c2e942681f323cf76941713c429e14870cc
2021-10-01 13:54:40 +08:00
TreeHugger Robot
2bf74b8c0a Merge "p2p: skip p2p test if p2p is not supported" 2021-10-01 03:30:02 +00:00
Jimmy Chen
ef3f77f831 wifi: extending framework restart waiting time
10s is not enough for low-end devices, extending waiting time to
avoid false alarm for low-end devices.

Bug: 201184673
Test: atest VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I9baa53a462b97738e6dc471cf06c2b9230b92c1c
2021-09-30 05:02:44 +00:00
Jimmy Chen
c484e5b627 p2p: skip p2p test if p2p is not supported
Bug: 200064365
Test: atest VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: Id35b36108a012ca1adace7c6ce87ec31813fba91
2021-09-24 15:19:26 +08:00
TreeHugger Robot
f25cfb3bd3 Merge "Fix VtsHalWifiSupplicantV1_3TargetTest fail" into stage-aosp-sc-ts-dev am: 3dedd1a0fe am: dc8303b4ae am: 3fba8288a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15847170

Change-Id: I1dc7bd03e1041aa9853372d95a90a534460447df
2021-09-17 23:44:52 +00:00
Roshan Pius
65c2c300ab vts(wifi): Stop wifi fully instead of stopping framework am: 874239047a am: 356437d474 am: 666e59d77f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15847168

Change-Id: Ifefebe8fee8a55293bbf15095d70af11d9001ed5
2021-09-17 23:44:51 +00:00
TreeHugger Robot
09a3f19711 Merge "Fix VtsHalWifiSupplicantV1_3TargetTest fail" into stage-aosp-sc-ts-dev am: 3dedd1a0fe am: dc8303b4ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15847170

Change-Id: I4d04523646e2a801b6aeebdd9c58eb805d55781f
2021-09-17 23:31:58 +00:00
Roshan Pius
eff16962db vts(wifi): Stop wifi fully instead of stopping framework am: 874239047a am: 356437d474
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15847168

Change-Id: Id0ff57dbbe32367a1b27d8b88ed9f324c361babe
2021-09-17 23:31:57 +00:00
TreeHugger Robot
3dedd1a0fe Merge "Fix VtsHalWifiSupplicantV1_3TargetTest fail" into stage-aosp-sc-ts-dev 2021-09-17 23:05:25 +00:00
henry-th.yeh
12ab21813b Fix VtsHalWifiSupplicantV1_3TargetTest fail
Remove disable_framework option to pass the
stopWifiFramework procedure.

Bug: 173081502
Bug: 199444489
Test: Build VTS
Test: run vts -m VtsHalWifiSupplicantV1_3TargetTest
-t PerInstance/SupplicantStaIfaceHidlTest#RegisterC
allback_1_3/default_default_0 --abi armeabi-v7a

Change-Id: I6813905b6c804c1c93ea59db9d8c255c2f7c45d9
2021-09-16 21:15:16 +00:00