mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 15:44:18 +00:00
Minor fix to kernel v4.19 support (IEEE80211_MAX_AMPDU_BUF_HT)
This commit is contained in:
parent
1a9bc08949
commit
87ee8a2f44
@ -1027,12 +1027,15 @@ 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_HT 0x40
|
||||||
|
#define IEEE80211_MAX_AMPDU_BUF 0x100
|
||||||
|
#else
|
||||||
#define IEEE80211_MAX_AMPDU_BUF_HT 0x40
|
#define IEEE80211_MAX_AMPDU_BUF_HT 0x40
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user