Return-path: Received: from mail-bw0-f161.google.com ([209.85.218.161]:56992 "EHLO mail-bw0-f161.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751933AbZBIWdN (ORCPT ); Mon, 9 Feb 2009 17:33:13 -0500 Received: by bwz5 with SMTP id 5so1969679bwz.13 for ; Mon, 09 Feb 2009 14:33:10 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4990AC02.6030703@lwfinger.net> References: <6ad5d99d0902091343v693173f2w61ff60a216bb15e9@mail.gmail.com> <4990AC02.6030703@lwfinger.net> Date: Mon, 9 Feb 2009 22:33:09 +0000 Message-ID: <3ace41890902091433g4c4e0c17n9e01aabc613d5bb6@mail.gmail.com> (sfid-20090209_233317_718956_127A4E31) Subject: Re: rtl8187 in Toshiba L300 linux troubles From: Hin-Tak Leung To: Jorge Munoz Cc: wireless , Larry Finger Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Feb 9, 2009 at 10:19 PM, Larry Finger wrote: > Jorge Munoz wrote: >> I'm a L300 Toshiba user, this laptop has a rtl8187 wifi card (Bus 007 >> Device 003: ID 0bda:8198 Realtek Semiconductor Corp.). >> Running down Ubuntu 8.10 kernel 2.6.27.9-generic based distro >> (www.molinux.info ), wifi does not work >> correctly, it fall down in few minutes. We can improve this behaviour by >> fixing bit rate ($iwconfig wlan0 rate 12M fixed). >> Now there is a new kernel 2.6.27-11-generic. I would like to know if >> there are improvements about this bug. >> All my colleagues from my region (Castilla La Mancha, Spain) have the >> same laptop (28.000 were delivered by spanish goverment). We have >> created a patch to fix the bit rate and I don't know if it's necessary >> maintain it. >> I'll be grateful for your support. That sounds like various things we have worked on recently. Unfortunately you will need to install compat-wireless (see http://linuxwireless.org/), or wait until about 2.6.30 to get some of the improvements. I say go and install compat-wireless and publicise your experience with compat-wireless to your colleagues, and if it does not work, come back. 2.6.27.9 is quite old. > > There have been patches for the RTL8187B in recent kernels that have > been sent to stable; however, I don't follow the updates to Ubuntu > kernels and do not know if they have been applied there. > > The main patch that did the most to improve stability for the rtl8187 > devices was: > > ================ > > commit 2fcbab044a3faf4d4a6e269148dd1f188303b206 > Author: Larry Finger > Date: Fri Jan 23 11:46:32 2009 -0600 > > rtl8187: Add termination packet to prevent stall > > diff --git a/drivers/net/wireless/rtl818x/rtl8187_dev.c > b/drivers/net/wireless/rtl818x/rtl8187_dev.c > index 6ad6bac..22bc07e 100644 > --- a/drivers/net/wireless/rtl818x/rtl8187_dev.c > +++ b/drivers/net/wireless/rtl818x/rtl8187_dev.c > @@ -273,6 +273,7 @@ static int rtl8187_tx(struct ieee80211_hw *dev, > struct sk_buff *skb) > > usb_fill_bulk_urb(urb, priv->udev, usb_sndbulkpipe(priv->udev, ep), > buf, skb->len, rtl8187_tx_cb, skb); > + urb->transfer_flags |= URB_ZERO_PACKET; > usb_anchor_urb(urb, &priv->anchored); > rc = usb_submit_urb(urb, GFP_ATOMIC); > if (rc < 0) { > > > > Larry > > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >