LineageOS 18.1 patches & tweaks for Samsung S5 Neo (s5neolte)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

37 lines
1.8 KiB

<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2020, 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Use the BPF offload for tethering when the kernel has support. True by default.
If the device doesn't want to support tether BPF offload, this should be false.
Note that this setting could be overridden by device config.
-->
<!--
The new trafficController design is based on per-cgroup eBPF filter as well as xt_bpf netfilter module inside the kernel.
However, support for per-cgroup eBPF is available on only on kernels >=4.9 . Disable BPF offloading support completely
as without proper per-cgroup eBPF, the stats returns errors continuously.
E TetherController: Error processing tether stats from BPF maps: Get firstKey map -1 failed: Bad file descriptor
Ref:
[0]: https://source.android.com/devices/tech/datausage/ebpf-traffic-monitor
[1]: https://github.com/LineageOS/android_system_netd/blob/4e0a5f13fc1018d0d5f60616c32b863277937134/server/TetherController.cpp#L1047
-->
<bool translatable="false" name="config_tether_enable_bpf_offload">false</bool>
</resources>