Return-path: Received: from mms3.broadcom.com ([216.31.210.19]:2275 "EHLO MMS3.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932418Ab2DKQwI (ORCPT ); Wed, 11 Apr 2012 12:52:08 -0400 Message-ID: <4F85B6C9.7010003@broadcom.com> (sfid-20120411_185231_081096_2042C18B) Date: Wed, 11 Apr 2012 18:52:25 +0200 From: "Arend van Spriel" MIME-Version: 1.0 To: "Luis R. Rodriguez" , "linux-wireless@vger.kernel.org" , "Michael Green" , "David Quan" , "Henry Ptasinski" , linux-kernel@vger.kernel.org Subject: Re: Problems with regulatory domain support and BCM43224 References: <4F69B604.4030303@broadcom.com> <20120321141916.GA23643@thinkpad-t410> <4F6A1514.9090907@broadcom.com> <20120321181753.GC24075@tux> <20120321193706.GC23643@thinkpad-t410> <20120322002715.GA3709@tux> <20120326193608.GE17126@thinkpad-t410> <20120404024632.GA13090@thinkpad-t410> <20120410162833.GD21994@thinkpad-t410> <4F855A08.6070902@broadcom.com> <20120411133940.GA15854@thinkpad-t410> In-Reply-To: <20120411133940.GA15854@thinkpad-t410> Content-Type: text/plain; charset=iso-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 04/11/2012 03:39 PM, Seth Forshee wrote: > On Wed, Apr 11, 2012 at 12:16:40PM +0200, Arend van Spriel wrote: >> On 04/10/2012 06:28 PM, Seth Forshee wrote: >>>> The patch builds, and kind of works. Scanning seems to be fine; I can >>>>> see all the APs I expect in my area, including the one on a DFS channel >>>>> that I couldn't see previously. I can associate with my 2.4 GHz APs, but >>>>> not the 5 GHz AP. I see timme outs waiting for probe responses, and I'm >>>>> hitting the WARN_ON_ONCE in brcms_c_wait_for_tx_completion(). I haven't >>>>> really debugged this yet -- I thought I'd send out the patch to collect >>>>> comments while I debug. Suggestions of what's causing this are also >>>>> welcome:) >>> This was due to always passing true for the value of mute_tx to >>> brcms_b_set_chanspec() on passive channels. For now I'm just always >>> passing false, which looks like it ought to be okay as we shouldn't have >>> any tx on passive channels unless beacons are seen on the channel. >> >> Yes. I discovered this as well. Actually, I sent out a patch for >> some people to test it. I submitted a slightly different patch to >> John in which tx in unmuted upon receiving a beacon. > > I assume you're talking about this patch? > > http://www.spinics.net/lists/linux-wireless/msg88107.html > > My original changes would mute tx whenever IEEE80211_CHAN_PASSIVE_SCAN > is set for the current channel. I'll try that again with your patch. > That is the one. >>>>> One of the major unresolved issues in the patch is what to do with the >>>>> data in struct locale_mimo_info. The regulatory rules only hold one >>>>> power level. I'm unsure why the brcmsmac implementation differs in this >>>>> regard. Suggestions? >>> This is still one of the largest unsolved issues. I'm probably going to >>> need some advice on how to fill out the txpwr information when >>> regualtory rules external to the driver can be applied. >>> >> >> The power constraints for HT (covered by struct locale_mimo_info) >> are handled differently from non-HT. I have to confirm internally >> whether this is specific for our devices or actually needed to be >> compliant. > > Great, thanks. > No answer on this one yet, but keep you posted. Gr. AvS