Commit graph

1883 commits

Author SHA1 Message Date
Android Build Coastguard Worker
edd770491c Snap for 11275547 from 7446e52665 to 24D1-release
Change-Id: I4bca0547df227b375dd39d80530c896d2e46faa1
2024-01-05 00:18:14 +00:00
Android Build Coastguard Worker
8270b93181 Snap for 11269911 from 1486d3011e to 24D1-release
Change-Id: If70bc02688f3d97f7b2a4c2357164f56c0753a01
2024-01-04 00:18:07 +00:00
Steven Moreland
7446e52665 Merge "uevent.c: avoid POLLERR infinite loop" into main am: cc5dc08c15 am: 566a2901e9 am: 2d47fe3f42
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2878224

Change-Id: I08aac87aba9ee7b4e23427cdbc17b435e6e2aa73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 23:02:43 +00:00
Steven Moreland
2d47fe3f42 Merge "uevent.c: avoid POLLERR infinite loop" into main am: cc5dc08c15 am: 566a2901e9
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2878224

Change-Id: Ic0c5497a1e2a6de75e38c422efc8ef445002d915
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 22:15:56 +00:00
Steven Moreland
566a2901e9 Merge "uevent.c: avoid POLLERR infinite loop" into main am: cc5dc08c15
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2878224

Change-Id: I3262b82c9849723ce3930a2690a31157927e5c43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 21:44:32 +00:00
Steven Moreland
cc5dc08c15 Merge "uevent.c: avoid POLLERR infinite loop" into main 2024-01-03 21:03:18 +00:00
Steven Moreland
e44aa092c5 uevent.c: avoid POLLERR infinite loop
I have not reproduced this infinite loop.
An infinite loop may be more useful to debug.

Note, libhardware_legacy AIDL interface dependency
already includes liblog, so this won't change
which libraries are loaded.

Bug: 300009377
Test: N/A
Change-Id: I1f5545456e7074823f0f9df35496cbf5a2a012a4
2024-01-02 23:45:44 +00:00
Mahesh KKV
1486d3011e Add number of spatial streams for 11az results
Bug: 317922145
Test: m
Change-Id: I439f3cd2e4adc5ddcd444e9af322ab5fcddf6845
2023-12-27 16:11:38 -08:00
Android Build Coastguard Worker
ebab213ee9 Snap for 11227258 from 081ccd0011 to 24D1-release
Change-Id: Icd08ebf5c592b5b16e1d41903dc6b62c6b4bc48c
2023-12-16 04:17:55 +00:00
Mahesh KKV
081ccd0011 Merge "Make TWT wake interval 64 bit" into main 2023-12-15 18:26:50 +00:00
Nikita Putikhin
ce7bbb5409 Merge "Check that ISystemSuspend is declared before acquiring a wake lock" into main am: c315f49b2e am: a39da7cb44 am: 9cfa2eca98
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2870803

Change-Id: I81b054572ce193bdedf7b6f6b7f12ca430468f9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 11:19:52 +00:00
Nikita Putikhin
9cfa2eca98 Merge "Check that ISystemSuspend is declared before acquiring a wake lock" into main am: c315f49b2e am: a39da7cb44
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2870803

Change-Id: I5538810ba418fc988d338f60d20000b25edb1b99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 10:47:37 +00:00
Nikita Putikhin
a39da7cb44 Merge "Check that ISystemSuspend is declared before acquiring a wake lock" into main am: c315f49b2e
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2870803

Change-Id: Ibe65e62a2ebbb8a98ffc540e7d2862e6456cdfd5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 10:15:55 +00:00
Nikita Putikhin
c315f49b2e Merge "Check that ISystemSuspend is declared before acquiring a wake lock" into main 2023-12-15 09:47:35 +00:00
maheshkkv
b83596e8e6 Make TWT wake interval 64 bit
As the TWT Wake Interval Mantissa is a 2-byte field and TWT Wake
Interval Exponent is a 5-bit field, Maximum TWT Wake Interval = 65,535 x
[2^31] microseconds. So make TWT wake inteval 64 bit to avoid overflow.

