]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
wl12xx: Enable dynamic memory for 127x
authorIdo Yariv <ido@wizery.com>
Mon, 18 Apr 2011 13:45:10 +0000 (16:45 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 2 May 2011 07:27:17 +0000 (10:27 +0300)
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 <ido@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c

index c0cfcc7e11aca68242ba212b72762709f11f9ffc..6dd72365b63ac350e733c7d84c0885786342adee 100644 (file)
@@ -305,7 +305,7 @@ static struct conf_drv_settings default_conf = {
                .ssid_profiles                = 1,
                .rx_block_num                 = 70,
                .tx_min_block_num             = 40,
                .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,
                .min_req_tx_blocks            = 100,
                .min_req_rx_blocks            = 22,
                .tx_min                       = 27,