| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef _WIFI_GENERIC_H_ |
| 4 | #define _WIFI_GENERIC_H_ |
| 5 | |
| 6 | #include <acpi/acpi_device.h> |
| 7 | |
| 8 | /** |
| 9 | * struct drivers_wifi_generic_config - Data structure to contain generic wifi config |
| 10 | * @wake: Wake pin for ACPI _PRW |
| 11 | */ |
| 12 | struct drivers_wifi_generic_config { |
| 13 | unsigned int wake; |
| 14 | /* When set to true, this will add a _DSD which contains a single |
| 15 | property, `DmaProperty`, set to 1, under the ACPI Device. */ |
| 16 | bool add_acpi_dma_property; |
| 17 | |
| 18 | /* |
| 19 | * Applicable for Intel chipsets that use CNVi WiFi only. Set this to 1 |
| 20 | * to enable CNVi DDR RFIM (radio frequency interference mitigation); |
| 21 | * SoC code propagates this value the applicable FSP UPD. |
| 22 | */ |
| 23 | bool enable_cnvi_ddr_rfim; |
| 24 | |
| 25 | /* |
| 26 | * Enable GPIO for CNVi that will be used for WiFi SW RF Kill (Low |
| 27 | * Power Mode). |
| 28 | */ |
| 29 | struct acpi_gpio cnvi_enable_gpio; |
| 30 | |
| 31 | /* Pointer to the Bluetooth companion device */ |
| 32 | DEVTREE_CONST struct device *bluetooth_companion; |
| 33 | }; |
| 34 | |
| 35 | #endif /* _WIFI_GENERIC_H_ */ |