1# SPDX-License-Identifier: ISC
2config WIL6210
3	tristate "Wilocity 60g WiFi card wil6210 support"
4	select WANT_DEV_COREDUMP
5	depends on CFG80211
6	depends on PCI
7	default n
8	help
9	  This module adds support for wireless adapter based on
10	  wil6210 chip by Wilocity. It supports operation on the
11	  60 GHz band, covered by the IEEE802.11ad standard.
12
13	  https://wireless.wiki.kernel.org/en/users/Drivers/wil6210
14
15	  If you choose to build it as a module, it will be called
16	  wil6210
17
18config WIL6210_ISR_COR
19	bool "Use Clear-On-Read mode for ISR registers for wil6210"
20	depends on WIL6210
21	default y
22	help
23	  ISR registers on wil6210 chip may operate in either
24	  COR (Clear-On-Read) or W1C (Write-1-to-Clear) mode.
25	  For production code, use COR (say y); is default since
26	  it saves extra target transaction;
27	  For ISR debug, use W1C (say n); is allows to monitor ISR
28	  registers with debugfs. If COR were used, ISR would
29	  self-clear when accessed for debug purposes, it makes
30	  such monitoring impossible.
31	  Say y unless you debug interrupts
32
33config WIL6210_TRACING
34	bool "wil6210 tracing support"
35	depends on WIL6210
36	depends on EVENT_TRACING
37	default n
38	help
39	  Say Y here to enable tracepoints for the wil6210 driver
40	  using the kernel tracing infrastructure.  Select this
41	  option if you are interested in debugging the driver.
42
43	  If unsure, say Y to make it easier to debug problems.
44
45config WIL6210_DEBUGFS
46	bool "wil6210 debugfs support"
47	depends on WIL6210
48	depends on DEBUG_FS
49	default y
50	help
51	  Say Y here to enable wil6210 debugfs support, using the
52	  kernel debugfs infrastructure. Select this
53	  option if you are interested in debugging the driver.
54
55	  If unsure, say Y to make it easier to debug problems.
56