Re: rt73usb: support for wireless in Kohjinsha subnotebook

From: Dan Williams
Date: Mon Oct 22 2007 - 11:45:46 EST


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
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/