Commit graph

1753 commits

Author SHA1 Message Date
Nate Jiang
b505efe7ff Modify based on the vendor feedback
- Add end pairing request method
- Handle bootstrapping comeback event
- Add cipher type in the pairing request
- Remame AKM to NAN specific

Bug: 265075699
Test: cts sinlgeDeviceTest
Change-Id: Ic55370873ba8d938ea32f63b3e69253ee47bd969
2023-02-13 17:26:19 -08:00
Mahesh KKV
ef9956a53b Add link state for link layer stats
Bug: 263029630
Test: Build successfully
Change-Id: I31a7ab0893fc8168d16a68631f5e06d4170ef71d
2023-02-10 14:16:11 -08:00
Mahesh KKV
cd75a54c4a Rename max_mlo_link_count to max_mlo_str_link_count
The maximum number of Simultaneous Transmit Receive (STR) links used in
Multi-Link Operation can be different from the maximum radios supported
by the chip.Explicitly mention the max links as max STR links. Update
the description and usage of the capability field.

Bug: 267963579
Test: build and wifi connection

Change-Id: Ic12055a4a340aeff15382e198a76328431f9def6
2023-02-05 20:37:01 -08:00
Oscar Shu
55f43fb91e Legacy wifi feature flag for AFC channel allowance
Bug: 242917176
Test: compile
Change-Id: Ida30239103d751eb4c7ce5bf96e8068a92a77247
2023-02-01 21:32:19 +00:00
Ye Jiao
282246a8ad Move setScanMode to legacy HAL
Cherry-pick from: https://partner-android-review.git.corp.google.com/c/platform/hardware/libhardware_legacy/+/2368871
Implementation of setScanMode is platform-specific. It's more reasonable to move it the legacy HAL like other platform-specific APIs.

Bug: 265866990
Test: manual Test
Test: VTS
Change-Id: I2e9d30698a8bcb915a746f6253ec3b6e6d903bc0
2023-01-27 05:07:04 +00:00
Nate Jiang
36cff5cd7d Move the newly added method to the end of the function table
This can avoid pointer mismatch due to HIDL is using a cached version of
the legacy HAL.

Bug: 265396931
Test: build and wifi connection
Change-Id: Id56c4b315cbd84f8ba69f7d7e12b3d07e656defb
2023-01-26 03:01:50 +00:00
Biswarup Pal
52e781f927 Merge "Add suspendable option in NanPublishRequest and NanSubscribeRequest" 2023-01-12 10:55:41 +00:00
Phill Hayers
4f30a17322 Add a new function in wifi_hal_fn table for suspend/resume.
Bug: 259950106
Test: m android.hardware.wifi-update-api
Change-Id: I6d9b8baef13f07a684d5486576c3298be1e5e482
2023-01-11 15:43:03 +00:00
Biswarup Pal
b3d0989c55 Add suspendable option in NanPublishRequest and NanSubscribeRequest
Test: m
Bug: 263014869
Change-Id: I71f28b36be13befaf4d7f85dfab369593bc8e61d
2023-01-11 13:09:47 +00:00
Biswarup Pal
2ebbe247b0 Add NAN suspension flag to NanCapabilities HAL
Test: m
Bug: 262872127
Change-Id: I1c59200af16f31cd801d06e15eb3a9f64664aa73
2023-01-09 23:36:32 +00:00
Biswarup Pal
5bfb836888 Merge "Revert "Revert "[Aware] Add paramters in NanConfigRequest to sup..."" 2023-01-09 23:30:52 +00:00
Biswarup Pal
584f074153 Revert "Revert "[Aware] Add paramters in NanConfigRequest to sup..."
Revert submission 20917465-revert-20813956-issue-262873111-API-set-clusterId-newAPI-FRIOZCUQWG

Reverted changes: /q/submissionid:20917465-revert-20813956-issue-262873111-API-set-clusterId-newAPI-FRIOZCUQWG

Change-Id: I71fd896e76e996a01a7c50237a9777f33bc11367
2023-01-09 21:21:22 +00:00
Sujit Kautkar
82ad3815f8 Merge "Revert "[Aware] Add paramters in NanConfigRequest to support set..."" 2023-01-09 21:16:21 +00:00
Sujit Kautkar
0a60d07159 Revert "[Aware] Add paramters in NanConfigRequest to support set..."
Revert submission 20813956-issue-262873111-API-set-clusterId-newAPI

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_master&target=oriole-userdebug&lkgb=9469876&lkbb=9470237&fkbb=9469914, bug b/264915970

Reverted changes: /q/submissionid:20813956-issue-262873111-API-set-clusterId-newAPI

Bug: 264915970
Change-Id: I59be92a57e6c6086b9a652bf19adf4391fc4d2d8
2023-01-09 21:06:54 +00:00
Sherri Lin
8bb933d584 Merge "[Aware] Add paramters in NanConfigRequest to support setting cluster id" 2023-01-09 19:04:11 +00:00
Shuibing Dai
38ea4fc717 Add a new function in wifi_hal_fn table for wifi indoor/dfs channel usage
Vendor can enable/disable STA-connected indoor or DFS channels for WFA Go, SAP and Wi-Fi Aware.