Bug: 296108122
Test: m
Change-Id: Ib4736a98f50abd1b8d63e3c5fa32b2c540bbcb0f
2023-12-14 16:35:41 -08:00
Android Build Coastguard Worker
51f41b1bae Snap for 11221209 from 4b094d3591 to 24D1-release
Change-Id: Ic9150a09e24d226014107be8f7c80142f22c5949
2023-12-15 00:18:04 +00:00
maheshkkv
ba4e0aa3bd Fix 11az non-TB measurment time unit
Bug: 295619650
Test: m
BYPASS_INCLUSIVE_LANGUAGE_REASON=HE refers to High Efficiency.
Change-Id: I56e25cffece0d18e22dd9a8dee19fb38893e5021
2023-12-14 20:55:55 +00:00
maheshkkv
4b094d3591 Add I2R and R2I 11az LTF repetition count
Add IEEE 802.11az LTF repetition count for both I2R and R2I in 11az
RTT ranging result. Also remove the LTF repetition count from RTT
capabilities and config. The reason for removing is that vendor
software can pick the optimized value without an input from
framework.

Bug: 295619650
Test: m
Change-Id: I604421cbe8b792cc5fd9f766fd5e2422bc14e5bd
2023-12-14 09:07:30 -08:00
Android Build Coastguard Worker
26282200de Snap for 11216199 from 1ccf6c5f05 to 24D1-release
Change-Id: Ie35867e09b9f5ada73c1e1189acd682a7550536c
2023-12-14 00:18:26 +00:00
Nikita Putikhin
3ff648d5ff Check that ISystemSuspend is declared before acquiring a wake lock
On some systems (Minidroid & friends) there is no suspend-service, which
means that acquiring a wake lock would wait indefinitely. In our case
this prevented `adb bugreport` from working.

With this change if the service is not declared, acquire_wake_lock would
fail, as opposed to getting stuck.

Test: atest libpower_test
Test: block_suspend
  - works on aosp_cf_x86_64_phone-trunk_staging-userdebug
  - fails (expected) on aosp_cf_x86_64_minidroid-trunk_staging-userdebug

Bug: 291070376
Change-Id: Ie25f3d96e457aa7945f36c301e70b751d529e6c7
2023-12-13 12:00:35 +01:00
Isaac Chiou
1ccf6c5f05 Merge "Expanding WiFi SAR scenarios for CAP sensor" into main 2023-12-13 03:32:26 +00:00
Android Build Coastguard Worker
5053d22938 Snap for 11210311 from 9061e7a162 to 24D1-release
Change-Id: Iaf68db5c865e17a3b83b36aedfd57e64206afb77
2023-12-13 00:20:27 +00:00
Mahesh KKV
7826fc79ee Merge "Add TWT support for legacy vendor HAL" into main 2023-12-12 21:36:47 +00:00
maheshkkv
eca888d407 Add TWT support for legacy vendor HAL
Bug: 296108122
Test: m
Change-Id: I79c67f34b77dac100610cc2e22f22dd631ecc17a
2023-12-12 10:53:35 -08:00
Android Build Coastguard Worker
e78fe74de9 Snap for 11204362 from ab39d6ea62 to 24D1-release
Change-Id: I1894c06ec7acfd5bddb636c7334975d62cdc258c
2023-12-12 00:18:48 +00:00
Kai Shi
9061e7a162 Merge "Add capability bit for the cached scan data feature" into main 2023-12-11 23:21:33 +00:00
Xin Li
06f1fb7d4c [automerger skipped] Merge "Merge Android 14 QPR1" into main am: 53f0ce5f59 -s ours am: 9a6a1b3d4e -s ours am: 73b708661d -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: I264dbf40ac21d60006648238052ad29d78980162
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 23:00:38 +00:00
Xin Li
f865bca7c6 [automerger skipped] Merge Android 14 QPR1 am: 0a80706d87 -s ours am: c08c1ac9ed -s ours am: 65dd6bd9fa -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: Ide499df2f2c8e7f77146cb328a66ae0ea99d6798
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:57:38 +00:00
Xin Li
73b708661d [automerger skipped] Merge "Merge Android 14 QPR1" into main am: 53f0ce5f59 -s ours am: 9a6a1b3d4e -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: I087597ab2ccc3357bb66646b0b8ea31ece372ae6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:05:28 +00:00
Xin Li
65dd6bd9fa [automerger skipped] Merge Android 14 QPR1 am: 0a80706d87 -s ours am: c08c1ac9ed -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: Icfb572f559ef99291aad4ef186c9ca1c840bc7a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:02:26 +00:00
Xin Li
9a6a1b3d4e [automerger skipped] Merge "Merge Android 14 QPR1" into main am: 53f0ce5f59 -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: Ib92d2e624281542f8f992104896a0a35313abdb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 21:19:46 +00:00
Xin Li
c08c1ac9ed [automerger skipped] Merge Android 14 QPR1 am: 0a80706d87 -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: I014fcffa07ca3e5c6aee14ef68d22bb34e626e60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 21:16:36 +00:00
Mahesh KKV
ab39d6ea62 Merge "Add IEEE 802.11az support for legacy HAL" into main 2023-12-11 18:35:31 +00:00
maheshkkv
7ea8202556 Add IEEE 802.11az support for legacy HAL
Bug: 295619650
Test: Run RTT with WifiRttScan app
Change-Id: I22ea32e3845ae3e285ac29be8d5531018cd8c2b3
2023-12-11 01:29:15 +00:00
Android Build Coastguard Worker
3f092a624d Snap for 11200149 from 77f5f11fc5 to 24D1-release
Change-Id: I57695d9b68e6fdd8cafcf4e73dc9cfbee853989c
2023-12-09 04:17:46 +00:00
Kai Shi
1e6e9b8117 Add capability bit for the cached scan data feature
Test: compilation
Bug: 269485350
Change-Id: Ib8d01c97d095ec598a81f083464e05222352ece1
2023-12-08 17:25:59 -08:00
Les Lee
77f5f11fc5 Merge "wifi: Supports new feature flag about Voip mode" into main 2023-12-09 00:48:08 +00:00
Xin Li
53f0ce5f59 Merge "Merge Android 14 QPR1" into main 2023-12-09 00:11:53 +00:00
Xin Li
0a80706d87 Merge Android 14 QPR1
Merged-In: I1031deea32ae4c5c3d432a2fceecda86a8158c10
Bug: 315507370
Change-Id: Ibd9c5114d2d6a2bb8fc4f3d326adecb442c054cf
2023-12-08 13:14:16 -08:00
Nate Jiang
edcec4bb31 Merge "[Wifi-Aware]- Pairing related interface changes." into main 2023-12-08 19:15:09 +00:00
Les Lee
1861cc223c wifi: Supports new feature flag about Voip mode
Bug: 295885471
Test: manual test, wifi works normally
Change-Id: I44e6d741a924e16a480476f864d08f5545081846
2023-12-08 01:22:32 +00:00
Les Lee
7bc634dc1d Merge "wifi: rename mode 'ON' to 'VOICE'." into main 2023-12-07 23:23:02 +00:00
Isaac Chiou
7b7f24071c Expanding WiFi SAR scenarios for CAP sensor
Add more scenarios for CAP sensor enabled case

