land: Clean up some setprops
* Move them to product/ * Remove obsolete ones Change-Id: Id0159c636f515e53a0779d9bde2923c4d3492e88
This commit is contained in:
parent
888031fe4e
commit
e3700b5f8b
3 changed files with 5 additions and 23 deletions
|
@ -17,6 +17,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
persist.radio.multisim.config=dsds \
|
persist.radio.multisim.config=dsds \
|
||||||
persist.radio.sib16_support=1 \
|
persist.radio.sib16_support=1 \
|
||||||
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so \
|
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so \
|
||||||
|
ro.telephony.call_ring.multiple=false \
|
||||||
ro.telephony.default_network=20 \
|
ro.telephony.default_network=20 \
|
||||||
ro.use_data_netmgrd=true
|
ro.use_data_netmgrd=true
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,10 @@ PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
|
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
|
||||||
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml
|
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
wifi.interface=wlan0
|
||||||
|
|
||||||
# Wifi
|
# Wifi
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libqsap_sdk \
|
libqsap_sdk \
|
||||||
|
|
|
@ -108,18 +108,10 @@ on boot
|
||||||
#Create NETMGR daemon socket area
|
#Create NETMGR daemon socket area
|
||||||
mkdir /dev/socket/netmgr 0750 radio radio
|
mkdir /dev/socket/netmgr 0750 radio radio
|
||||||
|
|
||||||
setprop wifi.interface wlan0
|
|
||||||
#NULL lixiuzhen 2016\04\03 add ota prop for mbn update
|
#NULL lixiuzhen 2016\04\03 add ota prop for mbn update
|
||||||
setprop persist.radio.start_ota_daemon 1
|
setprop persist.radio.start_ota_daemon 1
|
||||||
setprop persist.radio.sw_mbn_openmkt 1
|
setprop persist.radio.sw_mbn_openmkt 1
|
||||||
|
|
||||||
# Define TCP buffer sizes for various networks
|
|
||||||
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
|
|
||||||
setprop net.tcp.buffersize.wifi 524288,2097152,4194304,262144,524288,1048576
|
|
||||||
|
|
||||||
|
|
||||||
setprop ro.telephony.call_ring.multiple false
|
|
||||||
|
|
||||||
#enable camera read sensors data
|
#enable camera read sensors data
|
||||||
setprop persist.camera.gyro.disable 0
|
setprop persist.camera.gyro.disable 0
|
||||||
setprop persist.camera.stats.test 5
|
setprop persist.camera.stats.test 5
|
||||||
|
@ -133,21 +125,6 @@ on boot
|
||||||
#For bridgemgr daemon to inform the USB driver of the correct transport
|
#For bridgemgr daemon to inform the USB driver of the correct transport
|
||||||
chown radio radio /sys/class/android_usb/f_rmnet_smd_sdio/transport
|
chown radio radio /sys/class/android_usb/f_rmnet_smd_sdio/transport
|
||||||
|
|
||||||
# Define TCP buffer sizes for various networks
|
|
||||||
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
|
|
||||||
setprop net.tcp.buffersize.default 4096,87380,524288,4096,16384,110208
|
|
||||||
setprop net.tcp.buffersize.lte 2097152,4194304,8388608,262144,524288,1048576
|
|
||||||
setprop net.tcp.buffersize.umts 4094,87380,110208,4096,16384,110208
|
|
||||||
setprop net.tcp.buffersize.hspa 4094,87380,1220608,4096,16384,1220608
|
|
||||||
setprop net.tcp.buffersize.hsupa 4094,87380,1220608,4096,16384,1220608
|
|
||||||
setprop net.tcp.buffersize.hsdpa 4094,87380,1220608,4096,16384,1220608
|
|
||||||
setprop net.tcp.buffersize.hspap 4094,87380,1220608,4096,16384,1220608
|
|
||||||
setprop net.tcp.buffersize.edge 4093,26280,35040,4096,16384,35040
|
|
||||||
setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,11680
|
|
||||||
setprop net.tcp.buffersize.evdo 4094,87380,524288,4096,16384,262144
|
|
||||||
|
|
||||||
setprop net.tcp.2g_init_rwnd 10
|
|
||||||
|
|
||||||
# Assign TCP buffer thresholds to be ceiling value of technology maximums
|
# Assign TCP buffer thresholds to be ceiling value of technology maximums
|
||||||
# Increased technology maximums should be reflected here.
|
# Increased technology maximums should be reflected here.
|
||||||
write /proc/sys/net/core/rmem_max 8388608
|
write /proc/sys/net/core/rmem_max 8388608
|
||||||
|
|
Loading…
Reference in a new issue