From fa2e9df9c9fa5118f7560f8ea73f9fc13323df8a Mon Sep 17 00:00:00 2001 From: Simon1511 Date: Sat, 22 Jun 2024 12:36:30 +0200 Subject: [PATCH] sm7125-common: update everything to A525FXXS7FXE2 Change-Id: I3d8d79eb445d5fae536e426519614cbf427085d3 --- configs/wifi/WCNSS_qcom_cfg.ini | 4 ++-- configs/wifi/wpa_supplicant_overlay.conf | 4 +++- proprietary-files.txt | 4 ++-- rootdir/etc/ueventd.qcom.rc | 3 +++ rootdir/etc/wifi_sec.rc | 7 ++++--- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/configs/wifi/WCNSS_qcom_cfg.ini b/configs/wifi/WCNSS_qcom_cfg.ini index 0a4ab3e..33cea86 100644 --- a/configs/wifi/WCNSS_qcom_cfg.ini +++ b/configs/wifi/WCNSS_qcom_cfg.ini @@ -173,8 +173,8 @@ gSetRxChainmask1x1=1 # Scan Timing Parameters # gPassiveMaxChannelTime=110 # gPassiveMinChannelTime=60 -gActiveMaxChannelTime=40 -gActiveMinChannelTime=20 +gActiveMaxChannelTime=80 +gActiveMinChannelTime=60 #If set to 0, MCC is not allowed. gEnableMCCMode=1 diff --git a/configs/wifi/wpa_supplicant_overlay.conf b/configs/wifi/wpa_supplicant_overlay.conf index ae0800f..3f36ac7 100644 --- a/configs/wifi/wpa_supplicant_overlay.conf +++ b/configs/wifi/wpa_supplicant_overlay.conf @@ -1,4 +1,6 @@ p2p_disabled=1 update_config=1 pmf=1 -tdls_external_control=1 \ No newline at end of file +tdls_external_control=1 +#PMK Lifetime value 259200 = 72 hours +dot11RSNAConfigPMKLifetime=259200 diff --git a/proprietary-files.txt b/proprietary-files.txt index 639af24..b3ba350 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,4 +1,4 @@ -# All blobs are from A525FXXU6EWL3 (U), unless pinned +# All blobs are from A525FXXS7FXE2 (U), unless pinned # ACDB vendor/lib/libacdb-fts.so @@ -930,7 +930,7 @@ vendor/lib64/libdsi_netctrl.so vendor/lib/libqcmaputils.so vendor/lib64/libqcmaputils.so vendor/lib64/libengmode_client.so -vendor/lib64/libsec-ril.so|581c3cc3814bd3450f0228a9f3b46eab53a5ba09 +vendor/lib64/libsec-ril.so|a5e33da6edd1bfe0b4dc6ae90c6db6a34ea029fb vendor/lib64/libsecril-client.so vendor/lib64/libril_sem.so vendor/lib64/libSemTelephonyProps.so diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index 2f2e2f0..2a93d5a 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -398,6 +398,9 @@ firmware_directories /vendor/firmware_mnt/image/ /vendor/firmware-modem/image/ /sys/class/dual_role_usb/* power_role 0660 system system /sys/class/dual_role_usb/* mode 0660 system system +#permissions secure_lock +/sys/class/usb_notify/usb_control usb_sl 0664 system usb + #Memory Offline /sys/devices/system/memory/memory* state 0660 system system diff --git a/rootdir/etc/wifi_sec.rc b/rootdir/etc/wifi_sec.rc index 0bf42ff..2f9b6a7 100644 --- a/rootdir/etc/wifi_sec.rc +++ b/rootdir/etc/wifi_sec.rc @@ -37,9 +37,10 @@ on post-fs-data chmod 0640 /sys/wifi/feature # for WIFI MAC - mkdir /mnt/vendor/efs/wifi 0755 wifi wifi - chown wifi wifi /mnt/vendor/efs/wifi/.mac.info - chmod 0644 /mnt/vendor/efs/wifi/.mac.info + mkdir /mnt/vendor/efs/wifi 0775 system wifi + chmod 0775 /mnt/vendor/efs/wifi + chown system wifi /mnt/vendor/efs/wifi/.mac.info + chmod 0664 /mnt/vendor/efs/wifi/.mac.info chown wifi wifi /mnt/vendor/efs/wifi/.mac.cob chmod 0644 /mnt/vendor/efs/wifi/.mac.cob chown wifi wifi /sys/wifi/mac_addr