From d0f36689abf530e8e2264baefa588bb2ddc05454 Mon Sep 17 00:00:00 2001 From: Zhuowei Zhang Date: Mon, 28 Jan 2019 23:04:44 -0800 Subject: [PATCH] google-crosshatch: enable wifi driver in kernel config (!184) The LineageOS kernel integrates the Wi-Fi driver, so reconfigure with the Lineage defconfig and copy the Wi-Fi options over to our defconfig. This doesn't get Wi-Fi working yet, but it gives a good starting point. --- device/linux-google-crosshatch/APKBUILD | 2 +- .../config-google-crosshatch.aarch64 | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/device/linux-google-crosshatch/APKBUILD b/device/linux-google-crosshatch/APKBUILD index b4ec42e99..0cb571440 100644 --- a/device/linux-google-crosshatch/APKBUILD +++ b/device/linux-google-crosshatch/APKBUILD @@ -66,7 +66,7 @@ package() { } sha512sums="e5f840cc4f5a1c68150d397de079db51d51943b0ed2858011ed38b834d2fdfa1f88344b3dcbe886dea2a1b5ee959d6e7b918b009762d5e06a9edf807294647e1 linux-google-crosshatch-f8cb98bcb606f94a2307f39c21dfb705fe7868d2.tar.gz -77569c52862efc83ecf9b28bdc6ce7357185014a947e86c3805b50204bb86ebb04669ccb193b9b240f1e05f4eb0d86afb39b2313b8b3f485806da2685dfb455f config-google-crosshatch.aarch64 +8bae8235ac2a70a8bff6baafe5cc331742d36d0e58e32ae3791e0ed3c403590a5ec18633e8a532d6f9c575a5601d2812cd80510c47b9a6b57bfd92a51aaf4760 config-google-crosshatch.aarch64 720c5856b7d1d8b3cb20f77507818b7fe1b4950d444f7ed20cb02d255987d8860d5ed293e81ea326f147af13004b524886c733123794ac62978fda13689a5189 clk-qcom-mdss-fix-in-tree-build.patch 0f536e5acd0f5e6d6774918d8e226ae1f4edc486596fc5c93a110b4eb2555e0f1281f460065928a7f7a272b886f61f7967fe60cc4952ed1f4b37143bd2a28962 init-initramfs-disable-do_skip_initramfs.patch 43b1c1bcdd653366a5d0196bf6171f67914c3c417eeba04f4f071e095e8b3191e67ec8e03b1ed1701a9a0efe5b3e134ed7fb464439e9a389aafdcf0064f20a10 arm64-boot-disable-building-DTBO-images.patch diff --git a/device/linux-google-crosshatch/config-google-crosshatch.aarch64 b/device/linux-google-crosshatch/config-google-crosshatch.aarch64 index 317fa75ec..f2ed4b71a 100644 --- a/device/linux-google-crosshatch/config-google-crosshatch.aarch64 +++ b/device/linux-google-crosshatch/config-google-crosshatch.aarch64 @@ -4091,6 +4091,41 @@ CONFIG_ION_MSM=y # CONFIG_BCM15602 is not set CONFIG_S2MPB04=y CONFIG_GOOGLE_WLAN_MAC=y + +# +# Qualcomm Atheros CLD WLAN module +# +CONFIG_QCA_CLD_WLAN=y +CONFIG_QCACLD_WLAN_LFR3=y +CONFIG_PRIMA_WLAN_OKC=y +CONFIG_PRIMA_WLAN_11AC_HIGH_TP=y +CONFIG_WLAN_FEATURE_11W=y +CONFIG_WLAN_FEATURE_LPSS=y +CONFIG_QCOM_VOWIFI_11R=y +CONFIG_QCACLD_FEATURE_NAN=y +CONFIG_WLAN_FEATURE_NAN_DATAPATH=y +CONFIG_QCACLD_FEATURE_GREEN_AP=y +CONFIG_HELIUMPLUS=y +CONFIG_64BIT_PADDR=y +CONFIG_QCOM_TDLS=y +CONFIG_QCOM_LTE_COEX=y +CONFIG_MPC_UT_FRAMEWORK=y +CONFIG_WLAN_OFFLOAD_PACKETS=y +CONFIG_FEATURE_TSO=y +CONFIG_FEATURE_TSO_DEBUG=y +CONFIG_WLAN_FASTPATH=y +CONFIG_WLAN_NAPI=y +CONFIG_WLAN_NAPI_DEBUG=y +CONFIG_WLAN_TX_FLOW_CONTROL_V2=y +CONFIG_WLAN_SYNC_TSF=y +CONFIG_LFR_SUBNET_DETECTION=y +CONFIG_MCC_TO_SCC_SWITCH=y +CONFIG_QCACLD_WLAN_LFR2=y +CONFIG_WLAN_FEATURE_DISA=y +CONFIG_WLAN_SPECTRAL_SCAN=y +CONFIG_ICMP_DISABLE_PS=y +CONFIG_BUILD_TIMESTAMP=y +CONFIG_WLAN_FEATURE_FILS=y # CONFIG_GOLDFISH is not set # CONFIG_CHROME_PLATFORMS is not set