Search Linux Wireless

Re: rtl8187 in Toshiba L300 linux troubles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <http://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.

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 <Larry.Finger@xxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux