wifi: ath11k: use select for CRYPTO_MICHAEL_MIC
PATCH 1/2 wifi: ath11k: use select for CRYPTO_MICHAEL_MIC
Let ath11k select this option automatically which makes building more intuitive if the user enables this driver (rather than the driver not building unless CRYPTO_MICAEL_MIC is explicitly enabled)
--- drivers/net/wireless/ath/ath11k/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/Kconfig +1 -1
@@ -2,7 +2,7 @@ config ATH11K tristate "Qualcomm Technologies 802.11ax chipset support" depends on MAC80211 && HAS_DMA - depends on CRYPTO_MICHAEL_MIC + select CRYPTO_MICHAEL_MIC select ATH_COMMON select QCOM_QMI_HELPERS help
Signature · 1 line
2.25.1
PATCH 2/2 wifi: ath12k: use select for CRYPTO_MICHAEL_MIC
Let ath12k select this option automatically which makes building more intuitive if the user enables this driver (rather than the driver not building unless CRYPTO_MICAEL_MIC is explicitly enabled)
--- drivers/net/wireless/ath/ath12k/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath12k/Kconfig +1 -1
@@ -2,7 +2,7 @@ config ATH12K tristate "Qualcomm Technologies Wi-Fi 7 support (ath12k)" depends on MAC80211 && HAS_DMA && PCI - depends on CRYPTO_MICHAEL_MIC + select CRYPTO_MICHAEL_MIC select QCOM_QMI_HELPERS select MHI_BUS select QRTR
Signature · 1 line
2.25.1
Quoted 3 lines · James Prestwood
Let ath11k select this option automatically which makes building more intuitive if the user enables this driver (rather than the driver not building unless
CRYPTO_MICAEL_MICis explicitly enabled)
s/MICAEL/MICHAEL/
add hard stop
Also suggest you include (or summarize) the information that Kalle shared that ath is the outlier here:
Further investigation shows that ath11k and ath12k are the only who use 'depends on' with CRYPTO_MICHAEL_MIC:
./drivers/net/wireless/intel/ipw2x00/Kconfig: select CRYPTO_MICHAEL_MIC./drivers/net/wireless/intersil/hostap/Kconfig: select CRYPTO_MICHAEL_MIC./drivers/net/wireless/intersil/orinoco/Kconfig: select CRYPTO_MICHAEL_MIC./drivers/net/wireless/ath/ath11k/Kconfig: depends on CRYPTO_MICHAEL_MIC./drivers/net/wireless/ath/ath12k/Kconfig: depends on CRYPTO_MICHAEL_MIC./drivers/staging/rtl8192e/Kconfig: select CRYPTO_MICHAEL_MIC./drivers/staging/ks7010/Kconfig: select CRYPTO_MICHAEL_MIC
consider these comments apply to ath12k change as well :)
Quoted 19 lines
Signed-off-by James Prestwood <[email protected]>--- drivers/net/wireless/ath/ath11k/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/wireless/ath/ath11k/Kconfig +1
-1@@ -2,7 +2,7 @@ config ATH11K tristate "Qualcomm Technologies 802.11ax chipset support" depends on MAC80211 && HAS_DMA - depends on CRYPTO_MICHAEL_MIC + select CRYPTO_MICHAEL_MIC select ATH_COMMON select QCOM_QMI_HELPERS help
Quoted 23 lines · Jeff Johnson
Quoted 3 lines · James Prestwood
Let ath11k select this option automatically which makes building more intuitive if the user enables this driver (rather than the driver not building unless
CRYPTO_MICAEL_MICis explicitly enabled)s/MICAEL/MICHAEL/
add hard stop
Also suggest you include (or summarize) the information that Kalle shared that ath is the outlier here:
Further investigation shows that ath11k and ath12k are the only who use 'depends on' with
CRYPTO_MICHAEL_MIC:
./drivers/net/wireless/intel/ipw2x00/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/net/wireless/intersil/hostap/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/net/wireless/intersil/orinoco/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/net/wireless/ath/ath11k/Kconfig: depends onCRYPTO_MICHAEL_MIC./drivers/net/wireless/ath/ath12k/Kconfig: depends onCRYPTO_MICHAEL_MIC./drivers/staging/rtl8192e/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/staging/ks7010/Kconfig: selectCRYPTO_MICHAEL_MIC
Quoted 1 line
consider these comments apply to ath12k change as well :)
BTW I can add these changes in the pending branch, no need to resend because of this.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Quoted 24 lines · Kalle Valo
Quoted 22 lines · Jeff Johnson
Quoted 3 lines · James Prestwood
Let ath11k select this option automatically which makes building more intuitive if the user enables this driver (rather than the driver not building unless
CRYPTO_MICAEL_MICis explicitly enabled)s/MICAEL/MICHAEL/
add hard stop
Also suggest you include (or summarize) the information that Kalle shared that ath is the outlier here:
Further investigation shows that ath11k and ath12k are the only who use 'depends on' with
CRYPTO_MICHAEL_MIC:
./drivers/net/wireless/intel/ipw2x00/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/net/wireless/intersil/hostap/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/net/wireless/intersil/orinoco/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/net/wireless/ath/ath11k/Kconfig: depends onCRYPTO_MICHAEL_MIC./drivers/net/wireless/ath/ath12k/Kconfig: depends onCRYPTO_MICHAEL_MIC./drivers/staging/rtl8192e/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/staging/ks7010/Kconfig: selectCRYPTO_MICHAEL_MIC
Quoted 3 lines
Quoted 1 line
consider these comments apply to ath12k change as well :)
BTW I can add these changes in the pending branch, no need to resend because of this.
Works for me. Had a few things come up and hadn't circled back here yet.
Thanks,
James
Quoted 15 lines · James Prestwood
Let ath11k select this option automatically which makes building more intuitive if the user enables this driver (rather than the driver not building unless
CRYPTO_MICHAEL_MICis explicitly enabled).Further investigation shows that ath11k and ath12k are the only who use 'depends on' with
CRYPTO_MICHAEL_MIC:
./drivers/net/wireless/intel/ipw2x00/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/net/wireless/intersil/hostap/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/net/wireless/intersil/orinoco/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/net/wireless/ath/ath11k/Kconfig: depends onCRYPTO_MICHAEL_MIC./drivers/net/wireless/ath/ath12k/Kconfig: depends onCRYPTO_MICHAEL_MIC./drivers/staging/rtl8192e/Kconfig: selectCRYPTO_MICHAEL_MIC./drivers/staging/ks7010/Kconfig: selectCRYPTO_MICHAEL_MIC
Quoted 2 lines
Signed-off-by James Prestwood <[email protected]>Signed-off-by Kalle Valo <[email protected]>
2 patches applied to ath-next branch of ath.git, thanks.
a466027abe4a wifi: ath11k: use select for CRYPTO_MICHAEL_MIC c7b4f54112e1 wifi: ath12k: use select for CRYPTO_MICHAEL_MIC
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches