From owner-freebsd-stable@FreeBSD.ORG Thu Jun 1 16:09:52 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6443716A670 for ; Thu, 1 Jun 2006 16:09:52 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 310A943D58 for ; Thu, 1 Jun 2006 16:09:49 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k51G9lcZ031726 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Jun 2006 09:09:48 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <447F114A.2010306@errno.com> Date: Thu, 01 Jun 2006 09:09:46 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5.0.2 (X11/20060508) MIME-Version: 1.0 To: JoaoBR References: <200606010641.52222.joao@matik.com.br> In-Reply-To: <200606010641.52222.joao@matik.com.br> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org Subject: Re: possible ifconfig / wi bug? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 16:09:53 -0000 JoaoBR wrote: > when running a wi device in AP mode all connected clients ar showing up with 1 > Mbit/s connection but are connected with 11Mbit > > Is this a bug? > > Joćo > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS ERP > 00:40:f4:c5:13:b2 4 1 1M 46 150 155 37104 EP 0 > 00:e0:7d:c8:c9:89 5 1 1M 57 150 240 4240 EPB 0 > 00:0e:2e:75:f3:7a 6 1 1M 51 165 137 4624 EP 0 > 00:40:f4:c3:c9:48 8 1 1M 49 150 140 62176 EP 0 > > > wi0: flags=8943 mtu 1500 > ether 00:02:6f:37:4e:46 > media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b > (DS/2Mbps ) > status: associated > ssid frutalnet_1 channel 1 (2412) bssid 00:02:6f:37:4e:46 > stationname AP1 > authmode OPEN privacy MIXED deftxkey 1 > wepkey 1:40-bit > wepkey 2:40-bit > wepkey 3:40-bit > wepkey 4:40-bit powersavemode OFF powersavesleep 100 txpowmax 100 > rtsthreshold 2347 mcastrate 1 fragthreshold 2346 -pureg protmode CTS > -wme -burst ssid HIDE -apbridge dtimperiod 1 bintval 100 > bridge0: flags=8043 mtu 1500 > ether ac:de:48:db:e2:15 > priority 32768 hellotime 2 fwddelay 15 maxage 20 > member: wi0 flags=7 > port 3 priority 128 path cost 55 forwarding > member: re0 flags=3 If I recall correctly the wi driver leaves rate control decisions to the firmware and has no way of knowing what the current tx rate is for each client. There have been patches floating around for a while to do tx rate control in the driver instead (in which case this info would be available) but they were never committed because of reported bugs. It might be time to just commit the code anyway (to HEAD) in order to force the bug(s) to be resolved. Sam