162306a36Sopenharmony_ci# SPDX-License-Identifier: ISC
262306a36Sopenharmony_ciconfig WIL6210
362306a36Sopenharmony_ci	tristate "Wilocity 60g WiFi card wil6210 support"
462306a36Sopenharmony_ci	select WANT_DEV_COREDUMP
562306a36Sopenharmony_ci	select CRC32
662306a36Sopenharmony_ci	depends on CFG80211
762306a36Sopenharmony_ci	depends on PCI
862306a36Sopenharmony_ci	default n
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  This module adds support for wireless adapter based on
1162306a36Sopenharmony_ci	  wil6210 chip by Wilocity. It supports operation on the
1262306a36Sopenharmony_ci	  60 GHz band, covered by the IEEE802.11ad standard.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci	  https://wireless.wiki.kernel.org/en/users/Drivers/wil6210
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci	  If you choose to build it as a module, it will be called
1762306a36Sopenharmony_ci	  wil6210
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig WIL6210_ISR_COR
2062306a36Sopenharmony_ci	bool "Use Clear-On-Read mode for ISR registers for wil6210"
2162306a36Sopenharmony_ci	depends on WIL6210
2262306a36Sopenharmony_ci	default y
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  ISR registers on wil6210 chip may operate in either
2562306a36Sopenharmony_ci	  COR (Clear-On-Read) or W1C (Write-1-to-Clear) mode.
2662306a36Sopenharmony_ci	  For production code, use COR (say y); is default since
2762306a36Sopenharmony_ci	  it saves extra target transaction;
2862306a36Sopenharmony_ci	  For ISR debug, use W1C (say n); is allows to monitor ISR
2962306a36Sopenharmony_ci	  registers with debugfs. If COR were used, ISR would
3062306a36Sopenharmony_ci	  self-clear when accessed for debug purposes, it makes
3162306a36Sopenharmony_ci	  such monitoring impossible.
3262306a36Sopenharmony_ci	  Say y unless you debug interrupts
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig WIL6210_TRACING
3562306a36Sopenharmony_ci	bool "wil6210 tracing support"
3662306a36Sopenharmony_ci	depends on WIL6210
3762306a36Sopenharmony_ci	depends on EVENT_TRACING
3862306a36Sopenharmony_ci	default n
3962306a36Sopenharmony_ci	help
4062306a36Sopenharmony_ci	  Say Y here to enable tracepoints for the wil6210 driver
4162306a36Sopenharmony_ci	  using the kernel tracing infrastructure.  Select this
4262306a36Sopenharmony_ci	  option if you are interested in debugging the driver.
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci	  If unsure, say Y to make it easier to debug problems.
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciconfig WIL6210_DEBUGFS
4762306a36Sopenharmony_ci	bool "wil6210 debugfs support"
4862306a36Sopenharmony_ci	depends on WIL6210
4962306a36Sopenharmony_ci	depends on DEBUG_FS
5062306a36Sopenharmony_ci	default y
5162306a36Sopenharmony_ci	help
5262306a36Sopenharmony_ci	  Say Y here to enable wil6210 debugfs support, using the
5362306a36Sopenharmony_ci	  kernel debugfs infrastructure. Select this
5462306a36Sopenharmony_ci	  option if you are interested in debugging the driver.
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ci	  If unsure, say Y to make it easier to debug problems.
57