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