Author: adrian Date: Sat Mar 26 11:58:29 2011 New Revision: 220033 URL: http://svn.freebsd.org/changeset/base/220033
Log: If 802.11n is enabled, bump the number of buffers used up to a larger level. This is important for AMPDU RX as each burst is multiple packets in a row. Modified: head/sys/dev/ath/if_athvar.h Modified: head/sys/dev/ath/if_athvar.h ============================================================================== --- head/sys/dev/ath/if_athvar.h Sat Mar 26 11:25:36 2011 (r220032) +++ head/sys/dev/ath/if_athvar.h Sat Mar 26 11:58:29 2011 (r220033) @@ -43,6 +43,14 @@ #define ATH_TIMEOUT 1000 +/* + * 802.11n requires more TX and RX buffers to do AMPDU. + */ +#ifdef AH_ENABLE_11N +#define ATH_TXBUF 512 +#define ATH_RXBUF 512 +#endif + #ifndef ATH_RXBUF #define ATH_RXBUF 40 /* number of RX buffers */ #endif _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"