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
This commit is contained in:
Quang Luong 2022-02-15 09:07:31 -08:00
parent ef4743116a
commit 8e2f89f89f
2 changed files with 371 additions and 0 deletions

View file

@ -141,3 +141,7 @@ endif
# DCK properties based on target # DCK properties based on target
PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \
ro.gms.dck.eligible_wcc=2 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

367
wifi/coex_table.xml Normal file
View file

@ -0,0 +1,367 @@
<table>
<entry>
<rat>LTE</rat>
<band>1</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>1</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>2</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
<intermodParams5g>
<N>-2</N>
<M>1</M>
<overlap>10</overlap>
</intermodParams5g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>2</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
<intermodParams5g>
<N>-2</N>
<M>1</M>
<overlap>10</overlap>
</intermodParams5g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>3</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
<intermodParams5g>
<N>-2</N>
<M>1</M>
<overlap>10</overlap>
</intermodParams5g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>3</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
<intermodParams5g>
<N>-2</N>
<M>1</M>
<overlap>10</overlap>
</intermodParams5g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>4</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
<intermodParams5g>
<N>-2</N>
<M>1</M>
<overlap>10</overlap>
</intermodParams5g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>5</band>
<params>
<harmonicParams2g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams2g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>5</band>
<params>
<harmonicParams2g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams2g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>7</band>
<params>
<neighborThresholds>
<wifiVictimMhz>50</wifiVictimMhz>
<cellVictimMhz>50</cellVictimMhz>
</neighborThresholds>
<intermodParams2g>
<N>2</N>
<M>-1</M>
<overlap>10</overlap>
</intermodParams2g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>7</band>
<params>
<neighborThresholds>
<wifiVictimMhz>50</wifiVictimMhz>
<cellVictimMhz>50</cellVictimMhz>
</neighborThresholds>
<intermodParams2g>
<N>2</N>
<M>-1</M>
<overlap>10</overlap>
</intermodParams2g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>18</band>
<params>
<harmonicParams2g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams2g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>18</band>
<params>
<harmonicParams2g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams2g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>19</band>
<params>
<harmonicParams2g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams2g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>25</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
<intermodParams5g>
<N>-2</N>
<M>1</M>
<overlap>10</overlap>
</intermodParams5g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>25</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
<intermodParams5g>
<N>-2</N>
<M>1</M>
<overlap>10</overlap>
</intermodParams5g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>26</band>
<params>
<harmonicParams2g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams2g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>26</band>
<params>
<harmonicParams2g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams2g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>27</band>
<params>
<harmonicParams2g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams2g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>38</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>38</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>39</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>39</band>
<params>
<harmonicParams5g>
<N>3</N>
<overlap>10</overlap>
</harmonicParams5g>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>40</band>
<params>
<neighborThresholds>
<wifiVictimMhz>50</wifiVictimMhz>
<cellVictimMhz>50</cellVictimMhz>
</neighborThresholds>
<defaultChannels>
<default2g>11</default2g>
</defaultChannels>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>40</band>
<params>
<neighborThresholds>
<wifiVictimMhz>50</wifiVictimMhz>
<cellVictimMhz>50</cellVictimMhz>
</neighborThresholds>
<defaultChannels>
<default2g>11</default2g>
</defaultChannels>
</params>
</entry>
<entry>
<rat>LTE</rat>
<band>41</band>
<params>
<neighborThresholds>
<wifiVictimMhz>50</wifiVictimMhz>
<cellVictimMhz>50</cellVictimMhz>
</neighborThresholds>
<harmonicParams5g>
<N>2</N>
<overlap>10</overlap>
</harmonicParams5g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>41</band>
<params>
<neighborThresholds>
<wifiVictimMhz>50</wifiVictimMhz>
<cellVictimMhz>50</cellVictimMhz>
</neighborThresholds>
<harmonicParams5g>
<N>2</N>
<overlap>10</overlap>
</harmonicParams5g>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>79</band>
<override>
<override5g>
<category>all</category>
</override5g>
</override>
</entry>
</table>