130-disable-fils.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. Disable FILS support, since it pulls in crypto hash support
  2. --- a/net/mac80211/fils_aead.h
  3. +++ b/net/mac80211/fils_aead.h
  4. @@ -10,7 +10,7 @@
  5. #ifndef FILS_AEAD_H
  6. #define FILS_AEAD_H
  7. -#if LINUX_VERSION_IS_GEQ(4,3,0)
  8. +#if 0 /* LINUX_VERSION_IS_GEQ(4,3,0) */
  9. int fils_encrypt_assoc_req(struct sk_buff *skb,
  10. struct ieee80211_mgd_assoc_data *assoc_data);
  11. int fils_decrypt_assoc_resp(struct ieee80211_sub_if_data *sdata,
  12. --- a/net/mac80211/fils_aead.c
  13. +++ b/net/mac80211/fils_aead.c
  14. @@ -1,4 +1,4 @@
  15. -#if LINUX_VERSION_IS_GEQ(4,3,0)
  16. +#if 0 /* LINUX_VERSION_IS_GEQ(4,3,0) */
  17. /*
  18. * FILS AEAD for (Re)Association Request/Response frames
  19. * Copyright 2016, Qualcomm Atheros, Inc.
  20. --- a/net/mac80211/main.c
  21. +++ b/net/mac80211/main.c
  22. @@ -570,7 +570,7 @@ struct ieee80211_hw *ieee80211_alloc_hw_
  23. NL80211_FEATURE_MAC_ON_CREATE |
  24. NL80211_FEATURE_USERSPACE_MPM |
  25. NL80211_FEATURE_FULL_AP_CLIENT_STATE;
  26. -#if LINUX_VERSION_IS_GEQ(4,3,0)
  27. +#if 0 /* LINUX_VERSION_IS_GEQ(4,3,0) */
  28. wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_FILS_STA);
  29. #endif
  30. wiphy_ext_feature_set(wiphy,