Return-path: Received: from mx1.redhat.com ([66.187.233.31]:44925 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753193AbXJVPpd (ORCPT ); Mon, 22 Oct 2007 11:45:33 -0400 Subject: Re: rt73usb: support for wireless in Kohjinsha subnotebook From: Dan Williams To: Pavel Machek Cc: Luis Correia , kernel list , linux-wireless@vger.kernel.org, rt2400-devel@lists.sourceforge.net, mwallis@serialmonkey.com In-Reply-To: <20071022000919.GB29024@elf.ucw.cz> References: <20071020184100.GA11640@elf.ucw.cz> <20071022000919.GB29024@elf.ucw.cz> Content-Type: text/plain Date: Mon, 22 Oct 2007 11:44:56 -0400 Message-Id: <1193067896.30205.9.camel@localhost.localdomain> (sfid-20071022_164621_041212_81DF6D8C) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 2007-10-22 at 02:09 +0200, Pavel Machek wrote: > Hi! > > > This device is NOT a Ralink USB wifi adapter! > > > > Get the windows driver in this link and see for yourself. > > http://www.conitech.it/conitech/ita/risorse.asp?cod=CN402USB > > (ISSC W89C35 802.11bg WLAN USB Adapters (Native Wifi driver)) > > Thanks a lot. With some patches, I got driver from conitech.it to > compile and partly work on 2.6.23. I can now transmit packets but not > yet receive them. > > (use Makefile.26 instead of Makefile) I couldn't find any license info immediately visible; are you sure it's GPL? Dan > Pavel > > --- hal_142_o.ofic/linux/sysdef.h 2006-11-29 11:12:10.000000000 +0100 > +++ hal_142_o/linux/sysdef.h 2007-10-21 22:21:13.000000000 +0200 > @@ -7,7 +7,7 @@ > // The definition WB_LINUX is a keyword for this OS > //============================================================================= > #define WB_LINUX > -#define WB_LINUX_WPA_PSK > +//#define WB_LINUX_WPA_PSK > //#define _WPA_PSK_DEBUG > > //#define _IBSS_BEACON_SEQ_STICK_ > Only in hal_142_o/linux: w35und.ko > Only in hal_142_o/linux: w35und.mod.c > --- hal_142_o.ofic/linux/wb35reg.c 2006-11-29 11:43:58.000000000 +0100 > +++ hal_142_o/linux/wb35reg.c 2007-10-21 22:19:27.000000000 +0200 > @@ -879,6 +879,7 @@ > if( (pHwData->phy_type == RF_WB_242) || > (pHwData->phy_type == RF_WB_242_1) ) // 20060619.5 Add > { > + extern void phy_calibration_winbond(hw_data_t *phw_data, u32 frequency); > phy_calibration_winbond ( pHwData, 2412 ); // Sync operation > Wb35Reg_ReadSync( pHwData, 0x103c, &BB3c ); > Wb35Reg_ReadSync( pHwData, 0x1054, &BB54 ); > --- hal_142_o.ofic/linux/wbusb.c 2006-11-29 11:02:54.000000000 +0100 > +++ hal_142_o/linux/wbusb.c 2007-10-21 22:16:19.000000000 +0200 > @@ -28,7 +28,6 @@ > }; > #else > static struct usb_driver wb35_driver = { > - .owner = THIS_MODULE, > .name = "w35und", > .probe = wb35_probe, > .disconnect = wb35_disconnect, > --- hal_142_o.ofic/wblinux.c 2006-11-29 10:39:54.000000000 +0100 > +++ hal_142_o/wblinux.c 2007-10-21 23:49:07.000000000 +0200 > @@ -98,7 +98,8 @@ > BufSize = pRxLayer1->BufferQueue[i].BufferSize; > BufAddr = pRxLayer1->BufferQueue[i].pBufferAddress; > //DataDmp(BufAddr, BufSize, 0); > - eth_copy_and_sum( skb, BufAddr, BufSize, 0 ); > + // eth_io_copy_and_sum( skb, BufAddr, BufSize, 0 ); > + skb_copy_from_linear_data(skb, BufAddr, BufSize); > skb_put( skb, BufSize ); > } > > > I wonder if I got skb_copy right...? > Pavel >