On Aug 15, 2008, at 3:37 AM, Kevin Mitchell wrote:

> I get the slighlty disturbing message "wireless event too big"
> whenever I associate with my router at home (Dlink DIR-655) with my
> ar5418 chip that's sitting in one of the PCIe slots of my T60. It does
> not appear to cause any immediately visible problems, but I just
> thought I'd give the developers a heads up in case its indicative of
> something.

This message is most likely caused by mac80211  
ieee80211_sta_send_associnfo() which is sending out information about  
the association request/response frames into user space. There is an  
unfortunately small limit on the maximum length for the type of event  
message that is used here and if the association response have large  
set of information elements in it, I would not be too surprised if  
the limit is reached.

This message is not in any way specific to ath9k since the driver  
itself does not actually send any of the WEXT event messages; they  
are all from mac80211. Anyway, it is safe to ignore that message in  
this case. It is only informing that the association details were not  
actually sent. Sure, it would be nice to get rid of that warning  
message and get the information into user space if there is ever  
going to be need for it.

mac80211 can be made not to try to send too long message to get rid  
of the message, but better workaround would be to convert this custom  
event to use IWEVASSOCREQIE/IWEVASSOCRESPIE which will use binary  
data (double the available IE length). Even that can go beyond the  
limit for WEXT events, but it would be much less likely to do that.  
I'll try to take a look at this in mac80211 at some point.

> This does not appear to happen when I associate on campus or in
> various coffee shops. It might be noted that the DIR-655 is the only
> 11n AP that I have access to, so it might be related to that.

Yes, use of 802.11n is most likely increasing the size of the  
association response frame.

- Jouni

_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to