wl12xx: use 1 spare TX block instead of two
authorLuciano Coelho <coelho@ti.com>
Thu, 10 Mar 2011 13:24:57 +0000 (15:24 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 19 Apr 2011 13:49:03 +0000 (16:49 +0300)
commite7ddf549f3f2da156f5c12921e6699024e80a3f4
treedf8f0e4d2ac9e23ec96117ffca35517a3cd94ac6
parent0830ceedbfde20c9110c59597fdffbf51886565a
wl12xx: use 1 spare TX block instead of two

All the new firmware versions (>=6.1.3.50.58 for STA and >=6.2.0.0.47
for AP) use 1 spare TX block.  We still want to support older
firmwares that require 2 spare blocks, so added a quirk to handle the
difference.

Also implemented a generic way of setting quirks that depend on the
firmware revision.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/tx.c
drivers/net/wireless/wl12xx/tx.h
drivers/net/wireless/wl12xx/wl12xx.h