diff --git a/aosp_akita.mk b/aosp_akita.mk
index bf2b33c..d9c41e8 100644
--- a/aosp_akita.mk
+++ b/aosp_akita.mk
@@ -27,6 +27,3 @@ PRODUCT_DEVICE := akita
PRODUCT_MODEL := AOSP on akita
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
-
-DEVICE_MANIFEST_FILE := \
- device/google/akita/manifest.xml
diff --git a/location/gps.cfg b/location/gps.cfg
index 747b927..b2d3328 100644
--- a/location/gps.cfg
+++ b/location/gps.cfg
@@ -43,6 +43,9 @@ Chip_Configuration_ubsan_opt=2
# MCW Link failure behavior: 0 = SW Assert (default), 1 = GNSS restart (hot start)
Chip_Configuration_FeatureCfg_SDL_BYASS=1
+# 4 - Crash CP when GNSS asserted for CPMB timeout (for CP log collection)
+Chip_Configuration_cpdbgsync=4
+
# borrow this field to force CP crash on GAL bad ISM
#Chip_Configuration_WT1=1
@@ -61,6 +64,15 @@ gnss_device_data_port_chpp_present=1
GlueLayer_YearOfHW=2023
scheduling_enabled=1
+# 0x01 = Precise time aiding
+# 0x02 = Coarse time aiding *
+# 0x04 = Local time aiding *
+# 0x08 = CP time aiding
+# 0x10 = Frequency counter aiding
+# 0x20 = Frequency non-counter aiding
+# 0x40 = CP Frequency aiding *
+# 0x80 = Extend BE collection *
+# 0xFFFF0000 Frequency aiding PPM mask (example - 0x00020000 is .2PPM)
### temporarily disable precise time aiding ###
Chip_Configuration_AidingConfiguration=0x00020046
@@ -205,6 +217,12 @@ GlueLayer_isReqUBPFromPressureSensor=1
GlueLayer_IsRilCIDReqEnable=0
GlueLayer_IsMemsEnable=1
GlueLayer_MeasCorrCap=7
+
+# 0x0001: CHIP_CONFIG_MEMS_ACCEL_AVAILABLE
+# 0x0002: CHIP_CONFIG_MEMS_MAGN_AVAILABLE
+# 0x0004: CHIP_CONFIG_MEMS_GYRO_AVAILABLE
+# 0x0010: CHIP_CONFIG_MEMS_ORIENTATION_AVAILABLE
+# 0x0020: CHIP_CONFIG_MEMS_STEPCOUNTER_AVAILABLE
Chip_Configuration_mems_data_Configuration=5
Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1
CP_LocTech_PrimaryConst=0
@@ -288,14 +306,10 @@ ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
# KDDI
GNSS_CARRIER_ID=6
-ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
-ENABLE_2G_UP_CAPS_MSA=0
-ENABLE_3G_UP_CAPS_MSA=0
-ENABLE_4G_UP_CAPS_MSA=0
# SBM
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
diff --git a/location/gps_user.cfg b/location/gps_user.cfg
index c2eb5e8..383e418 100644
--- a/location/gps_user.cfg
+++ b/location/gps_user.cfg
@@ -148,14 +148,10 @@ GNSS_CARRIER_ID=5
ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
GNSS_CARRIER_ID=6
-ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
-ENABLE_2G_UP_CAPS_MSA=0
-ENABLE_3G_UP_CAPS_MSA=0
-ENABLE_4G_UP_CAPS_MSA=0
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
ENABLE_LPPE_CP=0
diff --git a/manifest.xml b/manifest.xml
deleted file mode 100644
index cf97ba9..0000000
--- a/manifest.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
- android.hardware.audio
- hwbinder
- 7.1
-
- IDevicesFactory
- default
-
-
-
- android.hardware.audio.effect
- hwbinder
- 7.0
-
- IEffectsFactory
- default
-
-
-
- android.hardware.soundtrigger
- hwbinder
- 2.3
-
- ISoundTriggerHw
- default
-
-
-
- android.hardware.media.omx
- hwbinder
- 1.0
-
- IOmx
- default
-
-
- IOmxStore
- default
-
-
-
- android.hardware.graphics.allocator
- hwbinder
- 4.0
-
- IAllocator
- default
-
-
-
- android.hardware.graphics.composer
- hwbinder
- 2.4
-
- IComposer
- default
-
-
-
- android.hardware.renderscript
- passthrough
- 1.0
-
- IDevice
- default
-
-
-
- android.hardware.dumpstate
- hwbinder
- 1.1
-
- IDumpstateDevice
- default
-
-
-
- android.hardware.bluetooth.audio
- hwbinder
- 2.1
-
- IBluetoothAudioProvidersFactory
- default
-
-
-
- android.hardware.boot
- hwbinder
- @1.2::IBootControl/default
-
-
- android.hardware.neuralnetworks
- hwbinder
- @1.3::IDevice/google-edgetpu
-
-
- android.hardware.health
- hwbinder
- 2.1
-
- IHealth
- default
-
-
-
- vendor.google.whitechapel.audio.audioext
- hwbinder
- 3.0
-
- IAudioExt
- default
-
-
-
-
diff --git a/powerhint-akita.json b/powerhint-akita.json
index 814dac9..c925fc3 100644
--- a/powerhint-akita.json
+++ b/powerhint-akita.json
@@ -111,7 +111,17 @@
"2000",
"500"
],
- "DefaultIndex": 0,
+ "DefaultIndex": 2,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "CPULittleClusterResponseTimeMs",
+ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/response_time_ms",
+ "Values": [
+ "9",
+ "13"
+ ],
+ "DefaultIndex": 1,
"ResetOnInit": true
},
{
@@ -151,7 +161,17 @@
"2000",
"500"
],
- "DefaultIndex": 0,
+ "DefaultIndex": 3,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "CPUMidClusterResponseTimeMs",
+ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/response_time_ms",
+ "Values": [
+ "52",
+ "56"
+ ],
+ "DefaultIndex": 1,
"ResetOnInit": true
},
{
@@ -191,7 +211,17 @@
"2000",
"500"
],
- "DefaultIndex": 0,
+ "DefaultIndex": 3,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "CPUBigClusterResponseTimeMs",
+ "Path": "/sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/response_time_ms",
+ "Values": [
+ "178",
+ "180"
+ ],
+ "DefaultIndex": 1,
"ResetOnInit": true
},
{
@@ -274,6 +304,70 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
+ {
+ "Name": "AutoMigrationMarginsEnable",
+ "Path": "/proc/vendor_sched/auto_migration_margins_enable",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "DefaultIndex": 1,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "AutoDvfsHeadroomEnable",
+ "Path": "/proc/vendor_sched/auto_dvfs_headroom_enable",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "DefaultIndex": 1,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "TARampupMultiplier",
+ "Path": "/proc/vendor_sched/groups/ta/rampup_multiplier",
+ "Values": [
+ "0",
+ "1",
+ "2",
+ "3",
+ "4",
+ "5",
+ "6",
+ "7",
+ "8"
+ ],
+ "DefaultIndex": 1,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "AdpfRampupMultiplier",
+ "Path": "/proc/vendor_sched/adpf_rampup_multiplier",
+ "Values": [
+ "0",
+ "1",
+ "2",
+ "3",
+ "4",
+ "5",
+ "6",
+ "7",
+ "8"
+ ],
+ "DefaultIndex": 4,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "PerTaskMaxIowaitBoost",
+ "Path": "/proc/vendor_sched/per_task_iowait_boost_max_value",
+ "Values": [
+ "0",
+ "512"
+ ],
+ "DefaultIndex": 1,
+ "ResetOnInit": true
+ },
{
"Name": "CPUUClampMaxFilterEnable",
"Path": "/proc/vendor_sched/uclamp_max_filter_enable",
@@ -900,6 +994,26 @@
"20 40"
],
"ResetOnInit": true
+ },
+ {
+ "Name": "AAModeProperty",
+ "Path": "vendor.powerhal.mode.aa",
+ "Values": [
+ "1",
+ "0"
+ ],
+ "ResetOnInit": true,
+ "Type": "Property"
+ },
+ {
+ "Name": "SYSTEM_UI_ADPF_PROFILES",
+ "Path": ":SYSTEM_UI",
+ "Values": [
+ "SYSTEM_UI_PROFILE"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true,
+ "Type": "Event"
}
],
"Actions": [
@@ -1117,6 +1231,12 @@
"Duration": 5000,
"Value": "1"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "TARampupMultiplier",
+ "Duration": 5000,
+ "Value": "4"
+ },
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUSkipMask",
@@ -1220,6 +1340,12 @@
"Duration": 2000,
"Value": "0"
},
+ {
+ "PowerHint": "LAUNCH_EXTEND",
+ "Node": "TARampupMultiplier",
+ "Duration": 2000,
+ "Value": "4"
+ },
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@@ -1385,6 +1511,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "DISPLAY_INACTIVE",
+ "Node": "PerTaskMaxIowaitBoost",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPUSkipMask",
@@ -1805,6 +1937,42 @@
"Duration": 0,
"Value": "cam2"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "AutoMigrationMarginsEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "AutoDvfsHeadroomEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "PerTaskMaxIowaitBoost",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "CPULittleClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "5000"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "CPUMidClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "20000"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "CPUBigClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "20000"
+ },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPUDVFSHeadroom",
@@ -1973,6 +2141,42 @@
"Duration": 0,
"Value": "cam2"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "AutoMigrationMarginsEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "AutoDvfsHeadroomEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "PerTaskMaxIowaitBoost",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "CPULittleClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "5000"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "CPUMidClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "20000"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "CPUBigClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "20000"
+ },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUUtilThreshold",
@@ -2165,6 +2369,42 @@
"Duration": 0,
"Value": "cam1"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "AutoMigrationMarginsEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "AutoDvfsHeadroomEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "PerTaskMaxIowaitBoost",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "CPULittleClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "5000"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "CPUMidClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "20000"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "CPUBigClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "20000"
+ },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUUtilThreshold",
@@ -2255,6 +2495,42 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_LOW",
+ "Node": "AutoMigrationMarginsEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_LOW",
+ "Node": "AutoDvfsHeadroomEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_LOW",
+ "Node": "PerTaskMaxIowaitBoost",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_LOW",
+ "Node": "CPULittleClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "5000"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_LOW",
+ "Node": "CPUMidClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "20000"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_LOW",
+ "Node": "CPUBigClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "20000"
+ },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom",
@@ -2465,6 +2741,24 @@
"Duration": 0,
"Value": "1100"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
+ "Node": "AutoMigrationMarginsEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
+ "Node": "AutoDvfsHeadroomEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
+ "Node": "PerTaskMaxIowaitBoost",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CPUDVFSHeadroom",
@@ -2731,6 +3025,12 @@
"Duration": 0,
"Value": "1"
},
+ {
+ "PowerHint": "AUTOMOTIVE_PROJECTION",
+ "Node": "AAModeProperty",
+ "Duration": 0,
+ "Value": "1"
+ },
{
"PowerHint": "DISPLAY_IDLE",
"Node": "FGPreferIdle",
@@ -2742,6 +3042,48 @@
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Type": "MaskHint",
+ "Value":"DISPLAY_UPDATE_IMMINENT",
+ "EnableProperty": "vendor.powerhal.mode.aa"
+ },
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Type": "MaskHint",
+ "Value":"CPU_LOAD_RESET",
+ "EnableProperty": "vendor.powerhal.mode.aa"
+ },
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Node": "TARampupMultiplier",
+ "Duration": 0,
+ "Value": "1"
+ },
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Node": "AdpfRampupMultiplier",
+ "Duration": 0,
+ "Value": "1"
+ },
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Node": "CPULittleClusterResponseTimeMs",
+ "Duration": 0,
+ "Value": "13"
+ },
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Node": "CPUMidClusterResponseTimeMs",
+ "Duration": 0,
+ "Value": "56"
+ },
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Node": "CPUBigClusterResponseTimeMs",
+ "Duration": 0,
+ "Value": "180"
+ },
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPULittleClusterDownRateLimitUs",
@@ -2844,6 +3186,54 @@
"Duration": 0,
"Value": "1"
},
+ {
+ "PowerHint": "GAME",
+ "Node": "AutoMigrationMarginsEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "GAME",
+ "Node": "AutoDvfsHeadroomEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "GAME",
+ "Node": "TARampupMultiplier",
+ "Duration": 0,
+ "Value": "1"
+ },
+ {
+ "PowerHint": "GAME",
+ "Node": "AdpfRampupMultiplier",
+ "Duration": 0,
+ "Value": "2"
+ },
+ {
+ "PowerHint": "GAME",
+ "Node": "CPULittleClusterResponseTimeMs",
+ "Duration": 0,
+ "Value": "9"
+ },
+ {
+ "PowerHint": "GAME",
+ "Node": "CPUMidClusterResponseTimeMs",
+ "Duration": 0,
+ "Value": "52"
+ },
+ {
+ "PowerHint": "GAME",
+ "Node": "CPUBigClusterResponseTimeMs",
+ "Duration": 0,
+ "Value": "178"
+ },
+ {
+ "PowerHint": "GAME",
+ "Node": "PerTaskMaxIowaitBoost",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL",
@@ -3030,6 +3420,42 @@
"Duration": 2000,
"Value": "44"
},
+ {
+ "PowerHint": "CAMERA_PROJECT11",
+ "Node": "AutoMigrationMarginsEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_PROJECT11",
+ "Node": "AutoDvfsHeadroomEnable",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_PROJECT11",
+ "Node": "PerTaskMaxIowaitBoost",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
+ "PowerHint": "CAMERA_PROJECT11",
+ "Node": "CPULittleClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "5000"
+ },
+ {
+ "PowerHint": "CAMERA_PROJECT11",
+ "Node": "CPUMidClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "20000"
+ },
+ {
+ "PowerHint": "CAMERA_PROJECT11",
+ "Node": "CPUBigClusterDownRateLimitUs",
+ "Duration": 0,
+ "Value": "20000"
+ },
{
"PowerHint": "CAMERA_PROJECT11",
"Node": "PowerHALCameraRunning",
@@ -3184,14 +3610,14 @@
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 231,
+ "UclampMin_LoadUp": 480,
+ "UclampMin_LoadReset": 480,
"UclampMin_High": 480,
"UclampMin_Low": 2,
"SamplingWindow_P": 1,
"SamplingWindow_I": 0,
"SamplingWindow_D": 1,
"ReportingRateLimitNs": 83333330,
- "EarlyBoost_On": false,
- "EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 15.0,
"GpuBoost": true,
@@ -3220,14 +3646,14 @@
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 231,
+ "UclampMin_LoadUp": 480,
+ "UclampMin_LoadReset": 480,
"UclampMin_High": 480,
"UclampMin_Low": 2,
"SamplingWindow_P": 1,
"SamplingWindow_I": 0,
"SamplingWindow_D": 1,
"ReportingRateLimitNs": 111111110,
- "EarlyBoost_On": false,
- "EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 15.0,
"GpuBoost": true,
@@ -3256,14 +3682,14 @@
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 231,
+ "UclampMin_LoadUp": 480,
+ "UclampMin_LoadReset": 480,
"UclampMin_High": 480,
"UclampMin_Low": 2,
"SamplingWindow_P": 1,
"SamplingWindow_I": 0,
"SamplingWindow_D": 1,
"ReportingRateLimitNs": 166666660,
- "EarlyBoost_On": false,
- "EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 15.0,
"GpuBoost": true,
@@ -3280,79 +3706,42 @@
"MaxRecordsNum": 300
},
{
- "Name": "UiHighBoostWithoutPid",
- "PID_On": false,
- "PID_Po": 0,
- "PID_Pu": 0,
- "PID_I": 0,
- "PID_I_Init": 0,
- "PID_I_High": 0,
- "PID_I_Low": 0,
- "PID_Do": 0,
- "PID_Du": 0,
- "SamplingWindow_P": 1,
- "SamplingWindow_I": 1,
- "SamplingWindow_D": 1,
+ "Name": "SYSTEM_UI_PROFILE",
+ "PID_On": true,
+ "PID_Po": 2.0,
+ "PID_Pu": 0.5,
+ "PID_I": 0.0,
+ "PID_I_Init": 200,
+ "PID_I_High": 512,
+ "PID_I_Low": -30,
+ "PID_Do": 500.0,
+ "PID_Du": 0.0,
"UclampMin_On": true,
- "UclampMin_Init": 250,
- "UclampMin_High": 196,
- "UclampMin_Low": 196,
- "ReportingRateLimitNs": 1,
- "EarlyBoost_On": false,
- "EarlyBoost_TimeFactor": 0.0,
- "TargetTimeFactor": 1.0,
- "StaleTimeFactor": 5.0,
- "GpuBooost" : false
- },
- {
- "Name": "UiLowBoostWithoutPid",
- "PID_On": false,
- "PID_Po": 0,
- "PID_Pu": 0,
- "PID_I": 0,
- "PID_I_Init": 0,
- "PID_I_High": 0,
- "PID_I_Low": 0,
- "PID_Do": 0,
- "PID_Du": 0,
+ "UclampMin_Init": 231,
+ "UclampMin_LoadUp": 730,
+ "UclampMin_LoadReset": 730,
+ "UclampMin_High": 480,
+ "UclampMin_Low": 2,
+ "UclampMax_EfficientBase": 500,
+ "UclampMax_EfficientOffset": 200,
"SamplingWindow_P": 1,
- "SamplingWindow_I": 1,
+ "SamplingWindow_I": 0,
"SamplingWindow_D": 1,
- "UclampMin_On": true,
- "UclampMin_Init": 250,
- "UclampMin_High": 52,
- "UclampMin_Low": 52,
- "ReportingRateLimitNs": 1,
- "EarlyBoost_On": false,
- "EarlyBoost_TimeFactor": 0.0,
+ "ReportingRateLimitNs": 166666660,
"TargetTimeFactor": 1.0,
- "StaleTimeFactor": 5.0,
- "GpuBooost" : false
- },
- {
- "Name": "UiLowNoneBoost",
- "PID_On": false,
- "PID_Po": 0,
- "PID_Pu": 0,
- "PID_I": 0,
- "PID_I_Init": 0,
- "PID_I_High": 0,
- "PID_I_Low": 0,
- "PID_Do": 0,
- "PID_Du": 0,
- "SamplingWindow_P": 1,
- "SamplingWindow_I": 1,
- "SamplingWindow_D": 1,
- "UclampMin_On": true,
- "UclampMin_Init": 250,
- "UclampMin_High": 0,
- "UclampMin_Low": 0,
- "ReportingRateLimitNs": 1,
- "EarlyBoost_On": false,
- "EarlyBoost_TimeFactor": 0.0,
- "TargetTimeFactor": 1.0,
- "StaleTimeFactor": 5.0,
- "GpuBooost" : false
+ "StaleTimeFactor": 15.0,
+ "GpuBoost": true,
+ "GpuCapacityBoostMax": 25000,
+ "HeuristicBoost_On": true,
+ "HBoostModerateJankThreshold": 2,
+ "HBoostOffMaxAvgDurRatio": 4.0,
+ "HBoostSevereJankPidPu": 0.3,
+ "HBoostSevereJankThreshold": 8,
+ "HBoostUclampMinCeilingRange": [480, 722],
+ "HBoostUclampMinFloorRange": [230, 410],
+ "JankCheckTimeFactor": 1.2,
+ "LowFrameRateThreshold": 25,
+ "MaxRecordsNum": 300
}
]
}
diff --git a/wifi/BoardConfig-wifi.mk b/wifi/BoardConfig-wifi.mk
index 1035c0f..b6188f3 100644
--- a/wifi/BoardConfig-wifi.mk
+++ b/wifi/BoardConfig-wifi.mk
@@ -31,6 +31,7 @@ WIFI_AVOID_IFACE_RESET_MAC_CHANGE := true
WIFI_FEATURE_HOSTAPD_11AX := true
BOARD_HOSTAPD_CONFIG_80211W_MFP_OPTIONAL := true
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
+WIFI_BRCM_OPEN_SOURCE_MULTI_AKM := enabled
PRODUCT_COPY_FILES += \
device/google/akita/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \