Commit graph

19 commits

Author SHA1 Message Date
Quallenauge
e5495bf881 sdm660-common: WifiOverlay: Disable WPA2 -> WPA3 upgrade.
Our device doesn't simply support sae.

Change-Id: Ibf8b9e363b4677cf2ab9590cc2ea1ba2341e29ca
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:17:51 +01:00
Alexander Winkowski
9b172f48c8 sdm660-common: Mark only strings as untranslatable
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:15:11 +01:00
Nate Jiang
a57e25f5b3 sdm660-common: wifi: Enable set channel on NDP setup
Bug: 190354626
Test: build, CtsVerifier
Change-Id: Ieff18b96ec0f24c1c20c40add4e47a532ece8922
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:15:11 +01:00
Les Lee
3506869429 sdm660-common: wifi: Configure correct overlay configuration.
ag/16564596 will change default value to false.
Configure correct overlay configuration.

Bug: 212488775
Test: manual test & build
Change-Id: Iaf1a0a23dae69fde5995e591a757a8ef5374d5b5
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:15:11 +01:00
Himanshu Agrawal
78c5f0f7c0 sdm660-common: WifiOverlay: Disable ACS and 11AC for legacy chipsets
Legacy chipsets does not support ACS ( from framework ) and 11AC
configuration from framework. Hence disable them through overlay.

CRs-Fixed: 2878969
Change-Id: Ie5c5fa74f788cb3c7179c36f871d85181bfd2863
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Ratoriku
8aeae4bb5e sdm660-common: Drop TetheringOverlay
* It is forced to use bpf in Android S. Also we have it backported in k4.4, so this overlay is totally useless now

Signed-off-by: Ratoriku <a1063021545@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
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
Aayush Gupta
7e4e72cfb1 sdm660-common: rro_overlays: Install WifiOverlay 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: I3107da263fd29f0bc40f495ad84fdf4db0d3c814
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
Pig
cf62183a37 sdm660-common: Mark WifiOverlay as coreApp
Change-Id: I1f272c449823e52a68b7ef23577d2e950745f5f4
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
David Su
e4cd8c3832
sdm660-common: Don't sign Wifi RROs with platform cert
Preinstalled overlays needn't be signed with the same cert
as the package it overlays, simply being preinstalled is
enough. Sign with the default cert instead for now, which
provides fewer special privileges.

Bug: 162195999
Test: verify values still overlaid correctly
Change-Id: I017491fd383551c5aadf8648edb900e0c12a27b8
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
Roshan Pius
9ddf8cdc12
sdm660-common: Add WifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2020-12-13 18:25:07 +06:00