1
0

651-wireless_mesh_header.patch 833 B

123456789101112131415161718192021222324
  1. From 6d3bc769657b0ee7c7506dad9911111c4226a7ea Mon Sep 17 00:00:00 2001
  2. From: Imre Kaloz <kaloz@openwrt.org>
  3. Date: Fri, 7 Jul 2017 17:21:05 +0200
  4. Subject: mac80211: increase wireless mesh header size
  5. lede-commit 3d4466cfd8f75f717efdb1f96fdde3c70d865fc1
  6. Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
  7. ---
  8. include/linux/netdevice.h | 4 ++--
  9. 1 file changed, 2 insertions(+), 2 deletions(-)
  10. --- a/include/linux/netdevice.h
  11. +++ b/include/linux/netdevice.h
  12. @@ -138,8 +138,8 @@ static inline bool dev_xmit_complete(int
  13. #if defined(CONFIG_HYPERV_NET)
  14. # define LL_MAX_HEADER 128
  15. -#elif defined(CONFIG_WLAN) || IS_ENABLED(CONFIG_AX25)
  16. -# if defined(CONFIG_MAC80211_MESH)
  17. +#elif defined(CONFIG_WLAN) || IS_ENABLED(CONFIG_AX25) || 1
  18. +# if defined(CONFIG_MAC80211_MESH) || 1
  19. # define LL_MAX_HEADER 128
  20. # else
  21. # define LL_MAX_HEADER 96