2011-04-18 13:45:35

by Ido Yariv

[permalink] [raw]
Subject: [PATCH] wl12xx: Enable dynamic memory for 127x

The FW can dynamically manage its internal TX & RX memory pools, moving
blocks from one pool to another when necessary. This can significantly
improve performance. Currently this feature is enabled only for 128x.

Enable dynamic memory for 127x as well. Other parameters in the memory
configuration structure may need to be fine tuned, as the optimal values
for these may change once dynamic memory is enabled.

Signed-off-by: Ido Yariv <[email protected]>
---
drivers/net/wireless/wl12xx/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 7126506..d32ffa4 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -304,7 +304,7 @@ static struct conf_drv_settings default_conf = {
.ssid_profiles = 1,
.rx_block_num = 70,
.tx_min_block_num = 40,
- .dynamic_memory = 0,
+ .dynamic_memory = 1,
.min_req_tx_blocks = 100,
.min_req_rx_blocks = 22,
.tx_min = 27,
--
1.7.1



2011-04-29 20:06:13

by Luciano Coelho

[permalink] [raw]
Subject: Re: [PATCH] wl12xx: Enable dynamic memory for 127x

On Mon, 2011-04-18 at 16:45 +0300, Ido Yariv wrote:
> The FW can dynamically manage its internal TX & RX memory pools, moving
> blocks from one pool to another when necessary. This can significantly
> improve performance. Currently this feature is enabled only for 128x.
>
> Enable dynamic memory for 127x as well. Other parameters in the memory
> configuration structure may need to be fine tuned, as the optimal values
> for these may change once dynamic memory is enabled.
>
> Signed-off-by: Ido Yariv <[email protected]>
> ---

Applied.

--
Cheers,
Luca.