Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wlcore: send EAPOL frames with voice priority

Send EAPOL frames with voice priority by setting (the new)
TX_HW_ATTR_EAPOL_FRAME bit in tx attribute.

Sending EAPOL with voice priority fixes re-key
timeout issues during heavy traffic.

Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Igal Chernobelsky and committed by
John W. Linville
2a5ad92e 028e7243

+5
+4
drivers/net/wireless/ti/wlcore/tx.c
··· 362 362 ieee80211_has_protected(frame_control)) 363 363 tx_attr |= TX_HW_ATTR_HOST_ENCRYPT; 364 364 365 + /* send EAPOL frames as voice */ 366 + if (control->control.flags & IEEE80211_TX_CTRL_PORT_CTRL_PROTO) 367 + tx_attr |= TX_HW_ATTR_EAPOL_FRAME; 368 + 365 369 desc->tx_attr = cpu_to_le16(tx_attr); 366 370 367 371 wlcore_hw_set_tx_desc_csum(wl, desc, skb);
+1
drivers/net/wireless/ti/wlcore/tx.h
··· 37 37 #define TX_HW_ATTR_TX_CMPLT_REQ BIT(12) 38 38 #define TX_HW_ATTR_TX_DUMMY_REQ BIT(13) 39 39 #define TX_HW_ATTR_HOST_ENCRYPT BIT(14) 40 + #define TX_HW_ATTR_EAPOL_FRAME BIT(15) 40 41 41 42 #define TX_HW_ATTR_OFST_SAVE_RETRIES 0 42 43 #define TX_HW_ATTR_OFST_HEADER_PAD 1