Bug: 207669954
Test: m android.hardware.wifi-update-api
Change-Id: Ifc6646b01b0fec082ee8f92ba483f0d4102610df
2023-01-05 18:15:24 -08:00
Sherri Lin
267d9197b8 [Aware] Add paramters in NanConfigRequest to support setting cluster id
Bug: 262872131
Test: build
Change-Id: I55a588eb03d44236efff9bdd00c7e861bb090b66
2022-12-29 19:48:35 +01:00
Jooyung Han
163659c768 Merge "Remove libbinder from libpower" am: 250b4c2b0a am: d74e0baa5e am: 59ea5641dc
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2370628

Change-Id: I614b44f7023b847192b2baa0614dc1d9259e1b9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 03:25:56 +00:00
Jooyung Han
59ea5641dc Merge "Remove libbinder from libpower" am: 250b4c2b0a am: d74e0baa5e
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2370628

Change-Id: I9e3337e778748803bb1befd8d380069842847a44
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 02:52:34 +00:00
Jooyung Han
d74e0baa5e Merge "Remove libbinder from libpower" am: 250b4c2b0a
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2370628

Change-Id: Idebc797cc42864a898dd5d99e2b26a506c25d2b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 02:21:12 +00:00
Jooyung Han
250b4c2b0a Merge "Remove libbinder from libpower" 2022-12-28 01:49:14 +00:00
Jooyung Han
426b958be8 Remove libbinder from libpower
libpower doesn't use libbinder.

Bug: 263762963
Test: libpower_test
Change-Id: I35378e1d8e67c455dc8a24693c74165d3be65429
2022-12-27 07:58:14 +00:00
Nate(Qiang) Jiang
9e0a2386ab Merge "[Aware] Wifi Aware 4.0 legacy HAL change" 2022-12-20 02:25:18 +00:00
TreeHugger Robot
22aa713e81 Merge "Add frequency/Bandwidth to RttResults" 2022-12-19 17:40:20 +00:00
Sunil Ravi
6fb46c645e Add frequency/Bandwidth to RttResults
Added frequency and RTT packet bandwidth in rtt
results data structure. Also added new rtt result callback
function. The newer vendor implementations which supports
sending frequency and bandwidth should call rtt result callback
version 2.

Bug: 222186547
Test: hardware/interfaces/wifi/aidl/default/tests/runtests.sh
Test: RTT test using wifi rtt scan app from playstore.
Change-Id: I3265baa477b73cddaff49cd4d9ee88692878365c
2022-12-16 21:57:16 +00:00
Mahesh KKV
d937de94dd wifi: Add radio_id and frequency to link layer stats
These two new parameters helps to find the mapping between link layer
stats, radio stat and channel info.

Bug: 258013268
Test: Builds successfully
Change-Id: I6bec665b581020c8b27ed2685c684d5ef8bf4107
2022-12-16 05:42:25 +00:00
Mahesh KKV
832ef8ef71 wifi: Add multi link stats support to legacy HAL
Multi-link operation (MLO) is considered a key feature in IEEE 802.11be,
which allows devices to transmit and receive data using multiple links
concurrently, thereby contributing to improving throughput and reducing
latency.

Currently HAL supports querying stats from single link. Add a callback
to get stats from multiple links supported by the Wi-Fi chip. Also keep
the callback to get single link layer stats as it is for backward
compatibility.

Multi link stats callback can be used for legacy case as well with
single link.

Bug: 246988155
Test: Builds successfully
Change-Id: Iea2649b6868e9b153ae31e5c05457c324f5b4e98
2022-12-15 02:37:50 +00:00
Nate Jiang
c4b6fa85b7 [Aware] Wifi Aware 4.0 legacy HAL change
To support Wifi Aware 4.0 with pairing

Bug: 249185683
Test: CtsWifiTest

Change-Id: I829a770b9a6ba2a3324d8d227d23e0ad2cdc0ac9
2022-12-13 17:58:15 -08:00
Purushottam Kushwaha
2832940b56 wifi_hal: Add interface to get driver supported iface combinations
Interface combinations may vary based on underlying hardware/firmware
and driver support. Add a new API to query the interface combination
matrix through vendor hal.

Bug: 249351396
Test: Build successfully
Change-Id: I51dae4b182ef60a0ab4f1b16d624c69e0a3aebc4
2022-12-13 00:00:59 +00:00
Sunil Ravi
7d67567dd8 wifi: Add number of TDLS sessions in chip capability
Bug: 240247868
Test: Manual - STA connect/disconnect
Change-Id: I54417931d4634085a9de490b9b07029b0c3c7b7f
2022-12-12 19:36:11 +00:00
Mahesh KKV
cac6d2ece8 wifi: Add HAL API to get wifi chip capabilities
Bug: 231497844
Test: Builds successfully
Change-Id: Ie7192ad484a9ecef3c6c98d03710af32c5558904
2022-12-12 19:36:07 +00:00
kensun
31684a15c2 Add HAL APIs to query cached scan results
Add HAL API to retrieve the on-chip scan results.

Bug: 232030878
Test: New API works fine
Change-Id: I0487d010078f4e33fef76a951cc87647746ac867
2022-11-10 02:30:49 +00:00
Xin Li
047d12b20a [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 19372f6f86 -s ours am: 6bba6f6e8b -s ours am: e02615b747 -s ours am: 78512d07d8 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2186772

Change-Id: Ia1d4c37b7fe5c80a40e9ea3976ce0f4adf8e9176
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 06:52:25 +00:00
Xin Li
459695f527 [automerger skipped] DO NOT MERGE - Merge Android 13 am: ef7af70346 -s ours am: ef42f25735 -s ours am: 46723493b3 -s ours am: 4ff12dc0b0 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2186772

Change-Id: I504792392be3c191bc1f5005b36c385aeebfe2ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 06:52:23 +00:00
Xin Li
78512d07d8 [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 19372f6f86 -s ours am: 6bba6f6e8b -s ours am: e02615b747 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2186772

Change-Id: I1ff719fb25245e49794f78c54ce94668e012eb64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 01:35:34 +00:00
Xin Li
4ff12dc0b0 [automerger skipped] DO NOT MERGE - Merge Android 13 am: ef7af70346 -s ours am: ef42f25735 -s ours am: 46723493b3 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2186772

Change-Id: I80f2d162b3a8ede8952c16e1cd9ca1d3b716ad9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 01:35:33 +00:00
Xin Li
e02615b747 [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 19372f6f86 -s ours am: 6bba6f6e8b -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2186772

Change-Id: Ib8c6ea931d1212781a7e118f61c9f22813746116
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 01:13:12 +00:00
Xin Li
46723493b3 [automerger skipped] DO NOT MERGE - Merge Android 13 am: ef7af70346 -s ours am: ef42f25735 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2186772

Change-Id: I1ff7d8c6d9be45f95dc834b2d6f56b4ebdd830fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 01:13:11 +00:00
Xin Li
6bba6f6e8b [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 19372f6f86 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2186772

Change-Id: I23aa1be1007301a0c1b05608a613b82e5acbea5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 00:09:50 +00:00
Xin Li
ef42f25735 [automerger skipped] DO NOT MERGE - Merge Android 13 am: ef7af70346 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2186772

Change-Id: I10de865da777605b0ce46e56598e49f3d1f5e59d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 00:09:49 +00:00
Xin Li
19372f6f86 Merge "DO NOT MERGE - Merge Android 13" 2022-08-16 19:08:26 +00:00
Xin Li
ef7af70346 DO NOT MERGE - Merge Android 13
Bug: 242648940
Merged-In: I907687a4d71f48869617edc6e013639dfbccb851
Change-Id: Ib7aa70c369837edcf81d2840cb8a7c4f9f9f493b
2022-08-15 22:03:53 -07:00
Xin Li
367f62ddc7 [automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: 6ed3eb181a -s ours am: b97e68ca83 -s ours am: 39f398ac20 -s ours am: 197f8ae90d -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/19094442

Change-Id: I86d75b512e2ca03da90610739d96c31d3409552e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-30 01:04:34 +00:00
Xin Li
197f8ae90d [automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: 6ed3eb181a -s ours am: b97e68ca83 -s ours am: 39f398ac20 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/19094442

Change-Id: I3587158434b441534691180ae480ec252082926d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-30 00:02:01 +00:00
Xin Li
39f398ac20 [automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: 6ed3eb181a -s ours am: b97e68ca83 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/19094442

Change-Id: I1047a3d9e91a8749917f9f60e2de5a3d0401b73e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 22:56:18 +00:00
Xin Li
b97e68ca83 [automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: 6ed3eb181a -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/19094442

Change-Id: I11738fa3638344f64b41ef5a74d01b114c1d4262
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 22:12:47 +00:00
Xin Li
6ed3eb181a Merge tm-dev-plus-aosp-without-vendor@8763363
Bug: 236760014
Merged-In: I907687a4d71f48869617edc6e013639dfbccb851
Change-Id: I41b1f19fe185cb4c19f49342b69391b2ba4638d6
2022-06-27 23:38:54 +00:00
Isaac Chiou
a7cdf35d08 Add HAL APIs and configurations for Tx power limits am: 4172a388c7 am: 987d8ecbe5 am: 9b2aa1a36a am: 7a0c63d635
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: I783dec1f35b7cf788e736c8cfce218cbbea328e5
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 08:10:14 +00:00
Isaac Chiou
b048a09ced Add HAL APIs and configurations for Tx power limits am: 4172a388c7 am: fa4cbc5801 am: a92553e540 am: c3dc380d8b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: Ib54cdb0938ae2e535f05f724f090ffc505403210
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 08:09:50 +00:00
Isaac Chiou
9bcd9efd2d Add HAL APIs and configurations for Tx power limits am: 4172a388c7 am: fa4cbc5801 am: 47482b2a15 am: 4c4dbdd53c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: I9b12cb19a17a0c63cf1dc9a0966175b66e7761b4
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 08:08:59 +00:00