Kumar Anand
5fd47db094
Wifi: Remove multiple definitions am: f2eed442a6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13876726
Change-Id: I6389863b87e83bacdc00c1c1a4aae4a1b993833b
2021-03-16 00:56:16 +00:00
Kumar Anand
97e879aaf6
Wifi: Remove multiple definitions am: f2eed442a6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13876726
Change-Id: Ia1d865e28738731853f08874024a543e2e584d18
2021-03-16 00:56:07 +00:00
Kumar Anand
f2eed442a6
Wifi: Remove multiple definitions
...
Remove compilation warnings due to -Wtypedef-redefinition.
Bug: 160212907
Test: Build Successfully
Change-Id: I8925cf33fa64fbba4a6cbb782ecc107a7741fe87
2021-03-15 11:27:54 -07:00
Kalesh Singh
4a11b19769
Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0
am: e3a6357533
am: 9176bf1929
am: a731921669
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1592033
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icab1ed6a0d89f8f956ab64b1f6e3eb3575ec59f6
2021-02-25 00:27:24 +00:00
Kalesh Singh
97ed13f792
Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0
am: e3a6357533
am: 9176bf1929
am: a731921669
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1592033
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic37c06a8bc9c56d024d425a3a26cd597c9dfff9b
2021-02-25 00:27:19 +00:00
Kalesh Singh
a731921669
Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0
am: e3a6357533
am: 9176bf1929
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1592033
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I51ad002d2d778d6e674a86363e74eb5040d3219a
2021-02-24 23:51:50 +00:00
Kalesh Singh
9176bf1929
Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0
am: e3a6357533
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1592033
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4788f1e46ef2c581f74cdbb10350ccd7f9547c6a
2021-02-24 22:58:01 +00:00
Kalesh Singh
e3a6357533
Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1592033
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1d63478a6f2956d687971033621360f2abb3b9d2
2021-02-24 22:14:07 +00:00
Kalesh Singh
ddff8e6dd0
Merge "RAII style wakelocks: Add tryGet() factory method."
2021-02-24 18:49:58 +00:00
Kalesh Singh
d8da2af1e5
RAII style wakelocks: Add tryGet() factory method.
...
Wakelock acquisition can fail if suspend service is not available.
Make this clear by returning an optional value that client must
check before entering wakelock critical sections.
Bug: b/179229598
Test: Boot test on Pixel 4 device
Change-Id: Ied00fa919c20d8a30f1c40ee34a91a2a7e240689
2021-02-23 10:06:19 -05:00
Xin Li
352c70fe39
[automerger skipped] Mark ab/7061308 as merged in stage. am: b4d4bcc011
-s ours am: c48f0b7f15
-s ours am: 98759c6fb5
-s ours
...
am skip reason: Change-Id If168d378ac5793e151f2b502b004e4da515865e7 with SHA-1 60185e956c
is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I99d450f3081833ad57477eeb0bf404258d2d08b9
2021-02-20 18:20:56 +00:00
Xin Li
5482ea3940
[automerger skipped] Mark ab/7061308 as merged in stage. am: b4d4bcc011
-s ours am: c48f0b7f15
-s ours am: 98759c6fb5
-s ours
...
am skip reason: Change-Id If168d378ac5793e151f2b502b004e4da515865e7 with SHA-1 60185e956c
is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3bb5f589095444e407d0523aeffde2f03046a369
2021-02-20 18:13:18 +00:00
Bob Badour
48d1527f1c
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: afd79930cc
am: 63be865585
am: fba2066876
am: b6ce28b677
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1588038
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie195a62418b2d2110fb5391882465397fd7a7f78
2021-02-20 18:08:04 +00:00
Bob Badour
82bfc1d286
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: afd79930cc
am: 63be865585
am: fba2066876
am: b6ce28b677
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1588038
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I03ffa40a40a1f2e8670d75dd4e0d0ad36433f1e0
2021-02-20 18:07:45 +00:00
Xin Li
98759c6fb5
[automerger skipped] Mark ab/7061308 as merged in stage. am: b4d4bcc011
-s ours am: c48f0b7f15
-s ours
...
am skip reason: Change-Id If168d378ac5793e151f2b502b004e4da515865e7 with SHA-1 60185e956c
is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I69e22496eb5ce2ae342e5eebec88fc1526628ec4
2021-02-20 17:37:41 +00:00
Bob Badour
b6ce28b677
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: afd79930cc
am: 63be865585
am: fba2066876
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1588038
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I362a99e806ff938c3105e654fd3251a9da875d00
2021-02-20 17:23:05 +00:00
Xin Li
c48f0b7f15
[automerger skipped] Mark ab/7061308 as merged in stage. am: b4d4bcc011
-s ours
...
am skip reason: Change-Id If168d378ac5793e151f2b502b004e4da515865e7 with SHA-1 60185e956c
is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9d3d3168ae0b6b56a8fe1a44ebb1be137f5276b4
2021-02-20 11:44:23 +00:00
Xin Li
b4d4bcc011
Mark ab/7061308 as merged in stage.
...
Bug: 180401296
Merged-In: If168d378ac5793e151f2b502b004e4da515865e7
Change-Id: I584355711fa46131ff11fdafdb1cfcc53882796b
2021-02-20 00:24:30 -08:00
Bob Badour
fba2066876
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: afd79930cc
am: 63be865585
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1588038
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie510edc0b80ce8fb322aeaf77faadc2171f0d833
2021-02-19 02:25:32 +00:00
Bob Badour
63be865585
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: afd79930cc
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1588038
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9bc3c423e20e821e7d841b67cbdb6a811fbe25a9
2021-02-19 00:58:45 +00:00
Bob Badour
afd79930cc
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy"
2021-02-18 23:43:50 +00:00
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