From patchwork Mon Apr 18 13:45:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ido Yariv X-Patchwork-Id: 715441 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3IDjoog006261 for ; Mon, 18 Apr 2011 13:45:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754097Ab1DRNpi (ORCPT ); Mon, 18 Apr 2011 09:45:38 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:39087 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753840Ab1DRNpf (ORCPT ); Mon, 18 Apr 2011 09:45:35 -0400 Received: by wya21 with SMTP id 21so3921355wya.19 for ; Mon, 18 Apr 2011 06:45:34 -0700 (PDT) Received: by 10.216.237.138 with SMTP id y10mr1021628weq.30.1303134334014; Mon, 18 Apr 2011 06:45:34 -0700 (PDT) Received: from localhost.localdomain (46-116-5-175.bb.netvision.net.il [46.116.5.175]) by mx.google.com with ESMTPS id o23sm3277945wbc.10.2011.04.18.06.45.31 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Apr 2011 06:45:33 -0700 (PDT) From: Ido Yariv To: "Luciano Coelho" Cc: linux-wireless@vger.kernel.org, Ido Yariv Subject: [PATCH] wl12xx: Enable dynamic memory for 127x Date: Mon, 18 Apr 2011 16:45:10 +0300 Message-Id: <1303134310-31592-1-git-send-email-ido@wizery.com> X-Mailer: git-send-email 1.7.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 18 Apr 2011 13:45:50 +0000 (UTC) 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 --- 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,