add p54 driver
Subsystems (3)
PATCH 1/1 add p54 driver
(originally sent to John Linville, forgot to CC netdev..)
Hi,
The attached patch adds support for 3887 based prism54 usb wireless adaptors. It is partially based on the islsm driver by Jean-Baptiste Note, but most of the code is new (and uses d80211 instead of madwifi). It doesn't work perfectly yet, but it can connect to an unsecure AP and send/receive packets as long as you don't hit the tx code too hard. Further hardware support for pci and net2280 usb will follow later. Also, I am unable to make it crash. Thus, it should be in a suitable state for other developers to hack on.
Thanks,
-Michael Wu
p54usb: remove struct pt_regs *
This patch is necessary to compile once the changes from 2.6.19-rc2 are merged.
---
drivers/net/wireless/d80211/p54/prism54usb.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/d80211/p54/prism54usb.c +3 -3
@@ -72,7 +72,7 @@ static struct usb_device_id p54u_table[]MODULE_DEVICE_TABLE (usb, p54u_table); -static void p54u_rx_cb (struct urb *urb,struct pt_regs *regs) +static void p54u_rx_cb (struct urb *urb) {struct sk_buff *skb = (struct sk_buff *) urb->context;struct p54u_priv *priv =ieee80211_dev_hw_data (((struct sk_buff *)urb->context)->dev);
@@ -105,12 +105,12 @@ static void p54u_rx_cb(struct urb *urb,usb_submit_urb (urb,GFP_ATOMIC ); } -static void p54u_tx_cb (struct urb *urb,struct pt_regs *regs) +static void p54u_tx_cb (struct urb *urb) {usb_free_urb (urb); } -static void p54u_tx_free_cb (struct urb *urb,struct pt_regs *regs) +static void p54u_tx_free_cb (struct urb *urb) {kfree (urb->transfer_buffer);usb_free_urb (urb);
Quoted 11 lines · Michael Wu
(originally sent to John Linville, forgot to CC netdev..)
Hi,
The attached patch adds support for 3887 based prism54 usb wireless adaptors. It is partially based on the islsm driver by Jean-Baptiste Note, but most of the code is new (and uses d80211 instead of madwifi). It doesn't work perfectly yet, but it can connect to an unsecure AP and send/receive packets as long as you don't hit the tx code too hard. Further hardware support for pci and net2280 usb will follow later. Also, I am unable to make it crash. Thus, it should be in a suitable state for other developers to hack on.
I'm assuming this is for the softmac prism54 chipset, right?
Dan
Quoted 2 lines
Thanks,
-Michael Wu
Quoted 10 lines · Dan Williams
Quoted 8 lines · Michael Wu
The attached patch adds support for 3887 based prism54 usb wireless adaptors. It is partially based on the islsm driver by Jean-Baptiste Note, but most of the code is new (and uses d80211 instead of madwifi). It doesn't work perfectly yet, but it can connect to an unsecure AP and send/receive packets as long as you don't hit the tx code too hard. Further hardware support for pci and net2280 usb will follow later. Also, I am unable to make it crash. Thus, it should be in a suitable state for other developers to hack on.
Quoted 2 lines
I'm assuming this is for the softmac prism54 chipset, right?
Yes.
-Michael Wu