Commit graph

1883 commits

Author SHA1 Message Date
Vinay Gannevaram
299868492d Update NAN MAJOR and MINOR version to 4.0.0 am: 787b2cd73a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/23039200

Change-Id: Icb57bb87efe7f4dac654345b82a551209ecba9cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-05 22:25:22 +00:00
Vinay Gannevaram
11ea8d4853 Update NAN MAJOR and MINOR version to 4.0.0 am: 787b2cd73a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/23039200

Change-Id: I32568cc10f6535421b32dce79fd5ae16b26edd7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-05 22:25:20 +00:00
Vinay Gannevaram
ee877f8ab9 Update NAN MAJOR and MINOR version to 4.0.0 am: 787b2cd73a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/23039200

Change-Id: I9849ac965be2dc1ddc4a8ab634cefc2077640105
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-05 22:20:58 +00:00
Vinay Gannevaram
787b2cd73a Update NAN MAJOR and MINOR version to 4.0.0
As NAN interface supports the functionality of WiFi-Aware 4.0
specification, update MAJOR and MINOR version accordingly

Bug: 280415518
Test: TH
Change-Id: I29c80311ba5447aebeba9d455d81293f23c20a1d
2023-05-04 13:57:26 -07:00
Vinay Gannevaram
3146988b71 Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f am: 37993e4500 am: f301888e1f am: f48532f5df
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: I9907b103864137c8882c0eaccdf6ab451268d121
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 02:19:43 +00:00
Vinay Gannevaram
5fd5cdc7a2 Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f am: 73cfea07e4 am: 12c385002a am: 8c21535541
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: I6c30c501da4eefaffd38f58c08212c451cd1fa5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 02:10:57 +00:00
Vinay Gannevaram
f238e3dd70 Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f am: 73cfea07e4 am: 52c2402f19 am: f74a02a895
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: I21b4cb779f9eb7d986a7e741d05dd63df5e4bc01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 01:59:16 +00:00
Vinay Gannevaram
f48532f5df Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f am: 37993e4500 am: f301888e1f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: Ic6fcbfb10051dfa29074c3feab1ed1f6fb365a61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 00:56:52 +00:00
Vinay Gannevaram
8c21535541 Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f am: 73cfea07e4 am: 12c385002a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: Ia1e2a129f4afd57d88b77f80fb3cf15f6fd63812
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 00:53:29 +00:00
Vinay Gannevaram
f74a02a895 Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f am: 73cfea07e4 am: 52c2402f19
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: Iccc9501ba3641805a890c9e2ccac9c69eb136f73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 00:51:15 +00:00
Vinay Gannevaram
f301888e1f Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f am: 37993e4500
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: Ie7ec6208e462e9c3286c4a9286484a921ed0674d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 00:19:11 +00:00
Vinay Gannevaram
12c385002a Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f am: 73cfea07e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: I7ff4d15856142531cd6142d975db14e7e241636b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 00:09:37 +00:00
Vinay Gannevaram
52c2402f19 Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f am: 73cfea07e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: Iceb29b77ba8d48d88127cadeb97d60fd4660d978
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 00:07:28 +00:00
Vinay Gannevaram
b61a395af6 Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f am: 81aa39fa47
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: I6b42fdc54534febd260707c451a4967c75d892a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 23:44:35 +00:00
Vinay Gannevaram
73cfea07e4 Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: I9b701924570860babbf32d09a212309140ac2eaa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 23:34:49 +00:00
Vinay Gannevaram
81aa39fa47 Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: I5d13f9fcb319a4b447331a32743422d6882015e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 23:05:03 +00:00
Vinay Gannevaram
37993e4500 Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651

Change-Id: I8fee545e6de4fea327056ec4dfc8a41203e323ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 23:01:39 +00:00
Vinay Gannevaram
d1de22e90f Interface changes for Aware 4.0 Bootsrapping and Shared Key
Some methods like service managed bootstrapping required SDEA attribute to
carry service specific information during bootstrapping handshake. Also
once Pairing is setup User can transmit follow up frames to share NIK to the
peer which should carry shared key descriptor. Comeback timeout can be set by
Bootstrapping responder to defer the ongoing handshake.
Hence Add interface changes for above requirements.

Bug: 279363671
Test: build, flash and CtsWifiTestCases
Change-Id: I67c4e5283189cfc80ef86b610d9d7f021ff4b29b
2023-04-26 17:03:13 -07:00
Nate Jiang
dbdbb54d25 NAN R4 additional iface changes for WFA certification am: 2b3c3a49bf am: 04fd890efa
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/21526865

Change-Id: Ib96a2a5cc085121b252481e178c4283d0ddcc190
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 02:08:20 +00:00
Nate Jiang
4ff000de2e NAN R4 additional iface changes for WFA certification am: 2b3c3a49bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/21526865

Change-Id: I4cc6366b5462d035663a4bac9d2d539ca80e9d81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 01:16:45 +00:00
Nate Jiang
04fd890efa NAN R4 additional iface changes for WFA certification am: 2b3c3a49bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/21526865

Change-Id: I529b73d7ae1255a597bdad96884561323f4ca4ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 01:12:01 +00:00
Nate Jiang
2b3c3a49bf NAN R4 additional iface changes for WFA certification
Bug: 269440402
Test: build
Change-Id: Ieaa28d5a5b71ca755f06b72c24fa8090179eeb4a
2023-02-21 21:48:40 +00:00
Mahesh KKV
f4ca30e56e Merge "Add wifi hal API for Multi-Link Operation mode" 2023-02-16 02:00:57 +00:00
Mahesh KKV
624e87ccb1 Merge "Add TID-To-Link mapping negotiation feature" 2023-02-16 01:27:52 +00:00
Nate(Qiang) Jiang
2bdc960423 Merge "Modify HAL for Aware suspension mode" 2023-02-15 23:24:00 +00:00
Mahesh KKV
b469837ed3 Merge "Add maximum association link count" 2023-02-15 21:58:07 +00:00
Mahesh KKV
da7fe36ab5 Add wifi hal API for Multi-Link Operation mode
Bug: 268235139
Test: Build successfully
Change-Id: Ia103ecc2b5cad29520c7b4235ccc051629561fdc
2023-02-15 12:15:09 -08:00
Nate Jiang
1e1b31581d Modify HAL for Aware suspension mode
- Add an event to know the device is suspended
- More status code
- Add pub_sub_id in the datapath request to build the relationship

Bug: 247913151
Test: build
Change-Id: I1ce107aa9abe1f31b738a382faecb8503cf09816
2023-02-15 17:00:57 +00:00
maheshkkv
3c54751d17 Add maximum association link count
Maximum MLO association link count can be an input for MLO scoring
logic. If the candidate AP has less number of links to associate,
scroring logic can give a weightage to an AP with matching links as
station Assumption here is when the environment becomes better, the
AP with less score now can be a better choice.

Bug: 269336948
Test: Build successfully
Change-Id: I1fe60f68fb99b0cb00a851981cbe45cde74457e1
2023-02-15 07:04:36 +00:00
maheshkkv
f716fa48a8 Add TID-To-Link mapping negotiation feature
Bug: 268219346
Test: Build successfully
Change-Id: I7b875e7fd0583ae4b4d48a284cf30af6602f9511
2023-02-13 22:58:41 -08:00
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