* [PATCH] wl12xx: update PLT initialization for new firmware
@ 2011-02-01 9:03 Gery Kahn
2011-02-23 13:51 ` Luciano Coelho
0 siblings, 1 reply; 2+ messages in thread
From: Gery Kahn @ 2011-02-01 9:03 UTC (permalink / raw)
To: linux-wireless; +Cc: Luciano Coelho
In revision > 6.1.3.0.0 the firmware expects memory configuration command
as part of boot. This was missing if driver boots in PLT mode.
The patch adds the memory configuration command, which fixes PLT commands
tx continuous and rx statistics.
Signed-off-by: Gery Kahn <geryk@ti.com>
---
This patch depends on Eliad's new firmware patchseries
drivers/net/wireless/wl12xx/main.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index f5ad55a..4580728 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -482,6 +482,10 @@ static int wl1271_plt_init(struct wl1271 *wl)
if (ret < 0)
goto out_free_memmap;
+ ret = wl1271_acx_sta_mem_cfg(wl);
+ if (ret < 0)
+ goto out_free_memmap;
+
/* Default fragmentation threshold */
ret = wl1271_acx_frag_threshold(wl, wl->conf.tx.frag_threshold);
if (ret < 0)
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] wl12xx: update PLT initialization for new firmware
2011-02-01 9:03 [PATCH] wl12xx: update PLT initialization for new firmware Gery Kahn
@ 2011-02-23 13:51 ` Luciano Coelho
0 siblings, 0 replies; 2+ messages in thread
From: Luciano Coelho @ 2011-02-23 13:51 UTC (permalink / raw)
To: Gery Kahn; +Cc: linux-wireless
On Tue, 2011-02-01 at 03:03 -0600, Gery Kahn wrote:
> In revision > 6.1.3.0.0 the firmware expects memory configuration
> command
> as part of boot. This was missing if driver boots in PLT mode.
> The patch adds the memory configuration command, which fixes PLT
> commands
> tx continuous and rx statistics.
>
> Signed-off-by: Gery Kahn <geryk@ti.com>
> ---
Applied, thanks!
--
Cheers,
Luca.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-23 13:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-01 9:03 [PATCH] wl12xx: update PLT initialization for new firmware Gery Kahn
2011-02-23 13:51 ` Luciano Coelho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).