diff options
author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | 2014-10-28 17:51:27 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-10-30 22:26:52 +0300 |
commit | 9a06bec9aee0ae54f175b20a8d4f5e14aef24a9f (patch) | |
tree | ab1f005b704613dd14a688a0d82db38ba0aa33d9 /drivers/net/wireless/ath/wil6210/txrx.h | |
parent | e240537b4c7303748fe44e03a6309d1d55893cd3 (diff) | |
download | linux-9a06bec9aee0ae54f175b20a8d4f5e14aef24a9f.tar.xz |
wil6210: Add support for large packets
It is possible to configure driver using mtu_max module parameter
by setting it to value in range of 68..7920 inclusive.
This is sub-optimal performance-wise in case packet is larger than 1 page.
mtu_max default value is 2228.
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/txrx.h')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/txrx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/wil6210/txrx.h b/drivers/net/wireless/ath/wil6210/txrx.h index de046716d2b7..630aeb5fa7f4 100644 --- a/drivers/net/wireless/ath/wil6210/txrx.h +++ b/drivers/net/wireless/ath/wil6210/txrx.h @@ -21,8 +21,8 @@ #define BUF_HW_OWNED (0) /* size of max. Tx/Rx buffers, as supported by FW */ -#define RX_BUF_LEN (2242) -#define TX_BUF_LEN (2242) +#define TXRX_BUF_LEN_DEFAULT (2242) + /* how many bytes to reserve for rtap header? */ #define WIL6210_RTAP_SIZE (128) |