at76c50x-usb: mac80211 port of at76_usb
PATCH 1/1 at76c50x-usb: mac80211 port of at76_usb
Here's the first version of at76c50x-usb which is a mac80211 port from at76_usb, which included own 802.11 stack. The driver has received almost no testing, I just associated few to times to an AP using WEP and iwconfig.
My quick test showed problems already, for example sometimes I had to set essid twice before the driver associated. And I'm sure there are also loads of other issues. Patches welcome :)
The driver is based on at76_usb mac80211 patches[1] plus some cosmetic changes to reflect the name change. Also I dropped the wpa patches for now due to stability issues. I'll readd wpa support after the driver is stable enough.
John, please consider this driver as inclusion to the linux-testing tree. I don't consider this ready for mainline yet, I want to test this more first in case there are critical bugs.
[1] http://git.kernel.org/?p=linux/kernel/git/linville/wireless-legacy.git;a=shortlog;h=at76
---
Kalle Valo (1):
at76c50x-usb: add driver
drivers/net/wireless/Kconfig | 8 drivers/net/wireless/Makefile | 2 drivers/net/wireless/at76c50x-usb.c | 2465 +++++++++++++++++++++++++++++++++++ drivers/net/wireless/at76c50x-usb.h | 463 +++++++ 4 files changed, 2938 insertions(+), 0 deletions(-) create mode 100644 drivers/net/wireless/at76c50x-usb.c create mode 100644 drivers/net/wireless/at76c50x-usb.h
PATCH 1/1 at76c50x-usb: add driver
This is a driver for usb devices based on at76c50x chipset. This is a mac80211 port of the original at76_usb driver.
---
drivers/net/wireless/Kconfig | 8 drivers/net/wireless/Makefile | 2 drivers/net/wireless/at76c50x-usb.c | 2465 +++++++++++++++++++++++++++++++++++ drivers/net/wireless/at76c50x-usb.h | 463 +++++++ 4 files changed, 2938 insertions(+), 0 deletions(-) create mode 100644 drivers/net/wireless/at76c50x-usb.c create mode 100644 drivers/net/wireless/at76c50x-usb.h
drivers/net/wireless/Kconfig +8 -0
@@ -228,6 +228,14 @@ config PCMCIA_ATMEL Enable support for PCMCIA cards containing the Atmel at76c502 and at76c504 chips. +config AT76C50X_USB + tristate "Atmel at76c503/at76c505/at76c505a USB cards" + depends on MAC80211 && WLAN_80211 && USB + select FW_LOADER + ---help--- + Enable support for USB Wireless devices using Atmel at76c503, + at76c505 or at76c505a chips. + config AIRO_CS tristate "Cisco/Aironet 34X/35X/4500/4800 PCMCIA cards" depends on PCMCIA && (BROKEN || !M32R) && WLAN_80211
drivers/net/wireless/Makefile +2 -0
@@ -24,6 +24,8 @@ obj-$(CONFIG_ATMEL) += atmel.o obj-$(CONFIG_PCI_ATMEL) += atmel_pci.o obj-$(CONFIG_PCMCIA_ATMEL) += atmel_cs.o +obj-$(CONFIG_AT76C50X_USB) += at76c50x-usb.o + obj-$(CONFIG_PRISM54) += prism54/ obj-$(CONFIG_HOSTAP) += hostap/
drivers/net/wireless/at76c50x-usb.c new file +2465 -0
2,465 lines not on this page · raw message
drivers/net/wireless/at76c50x-usb.h new file +463 -0
463 lines not on this page · raw message
Quoted 3 lines · Kalle Valo
John, please consider this driver as inclusion to the linux-testing tree. I don't consider this ready for mainline yet, I want to test this more first in case there are critical bugs.
I have been testing this for few hours now on ubuntu 8.10 with networkmanager. With iperf I got this warning in some cases:
phy0: at76_mac80211_tx called while tx urb is pending
Also sometimes first association attempt failed and a second attempt was needed, but otherwise the driver seems to be usable, at least for me. The device I used for testing:
Bus 002 Device 006: ID 050d:0050 Belkin Components F5D6050 802.11b Wireless Adapter
Kalle
Quoted 8 lines · Kalle Valo
Quoted 3 lines · Kalle Valo
John, please consider this driver as inclusion to the linux-testing tree. I don't consider this ready for mainline yet, I want to test this more first in case there are critical bugs.
I have been testing this for few hours now on ubuntu 8.10 with networkmanager. With iperf I got this warning in some cases:
Quoted 8 lines
phy0:
at76_mac80211_txcalled while tx urb is pendingAlso sometimes first association attempt failed and a second attempt was needed, but otherwise the driver seems to be usable, at least for me. The device I used for testing:
Bus 002 Device 006: ID 050d:0050 Belkin Components F5D6050 802.11b Wireless Adapter
After applying the patch to wireless-testing master-2009-02-11, I tried it out to poor results.
Attaching my Linksys WUSB11 results in an Oops. Unfortunately, 2.6.29-rc4 has problems with my e1000e, so I cannot set up a netconsole. I will continue to investigate, but all I have for now is the below logs.
Jason
Feb 13 13:11:16 rainbow kernel: [ 371.980119] usb 3-2: new full speed USB device using uhci_hcd and address 2 Feb 13 13:11:16 rainbow kernel: [ 372.129492] usb 3-2: configuration #1 chosen from 1 choice Feb 13 13:11:16 rainbow kernel: [ 372.196265] at76c50x_usb: `0xb002c001' invalid for parameter `debug' Feb 13 13:14:42 rainbow kernel: [ 578.488148] usb 3-2: USB disconnect, address 2 Feb 13 13:14:46 rainbow kernel: [ 582.232074] usb 3-2: new full speed USB device using uhci_hcd and address 3 Feb 13 13:14:46 rainbow kernel: [ 582.381458] usb 3-2: configuration #1 chosen from 1 choice Feb 13 13:14:46 rainbow kernel: [ 582.441646] Atmel at76x USB Wireless LAN Driver 0.17 loading Feb 13 13:14:46 rainbow kernel: [ 582.441711] usb 3-2: firmware: requesting atmel_at76c503-i3861.bin Feb 13 13:14:46 rainbow kernel: [ 582.500287] usb 3-2: using firmware atmel_at76c503-i3861.bin (version 0.90.0-44) Feb 13 13:14:46 rainbow kernel: [ 582.515108] phy2: Selected rate control algorithm 'minstrel' Feb 13 13:14:46 rainbow kernel: [ 582.517798] phy2: USB 3-2:1.0, MAC 00:06:25:00:6a:7a, firmware 0.90.0-2 Feb 13 13:14:46 rainbow kernel: [ 582.517804] phy2: regulatory domain 0x10: FCC (USA) Feb 13 13:14:46 rainbow kernel: [ 582.517858] usbcore: registered new interface driver at76c50x-usb Feb 13 13:14:46 rainbow kernel: [ 582.530931] udev: renamed network
interface wlan0 to wlan3
Quoted 12 lines · Jason Andryuk
Quoted 11 lines
I have been testing this for few hours now on ubuntu 8.10 with networkmanager. With iperf I got this warning in some cases:
phy0:
at76_mac80211_txcalled while tx urb is pendingAlso sometimes first association attempt failed and a second attempt was needed, but otherwise the driver seems to be usable, at least for me. The device I used for testing:
Bus 002 Device 006: ID 050d:0050 Belkin Components F5D6050 802.11b Wireless Adapter
Quoted 7 lines
After applying the patch to wireless-testing master-2009-02-11, I tried it out to poor results.
Attaching my Linksys WUSB11 results in an Oops. Unfortunately, 2.6.29-rc4 has problems with my e1000e, so I cannot set up a netconsole. I will continue to investigate, but all I have for now is the below logs.
Thanks for testing. I see also oopses now and I'm looking at your patches.
Signature · 1 line
Kalle Valo