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
> (http://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 <[email protected]>
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
On Mon, Feb 9, 2009 at 10:19 PM, Larry Finger <[email protected]> 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
>> (http://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.
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 <[email protected]>
> 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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>