Bug: 307167824
Test: New scenarios can be set properly
Change-Id: I80a91108b650adbe4ff4c0a7986acbe8b193cf77
2023-12-07 08:44:32 +00:00
divya.n1
da2ba3d9a2 Add support bit for the roaming mode feature
in libhardware_legacy.

Bug: 269196966
Test: m

Change-Id: I987abe655bb1beb20ae479bb245b586c9832202f
2023-12-07 00:50:30 +00:00
Ajay Davanageri
6c9a9b470d [Wifi-Aware]- Pairing related interface changes.
Bug: 292462023
Test: Verified using the halutil cl.

Change-Id: I93d30ca48a63f0600c2a1028f89c31b10c7c534f
2023-12-06 15:55:42 -08:00
Les Lee
890a8f67f6 wifi: rename mode 'ON' to 'VOICE'.
To improve clarity and accommodate future functionalities,
we should rename the existing 'ON' mode to 'VOICE'.
This change establishes 'VOICE' as the fundamental mode for VOIP operations.
Additionally, it paves the way for adding future modes, such as 'VOICE_VIDEO',
as the system evolves.

Bug: 295885471
Test: TH
Change-Id: I1eeab83f2c0f2e6b67cf4c694796eadf5f53cda7
2023-12-05 09:28:16 +00:00
Android Build Coastguard Worker
deeead78b4 Snap for 11176174 from d961824689 to 24D1-release
Change-Id: Ibdc86cec4d5be3b85f46bf9e56dd2330aabfd5a4
2023-12-05 03:47:24 +00:00
Nate Jiang
d961824689 Merge "wifinan: Add interface changes to config csia capabities and gtk protection" into main 2023-12-04 23:51:56 +00:00
divya.n1
0a5f2e437c Add aggressive roaming support to libhardware_legacy.
Bug: 269196966
Test: m
Change-Id: Iac41f2fe29a2a605b5ac51d9b03e9e07a0d38a08
2023-12-01 01:36:22 +00:00
Vinay Gannevaram
4f5f981889 wifinan: Add interface changes to config csia capabities and gtk protection
Configure CSIA capabilities and gtk protection during NDP setup to enable
Group key security for group data and management frames

Bug: 294810242
Test: build
Change-Id: Iadfcfb98aa59e837a9f87871f5ee936ba3e947b9
2023-11-29 10:57:48 -08:00