File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1015,8 +1015,10 @@ typedef enum _HT_CAP_AMPDU_DENSITY {
1015
1015
* A-PMDU buffer sizes
1016
1016
* According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2)
1017
1017
*/
1018
+ #if LINUX_VERSION_CODE < KERNEL_VERSION (4 , 19 , 0 )
1018
1019
#define IEEE80211_MIN_AMPDU_BUF 0x8
1019
1020
#define IEEE80211_MAX_AMPDU_BUF 0x40
1021
+ #endif
1020
1022
1021
1023
1022
1024
/* Spatial Multiplexing Power Save Modes */
Original file line number Diff line number Diff line change @@ -789,9 +789,13 @@ unsigned int rtw_classify8021d(struct sk_buff *skb)
789
789
790
790
791
791
static u16 rtw_select_queue (struct net_device * dev , struct sk_buff * skb
792
- #if LINUX_VERSION_CODE >= KERNEL_VERSION (3 , 13 , 0 )
792
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION (3 , 13 , 0 )
793
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION (4 , 19 , 0 )
794
+ , struct net_device * accel_priv
795
+ #else
793
796
, void * accel_priv
794
- #if LINUX_VERSION_CODE >= KERNEL_VERSION (3 , 14 , 0 )
797
+ #endif
798
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION (3 , 14 , 0 )
795
799
, select_queue_fallback_t fallback
796
800
#endif
797
801
You can’t perform that action at this time.
0 commit comments