Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2012 11:55:12 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: bwn0: RX decryption attempted (old 0 keyidx 0x1)
Message-ID:  <20120608105512.GA12251@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <CAJ-Vmo=1gt8TYsv77CaLu0NkpJEVjzpZ2E8VUD5wKdBzLjxtcA@mail.gmail.com>
References:  <20120601075848.GA99316@mech-cluster241.men.bris.ac.uk> <CAJ-Vmo=1gt8TYsv77CaLu0NkpJEVjzpZ2E8VUD5wKdBzLjxtcA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 01, 2012 at 04:10:18PM -0700, Adrian Chadd wrote:
> Hi,
> 
> I had a quick check. It doesn't look like BWN_RX_MAC_DEC is actually
> an error? MAC_DECERR is much more likely an error.
> 
> Just comment that printf out?

I'm sorry, I don't understand you.

I guess you refer to this fragment:

GEN8> grep -C3 decry /usr/src/sys/dev/bwn/if_bwn.c 

        if (macstat & BWN_RX_MAC_DEC && rx_mac_dec_rpt++ < 50)
                device_printf(sc->sc_dev,
                    "RX decryption attempted (old %d keyidx %#x)\n",
                    BWN_ISOLDFMT(mac),
                    (macstat & BWN_RX_MAC_KEYIDX) >> BWN_RX_MAC_KEYIDX_SHIFT);

GEN8> 

but I can't see MAC_DECERR here.

Anyway, are you saying there is some error occuring,
or are you saying it's a false positive?

Many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120608105512.GA12251>