aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/wifi/generic/Kconfig
blob: 43c7d9ee1b6fd19c4b164d0c975009ceeedfecfa (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
config DRIVERS_WIFI_GENERIC
	bool
	default n
	help
	  When enabled, add identifiers in ACPI tables that are common
	  to WiFi chipsets from multiple vendors.

config DRIVERS_INTEL_WIFI
	bool "Support Intel PCI-e WiFi adapters"
	depends on PCI
	default y if PCIEXP_PLUGIN_SUPPORT
	select DRIVERS_WIFI_GENERIC
	help
	   When enabled, add identifiers in ACPI and SMBIOS tables to
	   make OS drivers work with certain Intel PCI-e WiFi chipsets.

if DRIVERS_WIFI_GENERIC

config USE_SAR
	bool
	default n
	help
	  Enable it when wifi driver uses SAR configuration feature.
	  VPD entry "wifi_sar" is read to get SAR settings, if its
	  not found driver may look into CBFS for default settigs.
	  WIFI_SAR_CBFS is option to enable CBFS lookup.

config SAR_ENABLE
	bool
	default n
	depends on USE_SAR

config DSAR_ENABLE
	bool
	default n
	depends on USE_SAR

config GEO_SAR_ENABLE
	bool
	default n
	depends on USE_SAR

config WIFI_SAR_CBFS
	bool "Enable SAR table addition to CBFS"
	default n
	depends on USE_SAR
	help
	 wifi driver would look for "wifi_sar" vpd key and load SAR settings from
	 it, if the vpd key is not found then the driver tries to look for sar
	 settings from CBFS with file name wifi_sar_defaults.hex.
	 So OEM/ODM can override wifi sar with VPD.

config WIFI_SAR_CBFS_FILEPATH
	string "The cbfs file which has WIFI SAR defaults"
	depends on WIFI_SAR_CBFS
	default "src/mainboard/\$(MAINBOARDDIR)/wifi_sar_defaults.hex"

config DSAR_SET_NUM
	hex "Number of SAR sets when D-SAR is enabled"
	default 0x3
	depends on USE_SAR
	help
	  There can be up to 3 optional SAR table sets.

endif # DRIVERS_WIFI_GENERIC