[PATCH 19/33][SRU][OEM-5.13] ieee80211: Add new A-MPDU factor macro for HE 6 GHz peer caps

You-Sheng Yang vicamo.yang at canonical.com
Tue Oct 19 16:25:34 UTC 2021


From: Pradeep Kumar Chitrapu <pradeepc at codeaurora.org>

BugLink: https://bugs.launchpad.net/bugs/1939528

Add IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR as per IEEE Std 802.11ax-2021,
9.4.2.263 to use for peer max A-MPDU factor in 6 GHz band.

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc at codeaurora.org>
Signed-off-by: Jouni Malinen <jouni at codeaurora.org>
Acked-by: Johannes Berg <johannes at sipsolutions.net>
Signed-off-by: Kalle Valo <kvalo at codeaurora.org>
Link: https://lore.kernel.org/r/20210913175510.193005-1-jouni@codeaurora.org
(cherry picked from commit 62b8963cd84df1fc04986cd9b27586acce758f36)
Signed-off-by: You-Sheng Yang <vicamo.yang at canonical.com>
---
 include/linux/ieee80211.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index ba50f6467147a..60e1a6774d947 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -2038,6 +2038,7 @@ int ieee80211_get_vht_max_nss(struct ieee80211_vht_cap *cap,
 
 #define IEEE80211_HE_VHT_MAX_AMPDU_FACTOR	20
 #define IEEE80211_HE_HT_MAX_AMPDU_FACTOR	16
+#define IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR	13
 
 /* 802.11ax HE PHY capabilities */
 #define IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_40MHZ_IN_2G		0x02
-- 
2.32.0




More information about the kernel-team mailing list