2022-03-16 07:55:01 +00:00
|
|
|
# Copyright (C) 2022 Paranoid Android
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
device/qcom/common/vendor/telephony
|
|
|
|
|
|
|
|
# Data Services
|
|
|
|
$(call inherit-product, vendor/qcom/opensource/dataservices/dataservices_vendor_product.mk)
|
|
|
|
|
|
|
|
# IPACM
|
2022-10-29 17:03:54 +00:00
|
|
|
ifneq (,$(filter 5.10, $(TARGET_KERNEL_VERSION)))
|
2022-10-28 17:17:31 +00:00
|
|
|
PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/data-ipa-cfg-mgr
|
2022-03-16 07:55:01 +00:00
|
|
|
$(call inherit-product, vendor/qcom/opensource/data-ipa-cfg-mgr/ipacm_vendor_product.mk)
|
2022-10-28 17:17:31 +00:00
|
|
|
else
|
|
|
|
PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/data-ipa-cfg-mgr-legacy
|
|
|
|
$(call inherit-product, vendor/qcom/opensource/data-ipa-cfg-mgr-legacy/ipacm_vendor_product.mk)
|
|
|
|
endif
|
2022-03-16 07:55:01 +00:00
|
|
|
|
|
|
|
# RIL
|
|
|
|
ENABLE_VENDOR_RIL_SERVICE := true
|
|
|
|
|
2022-07-30 01:50:59 +00:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.radio@1.6.vendor \
|
|
|
|
android.hardware.radio.config@1.3.vendor \
|
|
|
|
android.hardware.radio.deprecated@1.0.vendor \
|
|
|
|
android.hardware.secure_element@1.2.vendor \
|
2022-08-29 10:30:08 +00:00
|
|
|
android.hardware.wifi.hostapd@1.0.vendor \
|
2022-07-30 01:50:59 +00:00
|
|
|
android.system.net.netd@1.1.vendor
|
|
|
|
|
2021-09-14 21:27:32 +00:00
|
|
|
ifneq (,$(filter 3.18 4.4 4.9 4.14 4.19 5.4, $(TARGET_KERNEL_VERSION)))
|
|
|
|
PRODUCT_VENDOR_PROPERTIES += \
|
|
|
|
persist.vendor.radio.rat_on=combine
|
|
|
|
endif
|
|
|
|
|
2022-06-14 11:49:48 +00:00
|
|
|
PRODUCT_VENDOR_PROPERTIES += \
|
2022-03-16 07:55:01 +00:00
|
|
|
persist.radio.multisim.config=dsds \
|
|
|
|
persist.vendor.radio.apm_sim_not_pwdn=1 \
|
|
|
|
persist.vendor.radio.custom_ecc=1 \
|
|
|
|
persist.vendor.radio.enableadvancedscan=true \
|
|
|
|
persist.vendor.radio.procedure_bytes=SKIP \
|
|
|
|
persist.vendor.radio.sib16_support=1
|
|
|
|
|
2022-11-28 18:55:31 +00:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), holi)
|
|
|
|
# Vendor property to enable fetching of QoS parameters via IQtiRadio HAL
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
persist.vendor.radio.fetchqos=true
|
|
|
|
|
|
|
|
#property to enable single ims registration
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
persist.vendor.rcs.singlereg.feature=1
|
|
|
|
endif
|
|
|
|
|
2022-03-16 07:55:01 +00:00
|
|
|
# Permissions
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
|
2022-07-25 07:06:33 +00:00
|
|
|
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
|
|
|
|
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
|