From b8e342b103a00854258ae51111197d356dda44b9 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Tue, 28 Aug 2018 02:15:42 +0100 Subject: [PATCH] IEEE80211_MAX_AMPDU_BUF is bumped in 4.19-rc1 - avoid redefine warning Ref: https://github.com/torvalds/linux/commit/b8042b3da925f390c1482bf9dc0898dc0b3ea7b5 --- include/wifi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wifi.h b/include/wifi.h index 324b45b..33a7e6c 100644 --- a/include/wifi.h +++ b/include/wifi.h @@ -730,7 +730,9 @@ enum ht_cap_ampdu_factor { * According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2) */ #define IEEE80211_MIN_AMPDU_BUF 0x8 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,19,0)) #define IEEE80211_MAX_AMPDU_BUF 0x40 +#endif /* Spatial Multiplexing Power Save Modes */ #define WLAN_HT_CAP_SM_PS_STATIC 0