diff --git a/init.deb.rc b/init.deb.rc
index cb84ac9..0607303 100644
--- a/init.deb.rc
+++ b/init.deb.rc
@@ -119,9 +119,6 @@ on boot
write /proc/sys/net/core/rmem_max 2097152
write /proc/sys/net/core/wmem_max 2097152
-# Tune buffersize for higher Miracast throughput
- setprop net.tcp.buffersize.wifi 524288,1048576,2560000,524288,1048576,2560000
-
# msm specific files that need to be created on /data
on post-fs-data
chown system system /dev/wcnss_wlan
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 75fabb1..b99ffee 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -310,4 +310,8 @@
false
+
+
+ 524288,1048576,2560000,524288,1048576,2560000