bwn0: RX decryption attempted (old 0 keyidx 0x1)

Anton Shterenlikht mexas at bristol.ac.uk
Fri Jun 8 10:55:20 UTC 2012


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


More information about the freebsd-wireless mailing list