summaryrefslogtreecommitdiff
path: root/src/drivers/wifi/generic/chip.h
blob: 302dd144ef0553ba952026cb44582be94449311e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef _WIFI_GENERIC_H_
#define _WIFI_GENERIC_H_

/**
 * struct drivers_wifi_generic_config - Data structure to contain generic wifi config
 * @wake: Wake pin for ACPI _PRW
 */
struct drivers_wifi_generic_config {
	unsigned int wake;
	/* When set to true, this will add a _DSD which contains a single
	   property, `DmaProperty`, set to 1, under the ACPI Device. */
	bool add_acpi_dma_property;

	/*
	 * Applicable for Intel chipsets that use CNVi WiFi only. Set this to 1
	 * to enable CNVi DDR RFIM (radio frequency interference mitigation);
	 * SoC code propagates this value the applicable FSP UPD.
	 */
	bool enable_cnvi_ddr_rfim;

	/* Pointer to the Bluetooth companion device */
	DEVTREE_CONST struct device *bluetooth_companion;
};

#endif /* _GENERIC_WIFI_H_ */