From 9db8c953a9d99475549d3dabce243a0ffae02090 Mon Sep 17 00:00:00 2001 From: Frank Yu Date: Tue, 2 Jul 2024 10:27:00 +0000 Subject: [PATCH] Add coex display ssc configs to device. Bug: 349267882 Test: manually checked file is on device Change-Id: If7dfedc4336769645a530feb2ba7e3c86aff3488 --- device-tegu.mk | 6 ++++ radio/coex/Android.bp | 31 +++++++++++++++++++ radio/coex/display_primary_ssc_coex_table.csv | 5 +++ 3 files changed, 42 insertions(+) create mode 100644 radio/coex/Android.bp create mode 100644 radio/coex/display_primary_ssc_coex_table.csv diff --git a/device-tegu.mk b/device-tegu.mk index d9f33f2..ae07ecb 100644 --- a/device-tegu.mk +++ b/device-tegu.mk @@ -104,6 +104,12 @@ PRODUCT_COPY_FILES += \ # lhbm peak brightness delay: decided by kernel PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.primarydisplay.lhbm.frames_to_reach_peak_brightness=0 +PRODUCT_SOONG_NAMESPACES += device/google/tegu/radio/coex + +# Coex Configs +PRODUCT_PACKAGES += \ + display_primary_ssc_coex_table + # Thermal VT estimator PRODUCT_PACKAGES += \ libthermal_tflite_wrapper diff --git a/radio/coex/Android.bp b/radio/coex/Android.bp new file mode 100644 index 0000000..ff0e17f --- /dev/null +++ b/radio/coex/Android.bp @@ -0,0 +1,31 @@ +// +// Copyright (C) 2023 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +soong_namespace { +} + +package { + default_applicable_licenses: [ + "//device/google/tegu:device_google_tegu_license", + ], +} + +prebuilt_etc { + name: "display_primary_ssc_coex_table", + filename: "display_primary_ssc_coex_table.csv", + vendor: true, + src: "display_primary_ssc_coex_table.csv", + relative_install_path: "modem", +} diff --git a/radio/coex/display_primary_ssc_coex_table.csv b/radio/coex/display_primary_ssc_coex_table.csv new file mode 100644 index 0000000..c8919f0 --- /dev/null +++ b/radio/coex/display_primary_ssc_coex_table.csv @@ -0,0 +1,5 @@ +1,0 +SNH,0 +CHA,0 + +717000,723000,1