Skip to content

Commit a910e4a

Browse files
speachylinvjw
authored andcommitted
cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsets
Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent 5f07d15 commit a910e4a

34 files changed

+15040
-0
lines changed

MAINTAINERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2299,6 +2299,11 @@ M: Jaya Kumar <jayakumar.alsa@gmail.com>
22992299
S: Maintained
23002300
F: sound/pci/cs5535audio/
23012301

2302+
CW1200 WLAN driver
2303+
M: Solomon Peachy <pizza@shaftnet.org>
2304+
S: Maintained
2305+
F: drivers/net/wireless/cw1200/
2306+
23022307
CX18 VIDEO4LINUX DRIVER
23032308
M: Andy Walls <awalls@md.metrocast.net>
23042309
L: ivtv-devel@ivtvdriver.org (moderated for non-subscribers)

drivers/net/wireless/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,5 +280,6 @@ source "drivers/net/wireless/rtlwifi/Kconfig"
280280
source "drivers/net/wireless/ti/Kconfig"
281281
source "drivers/net/wireless/zd1211rw/Kconfig"
282282
source "drivers/net/wireless/mwifiex/Kconfig"
283+
source "drivers/net/wireless/cw1200/Kconfig"
283284

284285
endif # WLAN

drivers/net/wireless/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ obj-$(CONFIG_MWIFIEX) += mwifiex/
5757

5858
obj-$(CONFIG_BRCMFMAC) += brcm80211/
5959
obj-$(CONFIG_BRCMSMAC) += brcm80211/
60+
61+
obj-$(CONFIG_CW1200) += cw1200/
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
config CW1200
2+
tristate "CW1200 WLAN support"
3+
depends on MAC80211 && CFG80211
4+
help
5+
This is a driver for the ST-E CW1100 & CW1200 WLAN chipsets.
6+
This option just enables the driver core, see below for
7+
specific bus support.
8+
9+
if CW1200
10+
11+
config CW1200_WLAN_SDIO
12+
tristate "Support SDIO platforms"
13+
depends on CW1200 && MMC
14+
help
15+
Enable support for the CW1200 connected via an SDIO bus.
16+
17+
config CW1200_WLAN_SPI
18+
tristate "Support SPI platforms"
19+
depends on CW1200 && SPI
20+
help
21+
Enables support for the CW1200 connected via a SPI bus.
22+
23+
config CW1200_WLAN_SAGRAD
24+
tristate "Support Sagrad SG901-1091/1098 modules"
25+
depends on CW1200_WLAN_SDIO
26+
help
27+
This provides the platform data glue to support the
28+
Sagrad SG901-1091/1098 modules in their standard SDIO EVK.
29+
It also includes example SPI platform data.
30+
31+
menu "Driver debug features"
32+
depends on CW1200 && DEBUG_FS
33+
34+
config CW1200_ETF
35+
bool "Enable CW1200 Engineering Test Framework hooks"
36+
help
37+
If you don't know what this is, just say N.
38+
39+
config CW1200_ITP
40+
bool "Enable ITP access"
41+
help
42+
If you don't know what this is, just say N.
43+
44+
endmenu
45+
46+
endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
cw1200_core-y := \
2+
fwio.o \
3+
txrx.o \
4+
main.o \
5+
queue.o \
6+
hwio.o \
7+
bh.o \
8+
wsm.o \
9+
sta.o \
10+
scan.o \
11+
pm.o \
12+
debug.o
13+
cw1200_core-$(CONFIG_CW1200_ITP) += itp.o
14+
15+
# CFLAGS_sta.o += -DDEBUG
16+
17+
cw1200_wlan_sdio-y := cw1200_sdio.o
18+
cw1200_wlan_spi-y := cw1200_spi.o
19+
cw1200_wlan_sagrad-y := cw1200_sagrad.o
20+
21+
obj-$(CONFIG_CW1200) += cw1200_core.o
22+
obj-$(CONFIG_CW1200_WLAN_SDIO) += cw1200_wlan_sdio.o
23+
obj-$(CONFIG_CW1200_WLAN_SPI) += cw1200_wlan_spi.o
24+
obj-$(CONFIG_CW1200_WLAN_SAGRAD) += cw1200_wlan_sagrad.o

0 commit comments

Comments
 (0)