Commit graph

9 commits

Author SHA1 Message Date
Aayush Gupta
11a0c6e2c3 sdm660-common: rro_overlays: Install TetheringOverlay into vendor
We don't have a dedicated product partition which will leave
WiFi broken on vanilla AOSP GSI.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I0f45fb720105e3e25976746a94efb5ef5dc0ebc7
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
Bruno Martins
ce68f3873d
sdm660-common: Sign Tether RROs with default cert
In analogy to I017491fd383551c5aadf8648edb900e0c12a27b8

Change-Id: I18f770da2986653a70fdfa92f3be5e1199d06d08
2021-01-21 03:26:34 +06:00
Michael Bestas
7e5df23224
sdm660-common: TetheringOverlay: Drop custom dhcp range
Qcom extends default range to add wigig support,
which is not supported.

Change-Id: I17324e41b8345de508e8d2627ea282c65ab1262b
2021-01-21 03:26:34 +06:00
Jimmy Chen
b049da5759
sdm660-common: TetheringOverlay: revise p2p tether interface regex pattern
cheryl does not use separate interface for a group, it will share main
p2p0 interface.

Bug: 141382930
Test: run P2P with cheryl as GO
Change-Id: I061ed0ac66f8ae75c84d7683f66d4baffd3a3112
2020-12-13 18:25:07 +06:00
Jimmy Chen
26da0c2fb1
sdm660-common: TetheringOverlay: add p2p regex for tethering modes
Bug: 137602441
Test: CtsVerifier - Wi-Fi Direct
Change-Id: I215da71e96348b6bba19d4a3c6fd8c8048ff46d6
2020-12-13 18:25:07 +06:00
LuK1337
2a552a7449
sdm660-common: TetheringOverlay: Remove bnep\\d from tetherable BT interfaces
Change-Id: Iac714d2de9a4d225da6fc3463d3fb99a4bb714a7
2020-12-13 18:25:07 +06:00
LuK1337
8062c98553
sdm660-common: TetheringOverlay: Disable BPF offload
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]: 4e0a5f13fc/server/TetherController.cpp (L1047)

Change-Id: Ic7db658130f42fc0737bfb52aef7235c6fea0db2
2020-12-13 18:25:07 +06:00
LuK1337
9614c2d4c9
sdm660-common: rro_overlays: Redo TetheringOverlay's blueprint
This now matches WifiOverlay.

Change-Id: I9e4e859b7aca75d41556ea5807e34a4eb4598266
2020-12-13 18:25:07 +06:00
Weilun Du
d008a7e9a6
sdm660-common: Add TetheringOverlay
BUG: 163800715
Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06
2020-12-13 18:25:07 +06:00