18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: ISC
28c2ecf20Sopenharmony_ciconfig WIL6210
38c2ecf20Sopenharmony_ci	tristate "Wilocity 60g WiFi card wil6210 support"
48c2ecf20Sopenharmony_ci	select WANT_DEV_COREDUMP
58c2ecf20Sopenharmony_ci	select CRC32
68c2ecf20Sopenharmony_ci	depends on CFG80211
78c2ecf20Sopenharmony_ci	depends on PCI
88c2ecf20Sopenharmony_ci	default n
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  This module adds support for wireless adapter based on
118c2ecf20Sopenharmony_ci	  wil6210 chip by Wilocity. It supports operation on the
128c2ecf20Sopenharmony_ci	  60 GHz band, covered by the IEEE802.11ad standard.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci	  https://wireless.wiki.kernel.org/en/users/Drivers/wil6210
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci	  If you choose to build it as a module, it will be called
178c2ecf20Sopenharmony_ci	  wil6210
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig WIL6210_ISR_COR
208c2ecf20Sopenharmony_ci	bool "Use Clear-On-Read mode for ISR registers for wil6210"
218c2ecf20Sopenharmony_ci	depends on WIL6210
228c2ecf20Sopenharmony_ci	default y
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  ISR registers on wil6210 chip may operate in either
258c2ecf20Sopenharmony_ci	  COR (Clear-On-Read) or W1C (Write-1-to-Clear) mode.
268c2ecf20Sopenharmony_ci	  For production code, use COR (say y); is default since
278c2ecf20Sopenharmony_ci	  it saves extra target transaction;
288c2ecf20Sopenharmony_ci	  For ISR debug, use W1C (say n); is allows to monitor ISR
298c2ecf20Sopenharmony_ci	  registers with debugfs. If COR were used, ISR would
308c2ecf20Sopenharmony_ci	  self-clear when accessed for debug purposes, it makes
318c2ecf20Sopenharmony_ci	  such monitoring impossible.
328c2ecf20Sopenharmony_ci	  Say y unless you debug interrupts
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciconfig WIL6210_TRACING
358c2ecf20Sopenharmony_ci	bool "wil6210 tracing support"
368c2ecf20Sopenharmony_ci	depends on WIL6210
378c2ecf20Sopenharmony_ci	depends on EVENT_TRACING
388c2ecf20Sopenharmony_ci	default n
398c2ecf20Sopenharmony_ci	help
408c2ecf20Sopenharmony_ci	  Say Y here to enable tracepoints for the wil6210 driver
418c2ecf20Sopenharmony_ci	  using the kernel tracing infrastructure.  Select this
428c2ecf20Sopenharmony_ci	  option if you are interested in debugging the driver.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci	  If unsure, say Y to make it easier to debug problems.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ciconfig WIL6210_DEBUGFS
478c2ecf20Sopenharmony_ci	bool "wil6210 debugfs support"
488c2ecf20Sopenharmony_ci	depends on WIL6210
498c2ecf20Sopenharmony_ci	depends on DEBUG_FS
508c2ecf20Sopenharmony_ci	default y
518c2ecf20Sopenharmony_ci	help
528c2ecf20Sopenharmony_ci	  Say Y here to enable wil6210 debugfs support, using the
538c2ecf20Sopenharmony_ci	  kernel debugfs infrastructure. Select this
548c2ecf20Sopenharmony_ci	  option if you are interested in debugging the driver.
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci	  If unsure, say Y to make it easier to debug problems.
57