Return-path: Received: from mail-qw0-f46.google.com ([209.85.216.46]:44341 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753710Ab1EQMST convert rfc822-to-8bit (ORCPT ); Tue, 17 May 2011 08:18:19 -0400 Received: by qwk3 with SMTP id 3so206128qwk.19 for ; Tue, 17 May 2011 05:18:18 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Jonas Gorski Date: Tue, 17 May 2011 14:17:58 +0200 Message-ID: (sfid-20110517_141825_034188_C69CB638) Subject: Re: ssb: how did we get special reject bit for SSB rev 2.3? To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: b43-dev , linux-wireless@vger.kernel.org, Michael Buesch , Larry Finger Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2011/5/17 Rafał Miłecki : > W dniu 17 maja 2011 13:32 użytkownik Jonas Gorski > napisał: >> 2011/5/17 Rafał Miłecki : >>> Currently we are using different REJECT bit for SSB rev 2.3: >>> #define  SSB_TMSLOW_REJECT      0x00000002 /* Reject (Standard Backplane) */ >>> #define  SSB_TMSLOW_REJECT_23   0x00000004 /* Reject (Backplane rev 2.3) */ >>> >>> Does anyone know where did we get this from? >> >> Broadcom public sources define it as follows: >> #define SBTML_REJ_MASK          0x0006          /* reject field */ >> #define SBTML_REJ               0x0002          /* reject */ >> #define SBTML_TMPREJ            0x0004          /* temporary reject, >> for error recovery */ >> >>> >>> wl does never use this bit: >> >> It seems neither do the public ssb sources: >> # grep -r 'SBTML_TMPREJ' shared/ | wc -l >> 0 >> # > > Where did you check this? AFAIK wl has only linux_osl.c public > available and brcmsmac does not support SSB at all. Do you find any > references to SBTML_REJ in this "shared/*"? This is from a bcm47xx router GPL tarball (the asus rt-n10 to be specific), but it's also in the brcm80211 drivers: and SBTML_REJ usage: Jonas