Date: Sat, 24 Apr 2010 16:17:55 -0700 From: Weongyo Jeong <weongyo.jeong@gmail.com> To: Gustau P?rez <gperez@entel.upc.edu> Cc: current@freebsd.org Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver Message-ID: <20100424231755.GI65380@weongyo> In-Reply-To: <4BD2201E.3090409@entel.upc.edu> References: <20091223035331.GA1293@weongyo> <4b31cb29.9413f30a.5f4a.ffff8382@mx.google.com> <20100226005115.GP14937@weongyo> <20100227011535.ed3f2486.ray@ddteam.net> <20100228095259.GB3536@weongyo> <20100301103240.3a4aac8a.ray@dlink.ua> <20100303082833.GB22865@weongyo> <20100303111014.6564ea1e.ray@dlink.ua> <20100312231333.GZ1295@weongyo> <4BD2201E.3090409@entel.upc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 24, 2010 at 12:33:02AM +0200, Gustau P?rez wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > En/na Weongyo Jeong ha escrit: > > On Wed, Mar 03, 2010 at 11:10:14AM +0200, Alexandr Rybalko wrote: > >> On Wed, 3 Mar 2010 00:28:33 -0800 > >> Weongyo Jeong <weongyo.jeong@gmail.com> wrote: > > > I've been testing the driver for a few time with AMD64/CURRENT. A > few time ago I started to see messages like : > > bwn0: unsupported rate 0 > > I've checked the code and I found it seems to fail when trying to > check the TX rate at if_bw.c:9561 (in bwn_ieeerate2hwrate > routine the rate parameter is 0). I checked where bwn_ieeerate2hwrate > is called, to see how 'rate' is calculated. This is where I got lost :( > > My AP is FreeBSD 8.0 box with an atheros card. My hostapd works > with both WPA2-PSK and WPA2-EAP (although > I thinks this is not the problem) but with default values for rates > and friends. I then forced my hostapd to use only a subset of transmit > rates (with supported_rates and basic_rates) with no luck. > > My laptop is a DELL D630 with a BCM4310 UART adapter. > > Any need info will be provided and any help will be appreciated. First I think we need to know that where rate == 0 comes from. Rate information on TX could be got from the following points: tp->mgmtrate tp->mcastrate tp->ucastrate ni->ni_txrate Could you please test these variables to narrow this problem down? regards, Weongyo Jeong
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100424231755.GI65380>