aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/wlan/if_runvar.h
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2020-06-03 22:30:44 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2020-06-03 22:30:44 +0000
commite649b526cc1fc082c2eee4f06d6f9166060dbf5c (patch)
tree21276a1093a6b33e0dcf34a14dad3dfc969cb80d /sys/dev/usb/wlan/if_runvar.h
parent1a4a7e98eb2de6179cb51832c878b4624c85c39b (diff)
Notes
Diffstat (limited to 'sys/dev/usb/wlan/if_runvar.h')
-rw-r--r--sys/dev/usb/wlan/if_runvar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/wlan/if_runvar.h b/sys/dev/usb/wlan/if_runvar.h
index 98dff0bdfbd56..bb6231c3f9474 100644
--- a/sys/dev/usb/wlan/if_runvar.h
+++ b/sys/dev/usb/wlan/if_runvar.h
@@ -23,14 +23,15 @@
#ifndef _IF_RUNVAR_H_
#define _IF_RUNVAR_H_
+/* Support up to 4KB frames - useful for A-MSDU/FF. */
#define RUN_MAX_RXSZ \
MIN(4096, MJUMPAGESIZE)
-/* NB: "11" is the maximum number of padding bytes needed for Tx */
+/* Support up to 8KB frames - useful for A-MSDU/FF. */
#define RUN_MAX_TXSZ \
(sizeof (struct rt2870_txd) + \
sizeof (struct rt2860_txwi) + \
- MCLBYTES + 11)
+ 8192 + 11)
#define RUN_TX_TIMEOUT 5000 /* ms */