]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: increase timeout for tx eapol
authorHante Meuleman <meuleman@broadcom.com>
Wed, 17 Feb 2016 10:27:01 +0000 (11:27 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 7 Mar 2016 12:14:55 +0000 (14:14 +0200)
commit6474f31d75ddefe1dbb18bad0d3ed22c11c6a444
treecfe72b3bc6b9f47719ee86ba599d4a978918241c
parentfc97093f117af53139c64c7ffefebc5e5b49263e
brcmfmac: increase timeout for tx eapol

When keys get set and updated this has to happen after eapol got
transmitted (without key or old key) before the key can be updated.
To make sure the order of sending eapol and configuring key is done
correctly a timeout for tx of eapol is applied. This timeout is set
to 50 msec, which is not always enough. Especially in AP mode and
key updates the timeout may need to be much longer because client(s)
can be in powersave. Increase the timeout from 50 to 950 msec.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c