ath9k: Fix PTK/GTK handshake timeout
PATCH 1/1 ath9k: Fix PTK/GTK handshake timeout
Some APs don't start BA negotiation with the client before it is done with the key handshake in WPA/RSN. With those APs, key handshake times out if EAPOL frames are sent after addba request. So defer the BA negotiation until we are done with tx/rx of all EAPOL frames.
Signed-off-by Vasanthakumar Thiagarajan <[email protected]>
--- drivers/net/wireless/ath9k/rc.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/wireless/ath9k/rc.c +2 -1
@@ -1533,7 +1533,8 @@ static void ath_tx_status(void *priv, struct ieee80211_supported_band *sband, tx_info_priv->tx.ts_longretry);/* Check if aggregation has to be enabled for this tid */ -if (conf_is_ht (&sc->hw->conf)) { +if (conf_is_ht (&sc->hw->conf) && + !(skb->protocol ==cpu_to_be16 (ETH_P_PAE ))) {if (ieee80211_is_data_qos (fc)) {u8 *qc, tid;struct ath_node *an;
Signature · 1 line
1.5.5.1