Skip to content

Commit e9217b4

Browse files
Hante MeulemanKalle Valo
authored andcommitted
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 <[email protected]> Reviewed-by: Pieter-Paul Giesberts <[email protected]> Signed-off-by: Hante Meuleman <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent d457a44 commit e9217b4

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/broadcom/brcm80211/brcmfmac

1 file changed

+1
-1
lines changed

drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ MODULE_AUTHOR("Broadcom Corporation");
4242
MODULE_DESCRIPTION("Broadcom 802.11 wireless LAN fullmac driver.");
4343
MODULE_LICENSE("Dual BSD/GPL");
4444

45-
#define MAX_WAIT_FOR_8021X_TX msecs_to_jiffies(50)
45+
#define MAX_WAIT_FOR_8021X_TX msecs_to_jiffies(950)
4646

4747
/* AMPDU rx reordering definitions */
4848
#define BRCMF_RXREORDER_FLOWID_OFFSET 0

0 commit comments

Comments
 (0)