Commit graph

1448 commits

Author SHA1 Message Date
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
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
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
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