diff --git a/cheetah/display_colordata_boe-nt37290_cal0.pb b/cheetah/display_colordata_boe-nt37290_cal0.pb index 082bf72..52df64d 100644 Binary files a/cheetah/display_colordata_boe-nt37290_cal0.pb and b/cheetah/display_colordata_boe-nt37290_cal0.pb differ diff --git a/cheetah/display_colordata_sdc-s6e3hc4_cal0.pb b/cheetah/display_colordata_sdc-s6e3hc4_cal0.pb new file mode 100644 index 0000000..c9fc154 Binary files /dev/null and b/cheetah/display_colordata_sdc-s6e3hc4_cal0.pb differ diff --git a/cheetah/overlay/frameworks/base/core/res/res/values/config.xml b/cheetah/overlay/frameworks/base/core/res/res/values/config.xml index faad22c..04e2cb3 100644 --- a/cheetah/overlay/frameworks/base/core/res/res/values/config.xml +++ b/cheetah/overlay/frameworks/base/core/res/res/values/config.xml @@ -143,6 +143,13 @@ 2000 4000 + + 0 + + + 120 + ge2ae @@ -153,4 +160,72 @@ 64 + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + + + + 11373 + 5000 + 4333 + 3666 + 3000 + 2760 + 2520 + 2280 + 2040 + 1800 + 800 + 527 + 500 + 470 + 396 + 322 + 248 + 174 + 99 + 99 + + + + 853 + 700 + 683 + 666 + 650 + 640 + 630 + 620 + 610 + 600 + 500 + 500 + 440 + 385 + 348 + 311 + 274 + 237 + 200 + 200 + diff --git a/cheetah/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/cheetah/overlay/frameworks/base/core/res/res/xml/power_profile.xml new file mode 100644 index 0000000..476ba4e --- /dev/null +++ b/cheetah/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -0,0 +1,218 @@ + + + + 5000 + + + 4 + 2 + 2 + + + + 10 + 28.6 + 12.37 + 0.24 + 3.23 + 5.94 + + + + 300000 + 574000 + 738000 + 930000 + 1098000 + 1197000 + 1328000 + 1401000 + 1598000 + 1704000 + 1803000 + 1950000 + 2024000 + + + + + 400000 + 553000 + 696000 + 799000 + 910000 + 1024000 + 1197000 + 1328000 + 1491000 + 1663000 + 1836000 + 1999000 + 2130000 + 2253000 + 2348000 + + + + + 500000 + 851000 + 984000 + 1106000 + 1277000 + 1426000 + 1582000 + 1745000 + 1826000 + 2048000 + 2188000 + 2252000 + 2401000 + 2507000 + 2630000 + 2704000 + 2802000 + 2850000 + + + + + 1.89 + 6.15 + 9.34 + 14.22 + 18.94 + 21.98 + 26.83 + 30.17 + 41.55 + 48.36 + 58.45 + 73 + 80 + + + + + 3.71 + 6.16 + 8 + 10.94 + 12.73 + 14.4 + 21.39 + 24.1 + 30.42 + 42.49 + 49.37 + 58.09 + 67.54 + 79.04 + 87 + + + + + 8.36 + 16.33 + 19.44 + 36.71 + 41.42 + 48.24 + 54.77 + 65.32 + 69.58 + 128.49 + 142.15 + 149.74 + 164.78 + 188.68 + 193.15 + 227.98 + 254.25 + 267 + + + + 32 + + + 98 + + 470 + + + 240.47 + + 900 + + + 25 + + 75 + + + 0 + 156 + 145 + + 153 + 212 + 292 + 359 + 471 + + 3700 + + + + 14.33 + 12.79 + + 3700 + + + 38 + + 98 + + 470 + + 3700 + + + 2.2 + + 5.8 + + 20 + + 3850 + + diff --git a/device-cheetah.mk b/device-cheetah.mk index 65b2c2d..5a2146b 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -60,7 +60,8 @@ PRODUCT_COPY_FILES += \ # Display Config PRODUCT_COPY_FILES += \ device/google/pantah/cheetah/display_colordata_boe-nt37290_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_boe-nt37290_cal0.pb \ - device/google/pantah/cheetah/display_colordata_sdc-s6e3hc3-c10_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_sdc-s6e3hc3-c10_cal0.pb + device/google/pantah/cheetah/display_colordata_sdc-s6e3hc3-c10_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_sdc-s6e3hc3-c10_cal0.pb \ + device/google/pantah/cheetah/display_colordata_sdc-s6e3hc4_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_sdc-s6e3hc4_cal0.pb # Display LBE PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 diff --git a/panther/display_colordata_dev_cal0.pb b/panther/display_colordata_dev_cal0.pb index a1600ae..7f26914 100644 Binary files a/panther/display_colordata_dev_cal0.pb and b/panther/display_colordata_dev_cal0.pb differ diff --git a/panther/overlay/frameworks/base/core/res/res/values/config.xml b/panther/overlay/frameworks/base/core/res/res/values/config.xml index dc57f3e..7da20bf 100644 --- a/panther/overlay/frameworks/base/core/res/res/values/config.xml +++ b/panther/overlay/frameworks/base/core/res/res/values/config.xml @@ -142,6 +142,13 @@ 2000 4000 + + 0 + + + 90 + gqml3 @@ -152,4 +159,72 @@ 64 + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + + + + 11373 + 5000 + 4333 + 3666 + 3000 + 2760 + 2520 + 2280 + 2040 + 1800 + 800 + 527 + 500 + 470 + 396 + 322 + 248 + 174 + 99 + 99 + + + + 853 + 700 + 683 + 666 + 650 + 640 + 630 + 620 + 610 + 600 + 500 + 500 + 440 + 385 + 348 + 311 + 274 + 237 + 200 + 200 + diff --git a/panther/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/panther/overlay/frameworks/base/core/res/res/xml/power_profile.xml new file mode 100644 index 0000000..3322606 --- /dev/null +++ b/panther/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -0,0 +1,218 @@ + + + + 4315 + + + 4 + 2 + 2 + + + + 10 + 28.6 + 12.37 + 0.24 + 3.23 + 5.94 + + + + 300000 + 574000 + 738000 + 930000 + 1098000 + 1197000 + 1328000 + 1401000 + 1598000 + 1704000 + 1803000 + 1950000 + 2024000 + + + + + 400000 + 553000 + 696000 + 799000 + 910000 + 1024000 + 1197000 + 1328000 + 1491000 + 1663000 + 1836000 + 1999000 + 2130000 + 2253000 + 2348000 + + + + + 500000 + 851000 + 984000 + 1106000 + 1277000 + 1426000 + 1582000 + 1745000 + 1826000 + 2048000 + 2188000 + 2252000 + 2401000 + 2507000 + 2630000 + 2704000 + 2802000 + 2850000 + + + + + 1.89 + 6.15 + 9.34 + 14.22 + 18.94 + 21.98 + 26.83 + 30.17 + 41.55 + 48.36 + 58.45 + 73 + 80 + + + + + 3.71 + 6.16 + 8 + 10.94 + 12.73 + 14.4 + 21.39 + 24.1 + 30.42 + 42.49 + 49.37 + 58.09 + 67.54 + 79.04 + 87 + + + + + 8.36 + 16.33 + 19.44 + 36.71 + 41.42 + 48.24 + 54.77 + 65.32 + 69.58 + 128.49 + 142.15 + 149.74 + 164.78 + 188.68 + 193.15 + 227.98 + 254.25 + 267 + + + + 32 + + + 98 + + 470 + + + 240.47 + + 900 + + + 25 + + 75 + + + 0 + 156 + 145 + + 153 + 212 + 292 + 359 + 471 + + 3700 + + + + 14.33 + 12.79 + + 3700 + + + 38 + + 98 + + 470 + + 3700 + + + 2.2 + + 5.8 + + 20 + + 3850 + + diff --git a/rro_overlays/WifiOverlay/res/values/config.xml b/rro_overlays/WifiOverlay/res/values/config.xml index 0c8bf62..d900cef 100644 --- a/rro_overlays/WifiOverlay/res/values/config.xml +++ b/rro_overlays/WifiOverlay/res/values/config.xml @@ -136,4 +136,10 @@ false + + + + 1 diff --git a/wifi/BoardConfig-wifi.mk b/wifi/BoardConfig-wifi.mk index ed491ad..64a6fb5 100644 --- a/wifi/BoardConfig-wifi.mk +++ b/wifi/BoardConfig-wifi.mk @@ -14,19 +14,22 @@ # limitations under the License. # +# WiFi BOARD_WLAN_DEVICE := bcmdhd BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd WPA_SUPPLICANT_VERSION := VER_0_8_X BOARD_WPA_SUPPLICANT_DRIVER := NL80211 BOARD_HOSTAPD_DRIVER := NL80211 -# Wifi interface combination - {1 STA + 1 AP (bridged or single)} or {2 STA + 1 of (P2P or NAN)} -WIFI_HAL_INTERFACE_COMBINATIONS := {{{STA}, 1}, {{AP}, 1}}, {{{STA}, 2}, {{P2P, NAN}, 1}} +# Wifi interface combination - {1 STA + 1 AP} or {1 STA + 1 AP_BRIDGED} or {1 STA + 1 P2P} +# or {1 STA + 1 NAN} or {2 STA} +WIFI_HAL_INTERFACE_COMBINATIONS := {{{STA}, 1}, {{P2P, NAN, AP, AP_BRIDGED}, 1}}, {{{STA}, 2}} WIFI_FEATURE_WIFI_EXT_HAL := true WIFI_FEATURE_IMU_DETECTION := true # Avoid Wifi reset on MAC Address change WIFI_AVOID_IFACE_RESET_MAC_CHANGE := true WIFI_FEATURE_HOSTAPD_11AX := true +BOARD_HOSTAPD_CONFIG_80211W_MFP_OPTIONAL := true PRODUCT_COPY_FILES += \ device/google/pantah/wifi/p2p_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant.conf \