mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Just use the michael_mic() function from cfg80211 instead of a local
implementation of it using the crypto_shash API.
Note: when the kernel is booted with fips=1,
crypto_alloc_shash("michael_mic", 0, 0) always returned
ERR_PTR(-ENOENT), because Michael MIC is not a "FIPS allowed" algorithm.
For now, just preserve that behavior exactly, to ensure that TKIP is not
allowed to be used in FIPS mode. This logic actually seems to disable
the entire driver in FIPS mode and not just TKIP, but that was the
existing behavior. Supporting this driver in FIPS mode, if anyone
actually needs it there, should be a separate commit.
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Link: https://patch.msgid.link/20260408030651.80336-4-ebiggers@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
71 lines
1.7 KiB
Plaintext
71 lines
1.7 KiB
Plaintext
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
config ATH11K
|
|
tristate "Qualcomm Technologies 802.11ax chipset support"
|
|
depends on MAC80211 && HAS_DMA
|
|
select ATH_COMMON
|
|
select QCOM_QMI_HELPERS
|
|
help
|
|
This module adds support for Qualcomm Technologies 802.11ax family of
|
|
chipsets.
|
|
|
|
If you choose to build a module, it'll be called ath11k.
|
|
|
|
config ATH11K_AHB
|
|
tristate "Atheros ath11k AHB support"
|
|
depends on ATH11K
|
|
depends on REMOTEPROC
|
|
help
|
|
This module adds support for AHB bus
|
|
|
|
config ATH11K_PCI
|
|
tristate "Atheros ath11k PCI support"
|
|
depends on ATH11K && PCI
|
|
select MHI_BUS
|
|
select QRTR
|
|
select QRTR_MHI
|
|
select PCI_PWRCTRL_PWRSEQ if HAVE_PWRCTRL
|
|
help
|
|
This module adds support for PCIE bus
|
|
|
|
config ATH11K_DEBUG
|
|
bool "QCA ath11k debugging"
|
|
depends on ATH11K
|
|
help
|
|
Enables debug support
|
|
|
|
If unsure, say Y to make it easier to debug problems.
|
|
|
|
config ATH11K_DEBUGFS
|
|
bool "QCA ath11k debugfs support"
|
|
depends on ATH11K && DEBUG_FS && MAC80211_DEBUGFS
|
|
help
|
|
Enable ath11k debugfs support
|
|
|
|
If unsure, say Y to make it easier to debug problems.
|
|
|
|
config ATH11K_TRACING
|
|
bool "ath11k tracing support"
|
|
depends on ATH11K && EVENT_TRACING
|
|
help
|
|
Select this to use ath11k tracing infrastructure.
|
|
|
|
config ATH11K_SPECTRAL
|
|
bool "QCA ath11k spectral scan support"
|
|
depends on ATH11K_DEBUGFS
|
|
depends on RELAY
|
|
help
|
|
Enable ath11k spectral scan support
|
|
|
|
Say Y to enable access to the FFT/spectral data via debugfs.
|
|
|
|
config ATH11K_CFR
|
|
bool "ath11k channel frequency response support"
|
|
depends on ATH11K_DEBUGFS
|
|
depends on RELAY
|
|
help
|
|
Enable ath11k channel frequency response dump support.
|
|
This option exposes debugfs nodes that will allow the user
|
|
to enable, disable, and dump data.
|
|
|
|
Say Y to enable CFR data dump collection via debugfs.
|