Return-path: Received: from mail.gmx.net ([213.165.64.20]:39769 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757397AbYGNRRd (ORCPT ); Mon, 14 Jul 2008 13:17:33 -0400 Subject: Re: mac80211 : WARN at net/mac80211/rate.h:153 From: Mattias Nissler To: Michael Buesch Cc: Dave Young , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Stefano Brivio In-Reply-To: <200807141614.51628.mb@bu3sch.de> References: <20080714075010.GA3559@darkstar> <200807141614.51628.mb@bu3sch.de> Content-Type: text/plain Date: Mon, 14 Jul 2008 19:17:29 +0200 Message-Id: <1216055849.4435.7.camel@localhost> (sfid-20080714_191800_306683_95BC1A14) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 2008-07-14 at 16:14 +0200, Michael Buesch wrote: > CCing PID guys. > I've seen several people hitting this. What's the meaning of this warning? It basically means the rate control cannot find any rate in local->hw.wiphy->bands[local->hw.conf.channel->band] that is supported by the sta in question. Normally this should not happen. I guess the reason is that the supported rates bits in the sta info are all zero, which would probably be a bug. I haven't seen this here, but I don't use the IBSS code either. To further investigate this, you could the following just before the WARN_ON: printk(KERN_DEBUG "supported rates bitmask: %08x\n", sta->supp_rates[sband->band]); Mattias