From: John Crispin Date: Mon, 29 Jul 2019 10:45:12 +0000 (+0200) Subject: mac80211: add support for the ADDBA extension element X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=460ec7b3ba99e98d94a8d2e41d5a75c625b66eb6 mac80211: add support for the ADDBA extension element HE allows peers to negotiate the aggregation fragmentation level to be used during transmission. The level can be 1-3. The Ext element is added behind the ADDBA request inside the action frame. The responder will then reply with the same level or a lower one if the requested one is not supported. This patch only handles the negotiation part as the ADDBA frames get passed to the ATH11k firmware, which does the rest of the magic for us aswell as generating the requests. Signed-off-by: Shashidhar Lakkavalli Signed-off-by: John Crispin Link: https://lore.kernel.org/r/20190729104512.27615-1-john@phrozen.org Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index b5b7fea..803ae87 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -983,6 +983,8 @@ struct ieee80211_mgmt { __le16 capab; __le16 timeout; __le16 start_seq_num; + /* followed by BA Extension */ + u8 variable[0]; } __packed addba_req; struct{ u8 action_code;