summary refs log tree commit diff
path: root/net/mac80211/debugfs.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-03-03 22:59:00 +0100
committerJohannes Berg <johannes.berg@intel.com>2016-04-06 13:18:19 +0200
commit6e0456b5454561c4e9fa9e8a4acea405e6d56c80 (patch)
tree0d3203eaa74cb6ad1595040fe3373c90af84b5f0 /net/mac80211/debugfs.c
parentc9c5962b56c10c34d8fedc20cd6d6ebdaa2383c6 (diff)
downloadlinux-6e0456b5454561c4e9fa9e8a4acea405e6d56c80.tar.gz
mac80211: add A-MSDU tx support
Requires software tx queueing and fast-xmit support. For good
performance, drivers need frag_list support as well. This avoids the
need for copying data of aggregated frames. Running without it is only
supported for debugging purposes.

To avoid performance and packet size issues, the rate control module or
driver needs to limit the maximum A-MSDU size by setting
max_rc_amsdu_len in struct ieee80211_sta.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
[fix locking issue]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/debugfs.c')
-rw-r--r--net/mac80211/debugfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index 52ed2afc408d..b251b2f7f8dd 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -128,6 +128,8 @@ static const char *hw_flag_names[] = {
 	FLAG(NEEDS_UNIQUE_STA_ADDR),
 	FLAG(SUPPORTS_REORDERING_BUFFER),
 	FLAG(USES_RSS),
+	FLAG(TX_AMSDU),
+	FLAG(TX_FRAG_LIST),
 #undef FLAG
 };