xref: /openbmc/linux/drivers/net/wireless/ath/wil6210/Kconfig (revision f8bade6c9a6213c2c5ba6e5bf32415ecab6e41e5)
10766789bSKalle Valo# SPDX-License-Identifier: ISC
22be7d22fSVladimir Kondratievconfig WIL6210
32be7d22fSVladimir Kondratiev	tristate "Wilocity 60g WiFi card wil6210 support"
47dc47258SVladimir Kondratiev	select WANT_DEV_COREDUMP
5*e186620dSArnd Bergmann	select CRC32
62be7d22fSVladimir Kondratiev	depends on CFG80211
72be7d22fSVladimir Kondratiev	depends on PCI
82be7d22fSVladimir Kondratiev	default n
9a7f7f624SMasahiro Yamada	help
102be7d22fSVladimir Kondratiev	  This module adds support for wireless adapter based on
112be7d22fSVladimir Kondratiev	  wil6210 chip by Wilocity. It supports operation on the
122be7d22fSVladimir Kondratiev	  60 GHz band, covered by the IEEE802.11ad standard.
132be7d22fSVladimir Kondratiev
141141215cSFlavio Suligoi	  https://wireless.wiki.kernel.org/en/users/Drivers/wil6210
152be7d22fSVladimir Kondratiev
162be7d22fSVladimir Kondratiev	  If you choose to build it as a module, it will be called
172be7d22fSVladimir Kondratiev	  wil6210
182be7d22fSVladimir Kondratiev
192be7d22fSVladimir Kondratievconfig WIL6210_ISR_COR
202be7d22fSVladimir Kondratiev	bool "Use Clear-On-Read mode for ISR registers for wil6210"
212be7d22fSVladimir Kondratiev	depends on WIL6210
222be7d22fSVladimir Kondratiev	default y
23a7f7f624SMasahiro Yamada	help
242be7d22fSVladimir Kondratiev	  ISR registers on wil6210 chip may operate in either
252be7d22fSVladimir Kondratiev	  COR (Clear-On-Read) or W1C (Write-1-to-Clear) mode.
262be7d22fSVladimir Kondratiev	  For production code, use COR (say y); is default since
272be7d22fSVladimir Kondratiev	  it saves extra target transaction;
282be7d22fSVladimir Kondratiev	  For ISR debug, use W1C (say n); is allows to monitor ISR
292be7d22fSVladimir Kondratiev	  registers with debugfs. If COR were used, ISR would
302be7d22fSVladimir Kondratiev	  self-clear when accessed for debug purposes, it makes
312be7d22fSVladimir Kondratiev	  such monitoring impossible.
322be7d22fSVladimir Kondratiev	  Say y unless you debug interrupts
3398658095SVladimir Kondratiev
34eb4928cfSHauke Mehrtensconfig WIL6210_TRACING
3598658095SVladimir Kondratiev	bool "wil6210 tracing support"
3698658095SVladimir Kondratiev	depends on WIL6210
3798658095SVladimir Kondratiev	depends on EVENT_TRACING
38777b4690SAlexei Avshalom Lazar	default n
39a7f7f624SMasahiro Yamada	help
4098658095SVladimir Kondratiev	  Say Y here to enable tracepoints for the wil6210 driver
4198658095SVladimir Kondratiev	  using the kernel tracing infrastructure.  Select this
4298658095SVladimir Kondratiev	  option if you are interested in debugging the driver.
4398658095SVladimir Kondratiev
4498658095SVladimir Kondratiev	  If unsure, say Y to make it easier to debug problems.
455f591dacSGidon Studinski
465f591dacSGidon Studinskiconfig WIL6210_DEBUGFS
475f591dacSGidon Studinski	bool "wil6210 debugfs support"
485f591dacSGidon Studinski	depends on WIL6210
495f591dacSGidon Studinski	depends on DEBUG_FS
505f591dacSGidon Studinski	default y
51a7f7f624SMasahiro Yamada	help
525f591dacSGidon Studinski	  Say Y here to enable wil6210 debugfs support, using the
535f591dacSGidon Studinski	  kernel debugfs infrastructure. Select this
545f591dacSGidon Studinski	  option if you are interested in debugging the driver.
555f591dacSGidon Studinski
565f591dacSGidon Studinski	  If unsure, say Y to make it easier to debug problems.
57