Skip to content

Commit e85d091

Browse files
Daniel DrakeJeff Garzik
authored andcommitted
[PATCH] ZyDAS ZD1211 USB-WLAN driver
There are 60+ USB wifi adapters available on the market based on the ZyDAS ZD1211 chip. Unlike the predecessor (ZD1201), ZD1211 does not have a hardware MAC, so most data operations are coordinated by the device driver. The ZD1211 chip sits alongside an RF transceiver which is also controlled by the driver. Our driver currently supports 2 RF types, we know of one other available in a few marketed products which we will be supporting soon. Our driver also supports the newer revision of ZD1211, called ZD1211B. The initialization and RF operations are slightly different for the new revision, but the main difference is 802.11e support. Our driver does not support the QoS features yet, but we think we know how to use them. This driver is based on ZyDAS's own GPL driver available from www.zydas.com.tw. ZyDAS engineers have been responsive and supportive of our efforts, so thumbs up to them. Additionally, the firmware is redistributable and they have provided device specs. This driver has been written primarily by Ulrich Kunitz and myself. Graham Gower, Greg KH, Remco and Bryan Rittmeyer have also contributed. The developers of ieee80211 and softmac have made our lives so much easier- thanks! We maintain a small info-page: http://zd1211.ath.cx/wiki/DriverRewrite If there is enough time for review, we would like to aim for inclusion in 2.6.18. The driver works nicely as a STA, and can connect to both open and encrypted networks (we are using software-based encryption for now). We will work towards supporting more advanced features in the future (ad-hoc, master mode, 802.11a, ...). Signed-off-by: Daniel Drake <dsd@gentoo.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent 4a232e7 commit e85d091

File tree

22 files changed

+6911
-0
lines changed

22 files changed

+6911
-0
lines changed

drivers/net/wireless/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ config USB_ZD1201
550550

551551
source "drivers/net/wireless/hostap/Kconfig"
552552
source "drivers/net/wireless/bcm43xx/Kconfig"
553+
source "drivers/net/wireless/zd1211rw/Kconfig"
553554

554555
# yes, this works even when no drivers are selected
555556
config NET_WIRELESS

drivers/net/wireless/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ obj-$(CONFIG_PRISM54) += prism54/
3636

3737
obj-$(CONFIG_HOSTAP) += hostap/
3838
obj-$(CONFIG_BCM43XX) += bcm43xx/
39+
obj-$(CONFIG_ZD1211RW) += zd1211rw/
3940

4041
# 16-bit wireless PCMCIA client drivers
4142
obj-$(CONFIG_PCMCIA_RAYCS) += ray_cs.o
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
config ZD1211RW
2+
tristate "ZyDAS ZD1211/ZD1211B USB-wireless support"
3+
depends on USB && IEEE80211 && IEEE80211_SOFTMAC && NET_RADIO && EXPERIMENTAL
4+
select FW_LOADER
5+
---help---
6+
This is an experimental driver for the ZyDAS ZD1211/ZD1211B wireless
7+
chip, present in many USB-wireless adapters.
8+
9+
Device firmware is required alongside this driver. You can download the
10+
firmware distribution from http://zd1211.ath.cx/get-firmware
11+
12+
config ZD1211RW_DEBUG
13+
bool "ZyDAS ZD1211 debugging"
14+
depends on ZD1211RW
15+
---help---
16+
ZD1211 debugging messages. Choosing Y will result in additional debug
17+
messages being saved to your kernel logs, which may help debug any
18+
problems.
19+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
obj-$(CONFIG_ZD1211RW) += zd1211rw.o
2+
3+
zd1211rw-objs := zd_chip.o zd_ieee80211.o \
4+
zd_mac.o zd_netdev.o \
5+
zd_rf_al2230.o zd_rf_rf2959.o \
6+
zd_rf.o zd_usb.o zd_util.o
7+
8+
ifeq ($(CONFIG_ZD1211RW_DEBUG),y)
9+
EXTRA_CFLAGS += -DDEBUG
10+
endif
11+

0 commit comments

Comments
 (0)