]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: Reduce the WPA key installation time.
authorJavier Cardona <javier@cozybit.com>
Thu, 11 Sep 2008 22:32:50 +0000 (15:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2008 20:48:25 +0000 (16:48 -0400)
commitf0053508612ef6e1620edd84802195bfff88fdac
tree9321ed2597668e02093798e635c4613891f94fcf
parente694a657cdbcac0476069fba361021e414f454ac
libertas: Reduce the WPA key installation time.

WPA requires that the PTK is installed immediately after the 4-way handshake
in order to properly decrypt the subsequent incoming EAPOL-GTK frame.  If the
PTK is not enabled by the time the EAPOL-GTK frame arrives, the frame is
dropped and the supplicant does not receive the group key.

This will happen with fast Access Points that send the EAPOL-GTK frame before
the suplicant has successfully installed and enabled the PTK.  To mitigate
this situation, this patch simplifies and accelerates the SIOCSIWENCODEEXT
execution.

This patch resolves OLPC ticket 7825 (http://dev.laptop.org/ticket/7825)

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/wext.c