Commit graph

1712 commits

Author SHA1 Message Date
Tomasz Wasilczyk
2c3e53e5dd Use String8/16 c_str
Bug: 295394788
Test: make checkbuild
Change-Id: If5cf93ade13d6e650ae305db9933a9f536e3b525
2023-08-11 18:11:12 +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
Jooyung Han
250b4c2b0a Merge "Remove libbinder from libpower" 2022-12-28 01:49:14 +00:00
Jooyung Han
426b958be8 Remove libbinder from libpower
libpower doesn't use libbinder.

Bug: 263762963
Test: libpower_test
Change-Id: I35378e1d8e67c455dc8a24693c74165d3be65429
2022-12-27 07:58:14 +00:00
Xin Li
78512d07d8 [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 19372f6f86 -s ours am: 6bba6f6e8b -s ours am: e02615b747 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

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

Change-Id: I1ff719fb25245e49794f78c54ce94668e012eb64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 01:35:34 +00:00
Xin Li
4ff12dc0b0 [automerger skipped] DO NOT MERGE - Merge Android 13 am: ef7af70346 -s ours am: ef42f25735 -s ours am: 46723493b3 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

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

Change-Id: I80f2d162b3a8ede8952c16e1cd9ca1d3b716ad9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 01:35:33 +00:00
Xin Li
e02615b747 [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 19372f6f86 -s ours am: 6bba6f6e8b -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

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

Change-Id: Ib8c6ea931d1212781a7e118f61c9f22813746116
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 01:13:12 +00:00
Xin Li
46723493b3 [automerger skipped] DO NOT MERGE - Merge Android 13 am: ef7af70346 -s ours am: ef42f25735 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

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

Change-Id: I1ff7d8c6d9be45f95dc834b2d6f56b4ebdd830fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 01:13:11 +00:00
Xin Li
6bba6f6e8b [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 19372f6f86 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

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

Change-Id: I23aa1be1007301a0c1b05608a613b82e5acbea5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 00:09:50 +00:00
Xin Li
ef42f25735 [automerger skipped] DO NOT MERGE - Merge Android 13 am: ef7af70346 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

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

Change-Id: I10de865da777605b0ce46e56598e49f3d1f5e59d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 00:09:49 +00:00
Xin Li
19372f6f86 Merge "DO NOT MERGE - Merge Android 13" 2022-08-16 19:08:26 +00:00
Xin Li
ef7af70346 DO NOT MERGE - Merge Android 13
Bug: 242648940
Merged-In: I907687a4d71f48869617edc6e013639dfbccb851
Change-Id: Ib7aa70c369837edcf81d2840cb8a7c4f9f9f493b
2022-08-15 22:03:53 -07:00
Xin Li
197f8ae90d [automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: 6ed3eb181a -s ours am: b97e68ca83 -s ours am: 39f398ac20 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

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

Change-Id: I3587158434b441534691180ae480ec252082926d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-30 00:02:01 +00:00
Xin Li
39f398ac20 [automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: 6ed3eb181a -s ours am: b97e68ca83 -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

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

Change-Id: I1047a3d9e91a8749917f9f60e2de5a3d0401b73e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 22:56:18 +00:00
Xin Li
b97e68ca83 [automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: 6ed3eb181a -s ours
am skip reason: Merged-In I907687a4d71f48869617edc6e013639dfbccb851 with SHA-1 4172a388c7 is already in history

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

Change-Id: I11738fa3638344f64b41ef5a74d01b114c1d4262
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 22:12:47 +00:00
Xin Li
6ed3eb181a Merge tm-dev-plus-aosp-without-vendor@8763363
Bug: 236760014
Merged-In: I907687a4d71f48869617edc6e013639dfbccb851
Change-Id: I41b1f19fe185cb4c19f49342b69391b2ba4638d6
2022-06-27 23:38:54 +00:00
Isaac Chiou
7a0c63d635 Add HAL APIs and configurations for Tx power limits am: 4172a388c7 am: 987d8ecbe5 am: 9b2aa1a36a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: I9e7d87b3d69368cfef271755b0c6d169b73acc8c
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 07:49:04 +00:00
Isaac Chiou
c3dc380d8b Add HAL APIs and configurations for Tx power limits am: 4172a388c7 am: fa4cbc5801 am: a92553e540
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: Id14b4b70e772b9848fdf5a3d340a3e6fef364445
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 07:48:15 +00:00
Isaac Chiou
4c4dbdd53c Add HAL APIs and configurations for Tx power limits am: 4172a388c7 am: fa4cbc5801 am: 47482b2a15
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: If883603c30ccbd5f4c588e43889651c0b2976f03
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 07:47:51 +00:00
Isaac Chiou
9b2aa1a36a Add HAL APIs and configurations for Tx power limits am: 4172a388c7 am: 987d8ecbe5
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: I47e222b9ee47b2208fea3cd17de2d95de02a5c66
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 07:27:22 +00:00
Isaac Chiou
a92553e540 Add HAL APIs and configurations for Tx power limits am: 4172a388c7 am: fa4cbc5801
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: I20aea902506a85291f3d863dc9c81cb2257d5464
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 07:27:02 +00:00
Isaac Chiou
47482b2a15 Add HAL APIs and configurations for Tx power limits am: 4172a388c7 am: fa4cbc5801
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: I4984b78589b54aa37851c268f682ed9fa536e096
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 07:27:00 +00:00
Isaac Chiou
fa4cbc5801 Add HAL APIs and configurations for Tx power limits am: 4172a388c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: Ib9ebb21ba74eeae893770cf507a62b3d07b5c651
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 06:52:16 +00:00
Isaac Chiou
987d8ecbe5 Add HAL APIs and configurations for Tx power limits am: 4172a388c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/17219204

Change-Id: I18bacb93b8587330d4f6f849cf04cb9f3661ef7b
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 06:50:59 +00:00
Isaac Chiou
4172a388c7 Add HAL APIs and configurations for Tx power limits
To lower the instantaneous battery current draw of WiFi, we provide
a way to allow PowerManager to enable/disable Tx power limits.
In this CL,
we define an API in WiFi HAL, and can be referenced by Broadcom HAL.

Bug: 215193418
Test: New APIs work fine
Change-Id: I907687a4d71f48869617edc6e013639dfbccb851
2022-04-21 11:17:02 +08:00
Xin Li
19f94a810b [automerger skipped] Merge "Merge Android 12L" am: 5935794511 -s ours am: 3def5591b0 -s ours am: a72a61bce3 -s ours
am skip reason: Merged-In I08d1df9ce847a1973d75e21bee7103cc77132baf with SHA-1 6253979ff6 is already in history

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

Change-Id: Iaf45cd843eea46396dcd66c947ef462027cd3a79
2022-03-09 10:05:17 +00:00
Xin Li
ac127a77a1 [automerger skipped] Merge Android 12L am: d36a4710b1 -s ours am: ce05f25ef5 -s ours am: 46143e52bc -s ours
am skip reason: Merged-In I08d1df9ce847a1973d75e21bee7103cc77132baf with SHA-1 6253979ff6 is already in history

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

Change-Id: Id59c7a7e20f44b2148f658c1f23dd4bb85b8e51c
2022-03-09 10:02:26 +00:00
Xin Li
a72a61bce3 [automerger skipped] Merge "Merge Android 12L" am: 5935794511 -s ours am: 3def5591b0 -s ours
am skip reason: Merged-In I08d1df9ce847a1973d75e21bee7103cc77132baf with SHA-1 6253979ff6 is already in history

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

Change-Id: I09a86f6de73ef9b02bbe89a67cd9104db6303d02
2022-03-08 11:06:47 +00:00
Xin Li
46143e52bc [automerger skipped] Merge Android 12L am: d36a4710b1 -s ours am: ce05f25ef5 -s ours
am skip reason: Merged-In I08d1df9ce847a1973d75e21bee7103cc77132baf with SHA-1 6253979ff6 is already in history

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

Change-Id: Id2e36773bf86976aa38c0a297ef31a8b4c8ff8e5
2022-03-08 11:03:56 +00:00
Xin Li
3def5591b0 [automerger skipped] Merge "Merge Android 12L" am: 5935794511 -s ours
am skip reason: Merged-In I08d1df9ce847a1973d75e21bee7103cc77132baf with SHA-1 6253979ff6 is already in history

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

Change-Id: Id16f34a7e7fa609854a4436ca98152fa4ba2b067
2022-03-08 10:22:00 +00:00
Xin Li
ce05f25ef5 [automerger skipped] Merge Android 12L am: d36a4710b1 -s ours
am skip reason: Merged-In I08d1df9ce847a1973d75e21bee7103cc77132baf with SHA-1 6253979ff6 is already in history

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

Change-Id: I2bd5775f35e41551461bad7eb7017239cfaa50bb
2022-03-08 10:19:05 +00:00
Xin Li
5935794511 Merge "Merge Android 12L" 2022-03-08 06:53:03 +00:00
Xin Li
d36a4710b1 Merge Android 12L
Bug: 222710654
Merged-In: I08d1df9ce847a1973d75e21bee7103cc77132baf
Change-Id: I6e4e8ccfddd50c430ef1dfdbbc4b1d447753fcf7
2022-03-08 00:18:39 +00:00
Bob Badour
95cbdffb90 Merge "Declare license metadata for copied files." am: 0725d206fa am: 6253979ff6 am: 856b0574d8
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1984823

Change-Id: I2910c8fe4ea6e93a90aa8453738d5c18b9beb7a8
2022-02-15 03:42:56 +00:00
Bob Badour
856b0574d8 Merge "Declare license metadata for copied files." am: 0725d206fa am: 6253979ff6
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1984823

Change-Id: I2c49e01cd9b02ec9d0d8208655d82d18203d2370
2022-02-15 03:19:49 +00:00
Bob Badour
6253979ff6 Merge "Declare license metadata for copied files." am: 0725d206fa
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1984823

Change-Id: I08d1df9ce847a1973d75e21bee7103cc77132baf
2022-02-15 03:06:11 +00:00
Bob Badour
0725d206fa Merge "Declare license metadata for copied files." 2022-02-15 02:30:12 +00:00
Xin Li
ee6b0ed0cf [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8084891 am: d65087bcaf -s ours am: ae018fe8b4 -s ours
am skip reason: Merged-In I99947e7fc58b5f6ab7d75f2af63b6bf9384917c3 with SHA-1 6c8e9f4b94 is already in history

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

Change-Id: Ide8333889e67041ec6f6df923b87586bcd1b9725
2022-02-14 18:21:01 +00:00
Xin Li
ae018fe8b4 [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8084891 am: d65087bcaf -s ours
am skip reason: Merged-In I99947e7fc58b5f6ab7d75f2af63b6bf9384917c3 with SHA-1 6c8e9f4b94 is already in history

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

Change-Id: I7ff1ad5cd5c4a9e8ab70d63f83c50fd21cda5bb6
2022-02-14 18:03:37 +00:00
Bob Badour
2c199ab96e Declare license metadata for copied files.
Bug: 151177513

Test: m all dist reportmissinglicenses
Change-Id: Ia6f96edd7aea0b726bc0643b4a4c7c2ce9fe127b
2022-02-13 17:16:51 -08:00
Xin Li
d65087bcaf Merge sc-v2-dev-plus-aosp-without-vendor@8084891
Bug: 214455710
Merged-In: I99947e7fc58b5f6ab7d75f2af63b6bf9384917c3
Change-Id: I2a497f8cd91f0a67b10d35ecfb51becebedb7311
2022-02-11 06:57:38 +00:00
Isaac Chiou
e1aad8d6ec Add HAL APIs and configurations for CHRE NAN RTT
Add HAL APIs and configuration in wifi_hal.h.

Test: Build pass
Test: New APIs work fine.
Bug: 206614765
Change-Id: I30681a580f1751518a30c258524a9b6216aab705
2022-01-29 07:31:06 +08:00
Sunil Ravi
3f3737abcd wifi: Get the supported radio combinations matrix
Added API to get the supported radio combinations
of the chip. This is mainly to check if the chip is
capable of multi band simultaneous operation.

For Example in case of a chip which has two radios, where one radio is
capable of 2.4GHz 2X2 only and another radio which is capable of either
5GHz or 6GHz 2X2, number of possible radio combinations in this case
are 5 and possible combinations are
    {{{2G 2X2}}, //Standalone 2G
    {{5G 2X2}}, //Standalone 5G
    {{6G 2X2}}, //Standalone 6G
    {{2G 2X2}, {5G 2X2}}, //2G+5G DBS
    {{2G 2X2}, {6G 2X2}}} //2G+6G DBS

Bug: 208877624
Test: unit test
Change-Id: I4c90f80002ca138133a575bca80dfdef2a593ab2
2022-01-26 23:21:57 -08:00
Sunil Ravi
8ec08d0216 Wifi: API to set the indoor state of device
If set, it indicates that the device is operating
in an indoor environment. When driver receives this
indication, it can safely enable WFD GO operation
on indoor channels.

Bug: 207671411
Test: Manual basic wifi tests
Change-Id: I970dd54f538ee85d76d702b1ce36432bad901602
2022-01-25 11:44:15 -08:00
Ahmed ElArabawy
60d787cd15 Wifi: Add needed definitions for 11be support
This commit adds the necessary defines for 11be(WiFi-7) support

Bug: 198746544
Test: Builds Successfully
Change-Id: I5be07dac3f5eb196717474ac8a1f2e3b1e2556d5
2022-01-21 22:09:46 +00:00
Roshan Pius
10c3ee551c libpower: Set uwb apex sdk to Tiramisu
Bug: 215526504
Test: Compiles
Change-Id: I7da60eaa71cecbf96e7d4cfa235a16f947d5a416
2022-01-20 18:52:07 +00:00
Nate(Qiang) Jiang
a07d7c97d0 Merge "Add wifi-aware 3.1 support" 2022-01-07 01:43:57 +00:00
Nate Jiang
4dac6dcef8 Add wifi-aware 3.1 support
Add instant communication mode and NCS-PK support

Bug: 203220137
Test: build
Change-Id: I46fd18d1e1780b76c40f59ed05503e39b71e3aa6
2021-10-18 16:57:57 -07:00
Veerendranath Jakkam
6a489c0360 wifi: Add feature flag to indicate support for set MAC without iface reset
This commit adds the enum to indicate driver support for MAC address
change without iface reset.

Bug: 202424223
Test: atest VtsHalWifiV1_5TargetTest
Test: Manual - Connect STA to AP and check random mac is set

Change-Id: I29662153d83eedf9986142f8371f3a7251b625dc
2021-10-14 13:05:42 -07:00