Commit graph

387 commits

Author SHA1 Message Date
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
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
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
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
Jooyung Han
c3f8861bb8 Merge "Remove AIDL-libs from VNDK" 2022-06-20 01:15:09 +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
Jiyong Park
70f5837e1f Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: I61eb51c0334eb99489c6f1570110d7e18c350c99
2022-04-16 07:03:24 +09:00
Jiyong Park
703e97920e Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: Ie41cc0797710f813f92c65c387f247c7806d8394
2022-03-31 12:01:39 +09: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
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
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
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
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
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
Jimmy Chen
6deedfe255 Merge "p2p: add new HAL API to pass vendor-specific data" 2022-02-08 23:51:45 +00: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
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
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
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
TreeHugger Robot
a6edb0b76c Merge "wifi: add API for setting roaming consortium selection" 2022-01-25 00:58:24 +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
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
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
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
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
Gabriel Biren
ac91c7c9dd Merge "Allow VTS tests to pass on devices without Supplicant AIDL." 2022-01-12 22:52:18 +00:00