Search Linux Wireless

Re: mac80211 -- My log files are filling up with: "wlan0: RX non-WEP frame, but expected encryption"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 03, 2008 at 04:01:53PM +0200, Johannes Berg wrote:

> > > My log files are filling up with these messages:
> > >        [ 8722.198929] wlan0: RX non-WEP frame, but expected encryption
> > >        [ 8726.506345] __ratelimit: 14 messages suppressed

Is the network using WEP or TKIP/CCMP?

> Ok, I got packets from Miles, and this is what I found:
> 
> IEEE 802.11 Data, Flags: ......F.
>     Type/Subtype: Data (0x20)
>     Frame Control: 0x0208 (Normal)
>     Duration: 44
>     Destination address: <his STA MAC>
>     BSS Id: <his Netgear AP>
>     Source address: <his Netgear AP>
>     Fragment number: 0
>     Sequence number: 3874
> Logical-Link Control
>     DSAP: NULL LSAP (0x00)
> Data (1472 bytes)
> 0000  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
> * all zeroes

> Note how the LLC header is also all-zeroes. Also note how the duration
> field is totally bogus. The sequence number is actually correct.

What's wrong with the duration field value? The dump here does not
indicate which transmit rate was used, so I don't know what TX rate the
ACK would use, but 44 sounds like a reasonable duration value for
802.11g rates..

> Does anybody have an explanation for that except that the AP software is
> messing it up?

Looks like an interesting AP behavior to me..

> In any case, I suppose the message in question isn't actually necessary.
> I'll make it depend on verbose debugging maybe.

Yes, that sounds reasonable. The AP should not be sending this kind of
crap, but well, what can you do if it does.. In theory, this could also
be showing up in multi-SSID configuration when another SSID is
configured to use unencrypted frames (though, that would cause interop
issues in association for number of clients..).

-- 
Jouni Malinen                                            PGP id EFC895FA
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux