aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl12xx/wl12xx.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-11-27 15:51:56 +0200
committerLuciano Coelho <coelho@ti.com>2012-12-04 16:36:10 +0200
commit986f3aa1666b4ef1e9e30672c73e19742b8abfd9 (patch)
treeffe6e672b185ebd183518d4377d82d89142a5c64 /drivers/net/wireless/ti/wl12xx/wl12xx.h
parent7230341f254c9bce39e9576362f18b94854bc779 (diff)
wlcore/wl12xx: move wl12xx chip ID defines to the lower driver
Move wl12xx-specific chip ID macros to the wl12xx driver and rename them to 127X and 128X for clarity since both the "1" (2.4GHz) and the "3" (2.4GHz and 5GHz) variants use the same chip ID. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx/wl12xx.h')
-rw-r--r--drivers/net/wireless/ti/wl12xx/wl12xx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/wl12xx.h b/drivers/net/wireless/ti/wl12xx/wl12xx.h
index 7182bbf6625..634ad0086c5 100644
--- a/drivers/net/wireless/ti/wl12xx/wl12xx.h
+++ b/drivers/net/wireless/ti/wl12xx/wl12xx.h
@@ -24,6 +24,12 @@
#include "conf.h"
+/* WiLink 6/7 chip IDs */
+#define CHIP_ID_127X_PG10 (0x04030101)
+#define CHIP_ID_127X_PG20 (0x04030111)
+#define CHIP_ID_128X_PG10 (0x05030101)
+#define CHIP_ID_128X_PG20 (0x05030111)
+
/* minimum FW required for driver for wl127x */
#define WL127X_CHIP_VER 6
#define WL127X_IFTYPE_VER 3