Branch zuma from gs201

Branch zuma from gs201 sha1 9009acf5c217f553b45ea82aa0702607229f0347

cp/pantah/ripcurrent
cp/gs201/zuma

Bug: 229340586
Change-Id: Ia312c20dae892ead9bf06728b4ef5c0c260ad045
Signed-off-by: Aaron Ding <aaronding@google.com>
This commit is contained in:
Aaron Ding 2022-04-15 13:16:16 +08:00
parent 11b4a07f39
commit d88f9a90bd
289 changed files with 26797 additions and 0 deletions

351
wifi/coex_table.xml Normal file
View file

@ -0,0 +1,351 @@
<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>
</params>
</entry>
<entry>
<rat>NR</rat>
<band>40</band>
<params>
<neighborThresholds>
<wifiVictimMhz>50</wifiVictimMhz>
<cellVictimMhz>50</cellVictimMhz>
</neighborThresholds>
</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>
</table>

View file

@ -0,0 +1,46 @@
#
# Copyright (C) 2021 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.
#
LOCAL_WIFI_PATH := device/google/gs201/wifi/qcom
# wlan flags
BOARD_WLAN_DEVICE := qcwcn
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
BOARD_HOSTAPD_DRIVER := NL80211
WPA_SUPPLICANT_VERSION := VER_0_8_X
CONFIG_IEEE80211AX := true
# BOARD_HAS_QCOM_WLAN := true
# CONFIG_ACS := true
# Wifi interface combination - {1 STA + 1 of (P2P or NAN)} or {1 AP}
WIFI_HAL_INTERFACE_COMBINATIONS := {{{STA}, 1}, {{P2P, NAN}, 1}}, {{{AP}, 1}}
WIFI_HIDL_FEATURE_AWARE := true
WIFI_FEATURE_WIFI_EXT_HAL := true
WIFI_FEATURE_IMU_DETECTION := true
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
# Avoid Wifi reset on MAC Address change
# WIFI_AVOID_IFACE_RESET_MAC_CHANGE := true
# WIFI_FEATURE_HOSTAPD_11AX := true
WIFI_DRIVER_STATE_CTRL_PARAM := "/dev/wlan"
WIFI_DRIVER_STATE_ON := "ON"
WIFI_DRIVER_STATE_OFF := "OFF"
# WLAN driver configuration files
PRODUCT_COPY_FILES += \
$(LOCAL_WIFI_PATH)/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \
$(LOCAL_WIFI_PATH)/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf

View file

@ -0,0 +1,2 @@
disable_scan_offload=1
p2p_go_vht=1

View file

@ -0,0 +1,10 @@
disable_scan_offload=1
p2p_disabled=1
tdls_external_control=1
wowlan_triggers=magic_pkt
bss_max_count=512
interworking=1
hs20=1
auto_interworking=0
driver_param=use_p2p_group_interface=1
btm_offload=1