mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-25 14:44:09 +00:00
fix upstream AMPDU change
* Added a switch for kernel v4.18, so we're sure kernels below function as before
This commit is contained in:
parent
9a5f3d9214
commit
dc31b7930e
@ -1063,14 +1063,16 @@ typedef enum _HT_CAP_AMPDU_DENSITY {
|
|||||||
#define IEEE80211_DELBA_PARAM_TID_MASK 0xF000
|
#define IEEE80211_DELBA_PARAM_TID_MASK 0xF000
|
||||||
#define IEEE80211_DELBA_PARAM_INITIATOR_MASK 0x0800
|
#define IEEE80211_DELBA_PARAM_INITIATOR_MASK 0x0800
|
||||||
|
|
||||||
|
|
||||||
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 18, 0))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A-PMDU buffer sizes
|
* A-PMDU buffer sizes
|
||||||
* According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2)
|
* According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2)
|
||||||
*/
|
*/
|
||||||
// #define IEEE80211_MIN_AMPDU_BUF 0x8
|
#define IEEE80211_MIN_AMPDU_BUF 0x8
|
||||||
// #if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 0))
|
#define IEEE80211_MAX_AMPDU_BUF 0x40
|
||||||
// #define IEEE80211_MAX_AMPDU_BUF 0x40
|
#endif
|
||||||
// #endif
|
|
||||||
|
|
||||||
/* Spatial Multiplexing Power Save Modes */
|
/* Spatial Multiplexing Power Save Modes */
|
||||||
#define WLAN_HT_CAP_SM_PS_STATIC 0
|
#define WLAN_HT_CAP_SM_PS_STATIC 0
|
||||||
|
Loading…
Reference in New Issue
Block a user