wifi: Isolate wifi configurations for customization.
move wifi configurations from BoardConfig-common.mk to wifi/BoardConfig-wifi.mk. So, each project can decide whether it should share the same configurations or create a new one on their own. Bug: 208159314 Test: ifconfig after attempting STA+SAP concurrency. Change-Id: Id2474df377f242528be661fefe712d7203cdddf8
This commit is contained in:
parent
4edaac6163
commit
c6aa4c2c31
2 changed files with 32 additions and 16 deletions
|
@ -340,22 +340,6 @@ BOARD_VNDK_VERSION := current
|
|||
# H/W align restriction of MM IPs
|
||||
BOARD_EXYNOS_S10B_FORMAT_ALIGN := 64
|
||||
|
||||
# WiFi
|
||||
BOARD_WLAN_DEVICE := bcmdhd
|
||||
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
|
||||
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
|
||||
WPA_SUPPLICANT_VERSION := VER_0_8_X
|
||||
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
|
||||
BOARD_HOSTAPD_DRIVER := NL80211
|
||||
# Wifi interface combination - {1 STA + 1 AP (bridged or single)} or {1 STA + 1 P2P}
|
||||
# or {1 STA + 1 NAN} or {2 STA}
|
||||
WIFI_HAL_INTERFACE_COMBINATIONS := {{{STA}, 1}, {{P2P, NAN, AP}, 1}}, {{{STA}, 2}}
|
||||
WIFI_FEATURE_WIFI_EXT_HAL := true
|
||||
WIFI_FEATURE_IMU_DETECTION := true
|
||||
# Avoid Wifi reset on MAC Address change
|
||||
WIFI_AVOID_IFACE_RESET_MAC_CHANGE := true
|
||||
WIFI_FEATURE_HOSTAPD_11AX := true
|
||||
|
||||
# NeuralNetworks
|
||||
GPU_SOURCE_PRESENT := $(wildcard vendor/arm/mali/valhall)
|
||||
GPU_PREBUILD_PRESENT := $(wildcard vendor/google_devices/gs101/prebuilts/gpu/libs)
|
||||
|
|
32
wifi/BoardConfig-wifi.mk
Normal file
32
wifi/BoardConfig-wifi.mk
Normal file
|
@ -0,0 +1,32 @@
|
|||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
# WiFi
|
||||
BOARD_WLAN_DEVICE := bcmdhd
|
||||
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
|
||||
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
|
||||
WPA_SUPPLICANT_VERSION := VER_0_8_X
|
||||
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
|
||||
BOARD_HOSTAPD_DRIVER := NL80211
|
||||
# Wifi interface combination - {1 STA + 1 AP (bridged or single)} or {1 STA + 1 P2P}
|
||||
# or {1 STA + 1 NAN} or {2 STA}
|
||||
WIFI_HAL_INTERFACE_COMBINATIONS := {{{STA}, 1}, {{P2P, NAN, AP}, 1}}, {{{STA}, 2}}
|
||||
WIFI_FEATURE_WIFI_EXT_HAL := true
|
||||
WIFI_FEATURE_IMU_DETECTION := true
|
||||
# Avoid Wifi reset on MAC Address change
|
||||
WIFI_AVOID_IFACE_RESET_MAC_CHANGE := true
|
||||
WIFI_FEATURE_HOSTAPD_11AX := true
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue