aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-11-27 08:51:59 -0500
committerLuciano Coelho <coelho@ti.com>2012-12-04 09:36:11 -0500
commitb3ec9cf2052981171364c4f354f53a64089ecc75 (patch)
tree461abeb651bcb618cba7fb7d7ccaa82f851c745a /drivers
parentaf4e94c56581b446b2010854a983ef722ad9ed1f (diff)
wl12xx: ignore some of the firmware version fields
The firmware type and the project number fields in the firmware version number, cannot be checked as if they increase sequentially, because the former is the firmware type and the latter is an internal project number. There's no guarantee that these numbers will remain incremental, so use WLCORE_FW_VER_IGNORE. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ti/wl12xx/wl12xx.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/wl12xx.h b/drivers/net/wireless/ti/wl12xx/wl12xx.h
index 634ad0086c56..310df5200c26 100644
--- a/drivers/net/wireless/ti/wl12xx/wl12xx.h
+++ b/drivers/net/wireless/ti/wl12xx/wl12xx.h
@@ -32,16 +32,16 @@
32 32
33/* minimum FW required for driver for wl127x */ 33/* minimum FW required for driver for wl127x */
34#define WL127X_CHIP_VER 6 34#define WL127X_CHIP_VER 6
35#define WL127X_IFTYPE_VER 3 35#define WL127X_IFTYPE_VER WLCORE_FW_VER_IGNORE
36#define WL127X_MAJOR_VER 10 36#define WL127X_MAJOR_VER 10
37#define WL127X_SUBTYPE_VER 2 37#define WL127X_SUBTYPE_VER WLCORE_FW_VER_IGNORE
38#define WL127X_MINOR_VER 115 38#define WL127X_MINOR_VER 115
39 39
40/* minimum FW required for driver for wl128x */ 40/* minimum FW required for driver for wl128x */
41#define WL128X_CHIP_VER 7 41#define WL128X_CHIP_VER 7
42#define WL128X_IFTYPE_VER 3 42#define WL128X_IFTYPE_VER WLCORE_FW_VER_IGNORE
43#define WL128X_MAJOR_VER 10 43#define WL128X_MAJOR_VER 10
44#define WL128X_SUBTYPE_VER 2 44#define WL128X_SUBTYPE_VER WLCORE_FW_VER_IGNORE
45#define WL128X_MINOR_VER 115 45#define WL128X_MINOR_VER 115
46 46
47#define WL12XX_AGGR_BUFFER_SIZE (4 * PAGE_SIZE) 47#define WL12XX_AGGR_BUFFER_SIZE (4 * PAGE_SIZE)