From: Ido Yariv Date: Mon, 18 Apr 2011 13:45:10 +0000 (+0300) Subject: wl12xx: Enable dynamic memory for 127x X-Git-Tag: MMI-PSA29.97-13-9~19291^2~16^2~186^2~15 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4cf557fcf01e352fb418e110dd013e4128493c5f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Luciano Coelho --- diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c index c0cfcc7e11ac..6dd72365b63a 100644 --- a/drivers/net/wireless/wl12xx/main.c +++ b/drivers/net/wireless/wl12xx/main.c @@ -305,7 +305,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,