Bug 140346 - [wlan] High bandwidth use causes loss of wlan connection
Summary: [wlan] High bandwidth use causes loss of wlan connection
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.0-BETA3
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-06 20:00 UTC by Daniel Casner
Modified: 2018-12-18 03:25 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Casner 2009-11-06 20:00:04 UTC
I am using a rum wireless card (Asus WL-167g) wireless card and creating a wlan virtual device from it to connect to a wireless network. This same card worked flawlessly under FreeBSD 7.

The interface associates with wireless networks just fine, however, any time I try to push a large amount of data over the interface, such as writing a 100Mb file over NFS, the connection will die and not be restored.

Setting "wlandebug state+scan" it appears that the wlan device is performing background scans and re-associating correctly, however, the operating system does not resume sending packets over the interface. I can not ping from the wireless device or ping it from the out side after the connection dies.

How-To-Repeat: Set up a wireless connection, here is an example from my rc.conf

wlans_rum0="wlan0"
ifconfig_wlan0="ssid Anybots 10.10.10.27 netmask 255.255.255.0"
defaultrouter="10.10.10.20"

Mount an NFS partition, write a large file over NFS.

The connection is usually lost fairly quickly.


Running:

ifconfig wlan0 down
ifconfig wlan0 up scan

Usually restores the connection, however, continuing to try and push a large amount of bandwidth will cause it to die again.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-11-07 02:42:59 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 Weongyo Jeong 2009-11-08 10:46:04 UTC
On Fri, Nov 06, 2009 at 07:56:14PM +0000, Daniel Casner wrote:
> 
> >Number:         140346
> >Category:       misc
> >Synopsis:       High bandwidth use causes loss of wlan connection
> >Confidential:   no
> >Severity:       critical
> >Priority:       high
> >Responsible:    freebsd-bugs
> >State:          open
> >Quarter:        
> >Keywords:       
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Fri Nov 06 20:00:04 UTC 2009
> >Closed-Date:
> >Last-Modified:
> >Originator:     Daniel Casner
> >Release:        8.0-BETA3
> >Organization:
> Anybots Inc.
> >Environment:
> 8.0-BETA3 FreeBSD 8.0-BETA3 #1: Mon Aug 31 08:58:35 PDT 2009     root@plutonium:/usr/obj/usr/src.RELENG_8/sys/GENERIC  i386
> >Description:
> I am using a rum wireless card (Asus WL-167g) wireless card and creating a wlan virtual device from it to connect to a wireless network. This same card worked flawlessly under FreeBSD 7.
> 
> The interface associates with wireless networks just fine, however, any time I try to push a large amount of data over the interface, such as writing a 100Mb file over NFS, the connection will die and not be restored.
> 
> Setting "wlandebug state+scan" it appears that the wlan device is performing background scans and re-associating correctly, however, the operating system does not resume sending packets over the interface. I can not ping from the wireless device or ping it from the out side after the connection dies.
> >How-To-Repeat:
> Set up a wireless connection, here is an example from my rc.conf
> 
> wlans_rum0="wlan0"
> ifconfig_wlan0="ssid Anybots 10.10.10.27 netmask 255.255.255.0"
> defaultrouter="10.10.10.20"
> 
> Mount an NFS partition, write a large file over NFS.
> 
> The connection is usually lost fairly quickly.
> 
> 
> Running:
> 
> ifconfig wlan0 down
> ifconfig wlan0 up scan
> 
> Usually restores the connection, however, continuing to try and push a large amount of bandwidth will cause it to die again.

It looks it's a known issue and fixed at r198098.  Could you please test
with it?

regards,
Weongyo Jeong
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:05 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 4 Andriy Voskoboinyk freebsd_committer freebsd_triage 2018-12-18 03:25:15 UTC
Fixed in base r198098 (cannot reproduce on recent HEAD).