Kumar Anand
10a68d8d0c
Wifi: Filter usable channels by Coex, Concurrency am: 33adbb23f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13549368
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8ee833d0f05f2db03f0612000b1dc0f8ddf0e2fe
2021-02-17 03:27:59 +00:00
Kumar Anand
2307f5369f
Wifi: Filter usable channels by Coex, Concurrency am: 33adbb23f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13549368
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I29cdd327f62a58d73cd1cdfee1489a2db5dbaa9d
2021-02-17 03:27:40 +00:00
Kumar Anand
33adbb23f6
Wifi: Filter usable channels by Coex, Concurrency
...
Add ability to filter usable channnels due to coex &
concurrency limitations. Normally in standalone mode,
list of usable channels is dictated by regulatory. But
list of usable channels could be additionally limited
due to coex and also due to concurrency limitations.
Bug: 160212907
Test: Using halutil
Change-Id: Iafde3b4fe9ca8986404ee078ed0a1a31062a4bbb
2021-02-16 14:12:48 -08:00
Bob Badour
9380e9875c
[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy
...
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
audio/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Id879ff71929846da71ae2df96ab748a4ad464d82
2021-02-12 16:32:13 -08:00
Kumar Anand
12989192d6
Wifi: New API to query the list of usable channels am: b25c2d1d71
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13429641
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia33cc0ff8fe0bc7720e83147206c1e1c648033df
2021-02-02 04:17:12 +00:00
Kumar Anand
e1c03be40b
Wifi: New API to query the list of usable channels am: b25c2d1d71
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13429641
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4b35bf33e4c7832fc2181371d31cba4158be1dae
2021-02-02 04:16:56 +00:00
Kumar Anand
b25c2d1d71
Wifi: New API to query the list of usable channels
...
Introduce a new API that can be used to query what modes (SAP,
STA, WFD Client, WFD Group Owner, TDLS, NAN) can be supported
on each channel. With this new API driver, has flexibility to
indicate to framework unambiguously what channels are usable
by each mode. Until now, framework had to derive this using
one of the NL80211_FREQUENCY_ATTR_X (NO_IR, DFS, INDOOR) which
is not sufficent to unambiguously determine allowed channels
for each interface modes.
Bug: 160212907
Test: Using halutil
Change-Id: I25ce9b5083bd6fb650e02c5113bc11b559e80cb5
2021-01-28 20:54:18 +00:00
Kai Shi
8485407bcc
Add wifi_set_dtim_config for power optimization
...
Add the new HAL API for WLAN power optimization in the suspend mode.
Test: halutil test
Bug: 170678227
Change-Id: Icff3d01585213431be539913c8d229fdc4875934
2021-01-11 20:30:17 -08:00
Damon Kim
359fa1d1ba
HAL: Fix to support CCA Level and Load info in WiFi link-layer statistics.
...
- CCA Level and Load info
(Channel Utilization and Station Count from BSS load IE in beacon)
- For supporing this feature,
DHD and HALUTIL also should be fixed accordingly. (>= DHD 101.10.460)
Bug: 173477163
Test: Builds successfully
Change-Id: Ic1bd3e26888f8005fdb6c14d8ffeee9d3d04c3d3
2021-01-07 14:34:50 -08:00
Kai Shi
3adc28c891
Add HAL API for VoIP optimization
...
Add HAL API for VoIP optimization. This includes set_voip_mode() as well
as TWT control related API.
Test: compilation
Bug: 166311728
Change-Id: Ib1210cf200ed692433626b8df549262ddf660359
2020-12-18 12:51:42 -08:00
Quang Luong
f499981aa0
libhardware_legacy(wifi): Add enum for wifi coex restrictions
...
Add custom enum for wifi coex since IfaceType is not suitable for
bitmasks.
Bug: 153651001
Test: build
Change-Id: I58b55c64f5358ff26fc45451b66e8818bb3c3d30
2020-12-15 05:49:48 +00:00
Quang Luong
85f84d3796
libhardware_legacy(wifi): Add coex APIs
...
Bug: 153651001
Test: build
Change-Id: Id7f551fd2446a0484e229145a14ef27facaeab97
2020-12-04 18:18:52 -08:00
Treehugger Robot
e7d9ae1c91
[automerger skipped] Merge "Convert mask types from uint32_t to enum type" am: df5a00d27b
am: 1da7880c26
am: 60185e956c
-s ours
...
am skip reason: Change-Id I6366511b421ccab2782310ecc15a13e08d9c17af with SHA-1 afea6a410f
is in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1510516
Change-Id: I7d99cb74afd6c8c0fe84c75961633fbe7cd5d8e3
2020-12-01 18:27:58 +00:00
Treehugger Robot
60185e956c
Merge "Convert mask types from uint32_t to enum type" am: df5a00d27b
am: 1da7880c26
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1510516
Change-Id: If168d378ac5793e151f2b502b004e4da515865e7
2020-12-01 18:08:52 +00:00
Treehugger Robot
1da7880c26
Merge "Convert mask types from uint32_t to enum type" am: df5a00d27b
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1510516
Change-Id: I1cc5c8b2b2285d5fc6d804e3fe40f47d3c65a91b
2020-12-01 17:42:20 +00:00
Treehugger Robot
df5a00d27b
Merge "Convert mask types from uint32_t to enum type"
2020-12-01 17:06:51 +00:00
Xin Li
8a620e0be3
Mark ab/6881855 as merged am: 4306b861b2
am: 4b25e69376
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13111233
Change-Id: I1d649c1811aa742164534d6550be43e068f3fa72
2020-11-25 03:19:39 +00:00
Xin Li
4b25e69376
Mark ab/6881855 as merged am: 4306b861b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13111233
Change-Id: I843ea57cb87448fda2806bd72bbd329aabb9be7b
2020-11-25 03:07:52 +00:00
Mikhail Naganov
0fb2f22696
Convert mask types from uint32_t to enum type
...
This applies to the following types:
- audio_gain_mode_t;
- audio_flags_mask_t;
- audio_channel_representation_t;
- audio_channel_mask_t;
- audio_devices_t.
Enum types are distinct thus proper overloading on the type
is possible in C++. Also, assignments to enum types are
less prone to errors.
Bug: 169889714
Test: basic audio functionality
Change-Id: I6366511b421ccab2782310ecc15a13e08d9c17af
Merged-In: I6366511b421ccab2782310ecc15a13e08d9c17af
2020-11-24 03:42:39 +00:00
Xin Li
4306b861b2
Mark ab/6881855 as merged
...
Bug: 172690556
Change-Id: Ifea03ad1af58b03086f4527540df09657bf408cd
2020-11-23 11:31:20 -08:00
Michael Sun
da329da599
Merge "Update to use new android.system.suspend.control AIDL interface" am: 307c8e8d53
am: 55d8f268a9
am: 2e4633d238
am: cadb0b395e
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1480617
Change-Id: I9ac920d1abd0fd42ab68973caf4bdab5286e9bcb
2020-11-06 19:40:26 +00:00
Michael Sun
cadb0b395e
Merge "Update to use new android.system.suspend.control AIDL interface" am: 307c8e8d53
am: 55d8f268a9
am: 2e4633d238
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1480617
Change-Id: I2681b7ad8b87965ff4fe8fd38118ffcfc35d1435
2020-11-06 19:20:04 +00:00
Michael Sun
2e4633d238
Merge "Update to use new android.system.suspend.control AIDL interface" am: 307c8e8d53
am: 55d8f268a9
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1480617
Change-Id: If27d8017873ad3e802b3a57b3d9c5e1069341470
2020-11-06 19:05:53 +00:00
Michael Sun
55d8f268a9
Merge "Update to use new android.system.suspend.control AIDL interface" am: 307c8e8d53
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1480617
Change-Id: I84df993d0c1b15769d60e2dcbf2c86fa66d97195
2020-11-06 17:39:23 +00:00
Michael Sun
307c8e8d53
Merge "Update to use new android.system.suspend.control AIDL interface"
2020-11-06 17:35:58 +00:00
Michael Sun
2ab27a5e1e
Update to use new android.system.suspend.control AIDL interface
...
The suspend_control_aidl_interface is updated, renamed, and splitted
into android.system.suspend.control and
android.system.suspend.control.internal. Update to use the correct
interfaces.
Test: atest libpower_test
Bug: 171598743
Change-Id: I707f5cb868e6756147587e0e097e77ec50995bd4
2020-11-03 04:34:38 +00:00
Roshan Pius
85bac74511
Merge "libhardware_legacy(wifi): Add STA + STA APIs"
2020-10-20 23:18:30 +00:00
Nate Jiang
4eb8117537
Merge "[Aware] Add instant mode support"
2020-10-20 16:19:00 +00:00
Roshan Pius
354fe63de7
libhardware_legacy(wifi): Add STA + STA APIs
...
Bug: 170305665
Test: Compiles
Change-Id: I23633ee79b27a602a609edf84efec49b39af0ac9
2020-10-19 17:33:46 -07:00
TreeHugger Robot
937a6813c3
Merge "Convert mask types from uint32_t to enum type"
2020-10-13 05:05:42 +00:00
Xin Li
c8c9cb64c0
[automerger skipped] Skip ab/6749736 in stage. am: be29278c3c
-s ours am: 64b3ae3cad
-s ours am: a4bb7bd5a1
-s ours
...
am skip reason: Change-Id Ie1c3b77e7aa7b41121aa855e294459e8fc32c58f with SHA-1 1021e13396
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/12797393
Change-Id: Idb402a10e109c2118631a6d8b8bded6938d59cad
2020-10-12 03:17:28 +00:00
Xin Li
a4bb7bd5a1
[automerger skipped] Skip ab/6749736 in stage. am: be29278c3c
-s ours am: 64b3ae3cad
-s ours
...
am skip reason: Change-Id Ie1c3b77e7aa7b41121aa855e294459e8fc32c58f with SHA-1 1021e13396
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/12797393
Change-Id: I24190625b667a1c6bc3da40ea89822a52f7ee701
2020-10-09 03:42:35 +00:00
Xin Li
64b3ae3cad
[automerger skipped] Skip ab/6749736 in stage. am: be29278c3c
-s ours
...
am skip reason: Change-Id Ie1c3b77e7aa7b41121aa855e294459e8fc32c58f with SHA-1 1021e13396
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/12797393
Change-Id: Ic257767606e96e64204868b747198ac216fff046
2020-10-09 03:23:00 +00:00
Xin Li
be29278c3c
Skip ab/6749736 in stage.
...
Merged-In: Ie1c3b77e7aa7b41121aa855e294459e8fc32c58f
Change-Id: Id1d0fa3001c520f80d1f95605f7e13213db562b5
2020-10-08 17:22:38 -07:00
Mikhail Naganov
afea6a410f
Convert mask types from uint32_t to enum type
...
This applies to the following types:
- audio_gain_mode_t;
- audio_flags_mask_t;
- audio_channel_representation_t;
- audio_channel_mask_t;
- audio_devices_t.
Enum types are distinct thus proper overloading on the type
is possible in C++. Also, assignments to enum types are
less prone to errors.
Bug: 169889714
Test: basic audio functionality
Change-Id: I6366511b421ccab2782310ecc15a13e08d9c17af
2020-10-08 17:25:28 +00:00
Treehugger Robot
ad5602aa0c
Merge "block_suspend: avoid CPU spinloop" am: 9a3f98fe6d
am: ca1925f900
am: e780e61a65
am: 3fe3db2c92
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1453335
Change-Id: I0821ad7ca3045ff217cafcebdcd30bbc6c4998a8
2020-10-07 23:20:18 +00:00
Treehugger Robot
3fe3db2c92
Merge "block_suspend: avoid CPU spinloop" am: 9a3f98fe6d
am: ca1925f900
am: e780e61a65
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1453335
Change-Id: I8a893e0603b8b8225728057ca3368f8ac70d713d
2020-10-07 22:57:01 +00:00
Treehugger Robot
e780e61a65
Merge "block_suspend: avoid CPU spinloop" am: 9a3f98fe6d
am: ca1925f900
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1453335
Change-Id: I587d0fa6338f9a31be1a04f95efc8f583622cf9a
2020-10-07 22:37:40 +00:00
Treehugger Robot
ca1925f900
Merge "block_suspend: avoid CPU spinloop" am: 9a3f98fe6d
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1453335
Change-Id: I64dc4f201be5a5c37ddfa5194c276a3c421003bd
2020-10-07 22:11:31 +00:00
Treehugger Robot
9a3f98fe6d
Merge "block_suspend: avoid CPU spinloop"
2020-10-07 21:58:30 +00:00
Steven Moreland
0e63fb5593
block_suspend: avoid CPU spinloop
...
For verification of blocked suspend or other unit testing, the spinloop
is fine. However, making it sleep so that it is more viable to assist
with power testing or for any other test where avoiding changes to
device performance is important.
Bug: N/A
Test: run, and ps:
root 4179 4168 18720 4724 __se_sys_nanosleep_time32 0 S block_suspend
Change-Id: I81545ae7db1c1fad2cb94d00456d1a6773868111
2020-10-07 18:03:00 +00:00
Xin Li
00a4952e17
[automerger skipped] Merge "Merge Android R" am: cff73710d4
-s ours am: b8799f91f5
-s ours am: fb376639c3
-s ours am: 12db30c415
-s ours am: 4537fb436c
-s ours
...
am skip reason: Change-Id Ia45f259338a1f8255e22c7ba6125e8149eaa9081 with SHA-1 936c77642d
is in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1422399
Change-Id: I1a12dfb59139354bd728d3585345f8fa0716cba2
2020-09-11 21:27:15 +00:00
Xin Li
4537fb436c
[automerger skipped] Merge "Merge Android R" am: cff73710d4
-s ours am: b8799f91f5
-s ours am: fb376639c3
-s ours am: 12db30c415
-s ours
...
am skip reason: Change-Id Ia45f259338a1f8255e22c7ba6125e8149eaa9081 with SHA-1 936c77642d
is in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1422399
Change-Id: I3494c35ec5ed13116ce250afcfbe99c3a8776a81
2020-09-11 03:58:46 +00:00
Xin Li
12db30c415
[automerger skipped] Merge "Merge Android R" am: cff73710d4
-s ours am: b8799f91f5
-s ours am: fb376639c3
-s ours
...
am skip reason: Change-Id Ia45f259338a1f8255e22c7ba6125e8149eaa9081 with SHA-1 936c77642d
is in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1422399
Change-Id: I0245f892a00f5c51c8d0a0d9bdf2e53de833b6ec
2020-09-11 03:33:15 +00:00
Xin Li
fb376639c3
[automerger skipped] Merge "Merge Android R" am: cff73710d4
-s ours am: b8799f91f5
-s ours
...
am skip reason: Change-Id Ia45f259338a1f8255e22c7ba6125e8149eaa9081 with SHA-1 936c77642d
is in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1422399
Change-Id: I7d8055b131b1a51714aca201f347a5e3f36028eb
2020-09-11 02:02:24 +00:00
Xin Li
b8799f91f5
[automerger skipped] Merge "Merge Android R" am: cff73710d4
-s ours
...
am skip reason: Change-Id Ia45f259338a1f8255e22c7ba6125e8149eaa9081 with SHA-1 936c77642d
is in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1422399
Change-Id: Iee6dab710c007de5b0f841a87004163aa2fc3e28
2020-09-11 00:39:43 +00:00
Xin Li
cff73710d4
Merge "Merge Android R"
2020-09-10 17:22:41 +00:00
Xin Li
5c585b6aed
Merge Android R
...
Bug: 168057903
Merged-In: Ia45f259338a1f8255e22c7ba6125e8149eaa9081
Change-Id: I780a337f81956c8fb9b33b2034e62f89ac3cf3e0
2020-09-08 16:55:30 -07:00
Xin Li
f2a3bdbe11
[automerger skipped] Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) am: 936c77642d
-s ours am: aa6ee6a69a
-s ours am: ea9f4a294f
-s ours am: 8f8ba91d47
-s ours
...
am skip reason: Change-Id I5081765a1f7067786819df994029cd37a56ec570 with SHA-1 241bea678f
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/12470018
Change-Id: I71fc9b0e529a394dfde3244dac482347bfd1fa15
2020-09-02 01:59:09 +00:00
Xin Li
8f8ba91d47
[automerger skipped] Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) am: 936c77642d
-s ours am: aa6ee6a69a
-s ours am: ea9f4a294f
-s ours
...
am skip reason: Change-Id I5081765a1f7067786819df994029cd37a56ec570 with SHA-1 241bea678f
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/12470018
Change-Id: Iaadab5c4458d21648f7885078030853357dff132
2020-09-01 22:09:43 +00:00