From 8e2f89f89f3488691bf3f19bfd9d53d5bdda7b37 Mon Sep 17 00:00:00 2001 From: Quang Luong Date: Tue, 15 Feb 2022 09:07:31 -0800 Subject: [PATCH] Add wifi/coex_table.xml Add a coex_table.xml for wifi channel avoidance. This table is copied over from the default coex table, with the addition of marking the entire 5G band unsafe if the device is on cell band nr79. Bug: 219427147 Test: build Change-Id: I45fb8d7ba6c6925dea4598612d43df42b2351b0f --- device-lynx.mk | 4 + wifi/coex_table.xml | 367 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 371 insertions(+) create mode 100644 wifi/coex_table.xml diff --git a/device-lynx.mk b/device-lynx.mk index f300f0d..4cbd37f 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -141,3 +141,7 @@ endif # DCK properties based on target PRODUCT_PROPERTY_OVERRIDES += \ ro.gms.dck.eligible_wcc=2 + +# WIFI COEX +PRODUCT_COPY_FILES += \ + device/google/lynx/wifi/coex_table.xml:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/coex_table.xml diff --git a/wifi/coex_table.xml b/wifi/coex_table.xml new file mode 100644 index 0000000..36066d6 --- /dev/null +++ b/wifi/coex_table.xml @@ -0,0 +1,367 @@ + + + LTE + 1 + + + 3 + 10 + + + + + + NR + 1 + + + 3 + 10 + + + + + + LTE + 2 + + + 3 + 10 + + + -2 + 1 + 10 + + + + + + NR + 2 + + + 3 + 10 + + + -2 + 1 + 10 + + + + + + LTE + 3 + + + 3 + 10 + + + -2 + 1 + 10 + + + + + + NR + 3 + + + 3 + 10 + + + -2 + 1 + 10 + + + + + + LTE + 4 + + + 3 + 10 + + + -2 + 1 + 10 + + + + + + LTE + 5 + + + 3 + 10 + + + + + + NR + 5 + + + 3 + 10 + + + + + + LTE + 7 + + + 50 + 50 + + + 2 + -1 + 10 + + + + + + NR + 7 + + + 50 + 50 + + + 2 + -1 + 10 + + + + + + LTE + 18 + + + 3 + 10 + + + + + + NR + 18 + + + 3 + 10 + + + + + + LTE + 19 + + + 3 + 10 + + + + + + LTE + 25 + + + 3 + 10 + + + -2 + 1 + 10 + + + + + + NR + 25 + + + 3 + 10 + + + -2 + 1 + 10 + + + + + + LTE + 26 + + + 3 + 10 + + + + + + NR + 26 + + + 3 + 10 + + + + + + LTE + 27 + + + 3 + 10 + + + + + + LTE + 38 + + + 3 + 10 + + + + + + NR + 38 + + + 3 + 10 + + + + + + LTE + 39 + + + 3 + 10 + + + + + + NR + 39 + + + 3 + 10 + + + + + + LTE + 40 + + + 50 + 50 + + + 11 + + + + + + NR + 40 + + + 50 + 50 + + + 11 + + + + + + LTE + 41 + + + 50 + 50 + + + 2 + 10 + + + + + + NR + 41 + + + 50 + 50 + + + 2 + 10 + + + + + + NR + 79 + + + all + + + +