kensun | c6aa4c2 | 2021-12-09 03:00:56 +0000 | [diff] [blame] | 1 | # |
| 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 |
| 18 | BOARD_WLAN_DEVICE := bcmdhd |
| 19 | BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd |
| 20 | BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd |
| 21 | WPA_SUPPLICANT_VERSION := VER_0_8_X |
| 22 | BOARD_WPA_SUPPLICANT_DRIVER := NL80211 |
| 23 | BOARD_HOSTAPD_DRIVER := NL80211 |
Quang Luong | bf1e774 | 2022-02-08 14:07:45 -0800 | [diff] [blame] | 24 | # Wifi interface combination - {1 STA + 1 AP} or {1 STA + 1 AP_BRIDGED} or {1 STA + 1 P2P} |
kensun | c6aa4c2 | 2021-12-09 03:00:56 +0000 | [diff] [blame] | 25 | # or {1 STA + 1 NAN} or {2 STA} |
Quang Luong | bf1e774 | 2022-02-08 14:07:45 -0800 | [diff] [blame] | 26 | WIFI_HAL_INTERFACE_COMBINATIONS := {{{STA}, 1}, {{P2P, NAN, AP, AP_BRIDGED}, 1}}, {{{STA}, 2}} |
kensun | c6aa4c2 | 2021-12-09 03:00:56 +0000 | [diff] [blame] | 27 | WIFI_FEATURE_WIFI_EXT_HAL := true |
| 28 | WIFI_FEATURE_IMU_DETECTION := true |
| 29 | # Avoid Wifi reset on MAC Address change |
| 30 | WIFI_AVOID_IFACE_RESET_MAC_CHANGE := true |
| 31 | WIFI_FEATURE_HOSTAPD_11AX := true |
Sunil Ravi | 0771193 | 2022-01-28 12:36:51 -0800 | [diff] [blame] | 32 | BOARD_HOSTAPD_CONFIG_80211W_MFP_OPTIONAL := true |
Jimmy Chen | c38d0a2 | 2022-07-11 18:54:12 +0800 | [diff] [blame] | 33 | WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true |
Hsiu-Chang Chen | 5b4a21f | 2023-06-27 12:03:00 +0800 | [diff] [blame] | 34 | |
| 35 | # Add WIFI_FEATURE_IMU_DETECTION to soong_config |
| 36 | $(call soong_config_set,wifi,feature_imu_detection,$(WIFI_FEATURE_IMU_DETECTION)) |