rsu: increase Rx buffer size from 8k to 30k.

This is required for USB Rx aggregation
(and fixes 'could not allocate RX mbuf' / few other failures).

While here, reduce the number of Rx buffers from 100 to 1 -
the driver never uses more than one Rx buffer.

Tested with Asus USB-N10.
This commit is contained in:
Andriy Voskoboinyk 2016-12-10 17:06:55 +00:00
parent 480f31c214
commit 7a4575d0b5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309821

View File

@ -688,10 +688,10 @@ struct r92s_add_ba_req {
/*
* Driver definitions.
*/
#define RSU_RX_LIST_COUNT 100
#define RSU_RX_LIST_COUNT 1
#define RSU_TX_LIST_COUNT 32
#define RSU_RXBUFSZ (8 * 1024)
#define RSU_RXBUFSZ (30 * 1024)
#define RSU_TXBUFSZ \
((sizeof(struct r92s_tx_desc) + IEEE80211_MAX_LEN + 3) & ~3)