summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-19WiFi: Add new SAR Scenarios for foldable devicesandroid-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android12L-devandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseAhmed ElArabawy
This commit adds new SAR scenarios for foldable devices. Bug: 188138055 Test: Verify proper scenario selection Change-Id: I472d3989edb1f8949a0eb1efd249b13aa55dc537
2021-03-31Wifi: Add argument "WifiHandle" in "wifi_set_subsystem_restart_handler"android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devchenpaul
Bug: 178126071 Bug: 183483123 Test: vendor HAL can received API call Change-Id: I0d6c9ce294e1bcea1ed19e4050babd923e6b6141
2021-03-19Wifi: New API to query the trigger subsystem restartchenpaul
This commit adds a method to forward the subsystem restart request Bug: 178126071 Test: Trigger firmware restart and make sure event was forwarded Change-Id: I5e97e645b630822865b1614f999e8b465a6d2b0b
2021-03-18Merge "WiFi: Add new SAR scenarios" into sc-devAhmed ElArabawy
2021-03-15WiFi: Add new SAR scenariosAhmed ElArabawy
This commit adds new SAR Scenarios. Bug: 162191325 Test: Builds successfully Change-Id: I70c45a5675b9bc374422fe732f888b3782058dd2
2021-03-15Wifi: Remove multiple definitionsKumar Anand
Remove compilation warnings due to -Wtypedef-redefinition. Bug: 160212907 Test: Build Successfully Change-Id: I8925cf33fa64fbba4a6cbb782ecc107a7741fe87
2021-02-24Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0 ↵Kalesh Singh
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-24Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0 ↵Kalesh Singh
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-24Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0android-s-beta-4android-s-beta-3android-s-beta-2android-s-beta-1android-s-beta-4Kalesh Singh
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1592033 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1d63478a6f2956d687971033621360f2abb3b9d2
2021-02-24Merge "RAII style wakelocks: Add tryGet() factory method."Kalesh Singh
2021-02-23RAII style wakelocks: Add tryGet() factory method.Kalesh Singh
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-20[automerger skipped] Mark ab/7061308 as merged in stage. am: b4d4bcc011 -s ↵Xin Li
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-20Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: ↵Bob Badour
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[automerger skipped] Mark ab/7061308 as merged in stage. am: b4d4bcc011 -s oursXin Li
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-20Mark ab/7061308 as merged in stage.Xin Li
Bug: 180401296 Merged-In: If168d378ac5793e151f2b502b004e4da515865e7 Change-Id: I584355711fa46131ff11fdafdb1cfcc53882796b
2021-02-19Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: ↵Bob Badour
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-19Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: ↵Bob Badour
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-18Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy"Bob Badour
2021-02-16Wifi: Filter usable channels by Coex, ConcurrencyKumar Anand
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-12[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacyBob Badour
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-01-28Wifi: New API to query the list of usable channelsKumar Anand
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-11Add wifi_set_dtim_config for power optimizationKai Shi
Add the new HAL API for WLAN power optimization in the suspend mode. Test: halutil test Bug: 170678227 Change-Id: Icff3d01585213431be539913c8d229fdc4875934
2021-01-07HAL: Fix to support CCA Level and Load info in WiFi link-layer statistics.Damon Kim
- 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
2020-12-18Add HAL API for VoIP optimizationKai Shi
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-15libhardware_legacy(wifi): Add enum for wifi coex restrictionsQuang Luong
Add custom enum for wifi coex since IfaceType is not suitable for bitmasks. Bug: 153651001 Test: build Change-Id: I58b55c64f5358ff26fc45451b66e8818bb3c3d30
2020-12-04libhardware_legacy(wifi): Add coex APIsQuang Luong
Bug: 153651001 Test: build Change-Id: Id7f551fd2446a0484e229145a14ef27facaeab97
2020-12-01[automerger skipped] Merge "Convert mask types from uint32_t to enum type" ↵Treehugger Robot
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-01Merge "Convert mask types from uint32_t to enum type" am: df5a00d27b am: ↵Treehugger Robot
1da7880c26 Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1510516 Change-Id: If168d378ac5793e151f2b502b004e4da515865e7
2020-12-01Merge "Convert mask types from uint32_t to enum type" am: df5a00d27bandroid-s-preview-1Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1510516 Change-Id: I1cc5c8b2b2285d5fc6d804e3fe40f47d3c65a91b
2020-12-01Merge "Convert mask types from uint32_t to enum type"Treehugger Robot
2020-11-25Mark ab/6881855 as merged am: 4306b861b2 am: 4b25e69376Xin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13111233 Change-Id: I1d649c1811aa742164534d6550be43e068f3fa72
2020-11-25Mark ab/6881855 as merged am: 4306b861b2Xin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13111233 Change-Id: I843ea57cb87448fda2806bd72bbd329aabb9be7b
2020-11-24Convert mask types from uint32_t to enum typeMikhail Naganov
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-23Mark ab/6881855 as mergedXin Li
Bug: 172690556 Change-Id: Ifea03ad1af58b03086f4527540df09657bf408cd
2020-11-06Merge "Update to use new android.system.suspend.control AIDL interface" am: ↵Michael Sun
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-06Merge "Update to use new android.system.suspend.control AIDL interface" am: ↵Michael Sun
307c8e8d53 am: 55d8f268a9 am: 2e4633d238 Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1480617 Change-Id: I2681b7ad8b87965ff4fe8fd38118ffcfc35d1435
2020-11-06Merge "Update to use new android.system.suspend.control AIDL interface" am: ↵Michael Sun
307c8e8d53 am: 55d8f268a9 Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1480617 Change-Id: If27d8017873ad3e802b3a57b3d9c5e1069341470
2020-11-06Merge "Update to use new android.system.suspend.control AIDL interface" am: ↵Michael Sun
307c8e8d53 Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1480617 Change-Id: I84df993d0c1b15769d60e2dcbf2c86fa66d97195
2020-11-06Merge "Update to use new android.system.suspend.control AIDL interface"Michael Sun
2020-11-03Update to use new android.system.suspend.control AIDL interfaceMichael Sun
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-10-20Merge "libhardware_legacy(wifi): Add STA + STA APIs"Roshan Pius
2020-10-20Merge "[Aware] Add instant mode support"Nate Jiang
2020-10-19libhardware_legacy(wifi): Add STA + STA APIsRoshan Pius
Bug: 170305665 Test: Compiles Change-Id: I23633ee79b27a602a609edf84efec49b39af0ac9
2020-10-13Merge "Convert mask types from uint32_t to enum type"TreeHugger Robot
2020-10-12[automerger skipped] Skip ab/6749736 in stage. am: be29278c3c -s ours am: ↵Xin Li
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-09[automerger skipped] Skip ab/6749736 in stage. am: be29278c3c -s ours am: ↵Xin Li
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[automerger skipped] Skip ab/6749736 in stage. am: be29278c3c -s oursXin Li
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-08Skip ab/6749736 in stage.Xin Li
Merged-In: Ie1c3b77e7aa7b41121aa855e294459e8fc32c58f Change-Id: Id1d0fa3001c520f80d1f95605f7e13213db562b5
2020-10-08Convert mask types from uint32_t to enum typeMikhail Naganov
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-07Merge "block_suspend: avoid CPU spinloop" am: 9a3f98fe6d am: ca1925f900 am: ↵Treehugger Robot
e780e61a65 am: 3fe3db2c92 Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1453335 Change-Id: I0821ad7ca3045ff217cafcebdcd30bbc6c4998a8