Commit 34ac40f2 authored by Rajan Palaniya's avatar Rajan Palaniya 💬
Browse files

sm8150-common: added back WFD blobs

parent 7efbb429
#Main logging indication
EnableLogs=True
#Debug detailing level
#if commented \ removed it will use default: full info
# 0 - nothing
# 3 - critical errors
# 5 - critical info
# 10 - errors
# 30 - warnings
# 40 - info
# 50 - additional info
# 60 - full info
DebugLevel=10
#Directory of HDCP TrustZone application file
#Uncomment the following line in order to override system default value
TzAppPath=/vendor/firmware_mnt/image/
#Secure File System path.
#In Arm HDCP versions prior to 4.0.0, this parameter was named "UserRootDir".
#Unless required for backward compatibility, Arm recommends not to change the value of this parameter.
#SfsPath=/persist/data
#Enable / Disable file logs. If set to "False" - file logs will be disabled
UseLogFile=False
LogPath=/data/local/tmp
LogFileName=hdcp.log
LogFileMaxSize=52428800
MaxNumOfLogFiles=40
#Merge the client logs into logcat
#comment out \ remove to disable
LogcatLogs=True
#Enable stdout logs. For production devices, this parameter must be set to False
StdoutLogs=False
#HLOS data dir, comment out \ remove to enable default value (/data/system)
HlosDataDir = /data/system
#Set True/False
#Set value for capbiliy mask : TRANSMITTER_LOCALITY_PRECOMPUTE_SUPPORT_BIT_MASK and RECEIVER_LOCALITY_PRECOMPUTE_SUPPORT_BIT_MASK as part of spcification. Default value is True.
IsLocalityCheckPreComputeSupported=True
#Transmitter only - number of Max LC retries, for any reason. This should not exceed the spcification 1023 re-attempts. For the total number of attempts, add 1 to this parameter.
#if commented \ removed it will use default (1023)
TotalLcRetries=1023
#Transmitter only - number of LC retries, out of the total TotalLcRetries, which are due to LC_SEND_L_PRIME not arrived in pre-compute mode, or due to cryptographic failured caused by a LC_SEND_L_PRIME arriving in delay,
# or wrong LC_SEND_L_PRIME content
#These retries are subset of the total retries in TotalLcRetries, so this parameter should be always less than the maximum specification allowed 1023 retries, but must also be less than TotalLcRetries
#This parameter will leave total number of TotalLcRetries-HlosLcTimeoutRetries retries due to the case of message arrived too late (more than 7ms, verified in TEE)
HlosLcTimeoutRetries=9
#for locality check with pre-compute capability - time for retry in soruce (in HLOS), in case that no message received from sink
LcPreComputeHlosTimeout=100
#overall connection timeout
#remove \ comment to use default (10000)
UpstreamOverallAuthenticationTimeout=10000
DownsOverallAuthenticationTimeout=10000
#Avoid HDCP timeouts - Possible in testing Keys only. May be used for debug purposes. All HDCP protocol timeouts will be avoided, excluding receiver timeouts will HDCP 2.2 Transmitter is working with HDCP 2.0 receiver.
#Secure timestamp checking in Locality check and propagations will be avoided too.
AvoidTimeouts=False
# Override the default TEE service logging mechanism. Any combination of True/False is valid.
# The settings is secondary. Leave undefined to use platform defaults (recommended!)
TeeNativeLogging=False
TeeSerializedLogging=True
# Logger Queue number of slots
# The value should be power of 2 that is greater than or equal to 128 (i.e 128, 256, 512 ...)
# Default value 4096
LoggerQueueSize=4096
# When IsSinkDualModeEnabled is True, the sink can switch between repeater and receiver
# depending if it has populated topology beneath it. When IsSinkDualModeEnabled is False,
# the sink will always identify itself as a repeater and if there is no devices beneath it,
# it will have zero-size receiver ID list in its topology.
# Default is True.
IsSinkDualModeEnabled=True
# When SinkSendVPrimeMSB is True, Sink sends the most significant 128-bits of V' during upstream
# propagation, as required by the HDCP specification. When SinkSendVPrimeMSB is False, Sink sends
# the least significant 128-bits of V' during upstream propagation, inconsistently with the HDCP
# specification, but without compromising security. This allows Sink to work against 3rd party
# devices who violate the HDCP specification.
# Default is False.
SinkSendVPrimeMSB=False
# Size (in bytes) for hlos-ptr shared memory. Default: 2097152 (2MB)
# When EArmHdcpBufferType::ARM_HDCP_BUFFER_TYPE_VIRTUAL_POINTER type is used for cipher buffers, an intermediate ION buffer should be allocated.
# Size of the pre-allocated ION buffer is defined by SizeBytesForHlosPtrAsSharedMemRef value.
# If SizeBytesForHlosPtrAsSharedMemRef is set to 0, cipher calls with EArmHdcpBufferType::ARM_HDCP_BUFFER_TYPE_VIRTUAL_POINTER type will fail.
# When using Google WFD with libstagefright_hdcp.so this parameter should be set to 2 * maximum needed buffer size per encrypt operation and rounded up to 4096 bytes boundary
SizeBytesForHlosPtrAsSharedMemRef=0
# Optional ION buffer parameters
# When SizeBytesForHlosPtrAsSharedMemRef > 0, the following parameters used for pre-allocated ION buffer allocation.
# Note: HDCP test application require SizeBytesForHlosPtrAsSharedMemRef=2097152
# Non-secure ION heap ID. Default: 27 (27=ION_QSECOM_HEAP_ID)
# NON_SECURE_ION_HEAP_ID=27
# Alignment in KB for non-secure buffer allocation using ION heap. Default: 4
# NON_SECURE_ION_HEAP_ALIGN_KB=4
# Non-secure ION buffer allocation flags. Default: 0
# NON_SECURE_ION_HEAP_FLAGS=0
# The following parameters used for secure ION buffers allocation (for test purpose only)
# Secure ION heap ID. Default: 9 (9=ION_SECURE_HEAP_ID)
# TEST_SECURE_ION_HEAP_ID=9
# Alignment in KB for secure buffer allocation using ION heap. Default: 4
# TEST_SECURE_ION_HEAP_ALIGN_KB=4
# Secure ION buffer allocation flags. Default: 2147745792 (2147745792 = 0x80040000 = (ION_SECURE | ION_FLAG_CP_BITSTREAM))
# TEST_SECURE_ION_HEAP_FLAGS=2147745792
# TEST_SECURE_ION_HEAP_USE_TAG_MEM can be False (Default) or True
# Set TEST_SECURE_ION_HEAP_USE_TAG_MEM to 1 to enforce qsee_tag_mem(AC_VM_CP_BITSTREAM, ...) call for each allocated ION secure buffer
# TEST_SECURE_ION_HEAP_USE_TAG_MEM=False
# Copyright (c) 2018-2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service wfdhdcphalservice /vendor/bin/wfdhdcphalservice
class main
user system
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service wifidisplayhalservice /vendor/bin/wifidisplayhalservice
class main
user system
group inet input audio media uhid
capabilities NET_RAW
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service wfdvndservice /vendor/bin/wfdvndservice
class main
user system
group inet
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# Copyright (C) 2019 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.
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
#prctl: arg0 == PR_GET_DUMPABLE || arg0 == PR_SET_VMA
prctl: 1
openat: 1
futex: 1
close: 1
read: 1
write: 1
fstat64: 1
fstatat64: 1
readlinkat: 1
fstatfs64: 1
pread64: 1
#ioctl: arg1 == BINDER_VERSION || arg1 == BINDER_SET_MAX_THREADS || arg1 == BINDER_WRITE_READ
ioctl: 1
faccessat: 1
clock_gettime: 1
getuid32: 1
rt_sigaction: 1
writev: 1
madvise: 1
_llseek: 1
rt_sigprocmask: 1
fcntl64: 1
#set_tls: 1
personality: 1
getrandom: 1
open: 1
ugetrlimit: 1
clone: 1
set_tid_address: 1
execve: 1
sched_getscheduler: 1
exit_group: 1
rt_sigreturn: 1
restart_syscall: 1
connect: 1
socket: arg0 == AF_UNIX
exit: 1
readlink: 1
getpid: 1
sigaltstack: 1
setpriority: 1
getdents64: 1
dup: 1
\ No newline at end of file
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# Copyright (C) 2019 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.
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
#prctl: arg0 == PR_SET_VMA || arg0 == PR_GET_DUMPABLE
prctl: 1
futex: 1
openat: 1
fstatat64: 1
read: 1
write: 1
close: 1
sendto: 1
clock_gettime: 1
fstat64: 1
faccessat: 1
readlinkat: 1
pread64: 1
fstatfs64: 1
getuid32: 1
rt_sigaction: 1
#ioctl: arg1 == BINDER_WRITE_READ || arg1 == BINDER_VERSION || arg1 == BINDER_SET_MAX_THREADS
ioctl: 1
writev: 1
rt_sigprocmask: 1
madvise: 1
fcntl64: 1
clone: 1
#set_tls: 1
open: 1
personality: 1
getrandom: 1
restart_syscall: 1
sched_getscheduler: 1
execve: 1
socket: arg0 == AF_UNIX
exit_group: 1
rt_sigreturn: 1
connect: 1
set_tid_address: 1
readlink: 1
ugetrlimit: 1
exit: 1
getpid: 1
gettid: 1
sigaltstack: 1
setpriority: 1
lseek: 1
sched_yield: 1
_llseek: 1
nanosleep: 1
flock: 1
setsockopt: 1
bind: 1
getsockname: 1
listen: 1
pselect6: 1
accept4: 1
sendmsg: 1
recvfrom: 1
mremap: 1
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# Copyright (C) 2019 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.
#ioctl: arg1 == BINDER_WRITE_READ || arg1 == BINDER_VERSION || arg1 == VIDIOC_QBUF || arg1 == BINDER_SET_MAX_THREADS
ioctl: 1
futex: 1
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
clock_gettime: 1
dup: 1
munmap: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
#prctl: arg0 == PR_GET_DUMPABLE || arg0 == PR_SET_VMA
prctl: 1
openat: 1
close: 1
fstat64: 1
read: 1
write: 1
readlinkat: 1
unlinkat: 1
mremap: 1
pread64: 1
fstatfs64: 1
fstatat64: 1
getuid32: 1
writev: 1
faccessat: 1
rt_sigaction: 1
sendto: 1
_llseek: 1
madvise: 1
rt_sigprocmask: 1
fcntl64: 1
#set_tls: 1
personality: 1
getrandom: 1
ugetrlimit: 1
rt_sigreturn: 1
set_tid_address: 1
open: 1
exit: 1
sched_getscheduler: 1
connect: 1
execve: 1
getpid: 1
exit_group: 1
socket: arg0 == AF_UNIX
clone: 1
restart_syscall: 1
sigaltstack: 1
setpriority: 1
setsockopt: 1
getsockopt: 1
bind: 1
listen: 1
socketpair: 1
getpriority: 1
pselect6: 1
accept4: 1
sendmsg: 1
sendmmsg: 1
recvmsg: 1
recvfrom: 1
gettimeofday: 1
lseek: 1
getsockname: 1
nanosleep: 1
ppoll: 1
timer_create: 1
timer_delete: 1
timer_settime: 1
rt_sigtimedwait: 1
eventfd2: 1
tgkill: 1
gettid: 1
sched_yield: 1
flock: 1
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment