]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mac80211: avoid "Wireless Event too big" message for assoc response
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 1 Oct 2008 19:45:02 +0000 (15:45 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Oct 2008 23:37:33 +0000 (19:37 -0400)
commitad788b5e079484aa1d48aa90a3ebd7d954d2e7db
treec1389d037589d21f0f47037ecebe9ec2dd49a8d2
parenteedda3670ea8e6d7649e3c8847759b0a6e532f8d
mac80211: avoid "Wireless Event too big" message for assoc response

The association response IEs are sent to userland with an IWEVCUSTOM
event, which unfortunately is limited to a little more than 100 bytes
of IE information with the encoding used.  Many APs send so much
IE information that this message overflows.  When the IWEVCUSTOM
event is too large, the kernel doesn't send it to userland anyway --
better just not to send it.

An attempt was made by Jouni Malinen to correct this issue by
converting to use IWEVASSOCREQIE and IWEVASSOCRESPIE messages instead
("mac80211: Use IWEVASSOCREQIE instead of IWEVCUSTOM").  Unfortunately,
that caused a problem due to 32-/64-bit interactions on some systems and
was reverted after the 'userland ABI' rule was invoked.  That leaves
us with this option instead of a proper fix, at least until we move
to a cfg80211-based solution.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c