diff options
author | Igal Chernobelsky <igalc@ti.com> | 2012-07-29 15:21:12 (GMT) |
---|---|---|
committer | Luciano Coelho <luca@coelho.fi> | 2012-09-27 09:13:51 (GMT) |
commit | 26a309c7586140afd40628a7031993afbaae0f07 (patch) | |
tree | b216441d25225d449150c1978b2342f7508c12d6 /drivers/net/wireless/ti/wlcore/tx.c | |
parent | f1c434df6727ebb3068b67b06eae945a80f07ad3 (diff) | |
download | linux-fsl-qoriq-26a309c7586140afd40628a7031993afbaae0f07.tar.xz |
wlcore/wl18xx/wl12xx: aggregation buffer size set
Aggregation buffer size is set separately per 18xx/12xx chip family.
For 18xx aggragation buffer is set to 13 pages to utilize all
the available tx/rx descriptors for aggregation.
[Arik - remove redundant parts from the patch]
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <luca@coelho.fi>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/tx.c')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/tx.c b/drivers/net/wireless/ti/wlcore/tx.c index f9c26b1..a90d3cd 100644 --- a/drivers/net/wireless/ti/wlcore/tx.c +++ b/drivers/net/wireless/ti/wlcore/tx.c @@ -193,7 +193,7 @@ static int wl1271_tx_allocate(struct wl1271 *wl, struct wl12xx_vif *wlvif, int id, ret = -EBUSY, ac; u32 spare_blocks; - if (buf_offset + total_len > WL1271_AGGR_BUFFER_SIZE) + if (buf_offset + total_len > wl->aggr_buf_size) return -EAGAIN; spare_blocks = wlcore_hw_get_spare_blocks(wl, is_gem); |