blob: d484ad03a7f2256d81eb57817691411aa9cd3c74 [file] [log] [blame]
kensunc6aa4c22021-12-09 03:00:56 +00001#
2# Copyright (C) 2021 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# WiFi
18BOARD_WLAN_DEVICE := bcmdhd
19BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
20BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
21WPA_SUPPLICANT_VERSION := VER_0_8_X
22BOARD_WPA_SUPPLICANT_DRIVER := NL80211
23BOARD_HOSTAPD_DRIVER := NL80211
Quang Luongbf1e7742022-02-08 14:07:45 -080024# Wifi interface combination - {1 STA + 1 AP} or {1 STA + 1 AP_BRIDGED} or {1 STA + 1 P2P}
kensunc6aa4c22021-12-09 03:00:56 +000025# or {1 STA + 1 NAN} or {2 STA}
Quang Luongbf1e7742022-02-08 14:07:45 -080026WIFI_HAL_INTERFACE_COMBINATIONS := {{{STA}, 1}, {{P2P, NAN, AP, AP_BRIDGED}, 1}}, {{{STA}, 2}}
kensunc6aa4c22021-12-09 03:00:56 +000027WIFI_FEATURE_WIFI_EXT_HAL := true
28WIFI_FEATURE_IMU_DETECTION := true
29# Avoid Wifi reset on MAC Address change
30WIFI_AVOID_IFACE_RESET_MAC_CHANGE := true
31WIFI_FEATURE_HOSTAPD_11AX := true
Sunil Ravi07711932022-01-28 12:36:51 -080032BOARD_HOSTAPD_CONFIG_80211W_MFP_OPTIONAL := true
Jimmy Chenc38d0a22022-07-11 18:54:12 +080033WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
Hsiu-Chang Chen5b4a21f2023-06-27 12:03:00 +080034
35# Add WIFI_FEATURE_IMU_DETECTION to soong_config
36$(call soong_config_set,wifi,feature_imu_detection,$(WIFI_FEATURE_IMU_DETECTION))