b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | Disable FILS support, since it pulls in crypto hash support |
| 2 | |
| 3 | --- a/net/mac80211/fils_aead.h |
| 4 | +++ b/net/mac80211/fils_aead.h |
| 5 | @@ -7,7 +7,7 @@ |
| 6 | #ifndef FILS_AEAD_H |
| 7 | #define FILS_AEAD_H |
| 8 | |
| 9 | -#if LINUX_VERSION_IS_GEQ(4,3,0) |
| 10 | +#if 0 /* LINUX_VERSION_IS_GEQ(4,3,0) */ |
| 11 | int fils_encrypt_assoc_req(struct sk_buff *skb, |
| 12 | struct ieee80211_mgd_assoc_data *assoc_data); |
| 13 | int fils_decrypt_assoc_resp(struct ieee80211_sub_if_data *sdata, |
| 14 | --- a/net/mac80211/fils_aead.c |
| 15 | +++ b/net/mac80211/fils_aead.c |
| 16 | @@ -1,4 +1,4 @@ |
| 17 | -#if LINUX_VERSION_IS_GEQ(4,3,0) |
| 18 | +#if 0 /* LINUX_VERSION_IS_GEQ(4,3,0) */ |
| 19 | // SPDX-License-Identifier: GPL-2.0-only |
| 20 | /* |
| 21 | * FILS AEAD for (Re)Association Request/Response frames |
| 22 | --- a/net/mac80211/main.c |
| 23 | +++ b/net/mac80211/main.c |
| 24 | @@ -591,7 +591,7 @@ struct ieee80211_hw *ieee80211_alloc_hw_ |
| 25 | NL80211_FEATURE_MAC_ON_CREATE | |
| 26 | NL80211_FEATURE_USERSPACE_MPM | |
| 27 | NL80211_FEATURE_FULL_AP_CLIENT_STATE; |
| 28 | -#if LINUX_VERSION_IS_GEQ(4,3,0) |
| 29 | +#if 0 /* LINUX_VERSION_IS_GEQ(4,3,0) */ |
| 30 | wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_FILS_STA); |
| 31 | #endif |
| 32 | wiphy_ext_feature_set(wiphy, |