Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 15:22:11 -0500
From:      "Matt Haught" <haughtlists@hotmail.com>
To:        sam@errno.com, freebsd-current@FreeBSD.ORG
Subject:   Re: new wi0 slowness
Message-ID:  <F124dGEhK1GhdB5VdAE00005cd2@hotmail.com>

next in thread | raw e-mail | index | archive | help
Alright, I have disabled IPSec and updated the firmware to read:
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9)

sysctl kern.wi_txerate=0 gives: sysctl: unknown oid 'kern.wi_txerate'

I reran my test and I am still transfering at ~870Kb/s.  netstat -i -I wi0 
shows this after the transfers:
Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs  
Coll
wi0    1500 <Link#1>      00:05:5d:fa:0e:b0    29847     0    53331    59   
557
wi0    1500 192.168.168   wifi                    59     -    52085     -    
  -

Here is something odd that I found: I set the mediaopt to adhoc in rc.conf 
and rebooted again, and here is what I found (I was not sure how to clear 
the counters that you wanted in netstat so I rebooted):

The same files transfer at ~5600Kb/s, so its back where it was with the old 
driver.  Here is netstat -i again after this run:

Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs  
Coll
wi0    1500 <Link#1>      00:05:5d:fa:0e:b0    27497     0    51230    13   
452
wi0    1500 192.168.168   wifi                    61     -    51200     -    
  -

So there are 4 times more Oerrs in hostap mode (59 to 13), and just a few 
more collisions.

I almost forgot, here are ifconfig wi0 outputs:
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.168.1 netmask 0xffffff00 broadcast 192.168.168.255
        ether 00:05:5d:fa:0e:b0
        media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (DS/2Mbps 
<host
ap>)
        status: associated
        ssid HaughtDom 1:HaughtDom
        stationname "FreeBSD WaveLAN/IEEE node"
        channel 3 authmode OPEN powersavemode OFF powersavesleep 100
        wepmode OFF weptxkey 1

and with adhoc:
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.168.1 netmask 0xffffff00 broadcast 192.168.168.255
        ether 00:05:5d:fa:0e:b0
        media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (DS/11Mbps 
<adho
c>)
        status: associated
        ssid HaughtDom 1:HaughtDom
        stationname "FreeBSD WaveLAN/IEEE node"
        channel 3 authmode OPEN powersavemode OFF powersavesleep 100
        wepmode OFF weptxkey 1

I can also start a transfer test in hostap mode (~670Kb/s) and use ifconfig 
to switch over to adhoc, and after a second or two while my laptop switches 
over, it transfers at ~5600Kb/s.  I don't use wicontrol at all.  My transfer 
test is just 67MB of mp3s off the fbsd machine.  If you need any more info, 
just drop me a message.

--Matt

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F124dGEhK1GhdB5VdAE00005cd2>