From: Greg Kroah-Hartman Date: Tue, 27 Oct 2015 02:15:24 +0000 (+0900) Subject: 4.1-stable patches X-Git-Tag: v3.10.93~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d7c9876dc291db35ecba1d0285964c63461a738b;p=thirdparty%2Fkernel%2Fstable-queue.git 4.1-stable patches added patches: ath9k-declare-required-extra-tx-headroom.patch --- diff --git a/queue-4.1/ath9k-declare-required-extra-tx-headroom.patch b/queue-4.1/ath9k-declare-required-extra-tx-headroom.patch new file mode 100644 index 00000000000..16272ae0a0e --- /dev/null +++ b/queue-4.1/ath9k-declare-required-extra-tx-headroom.patch @@ -0,0 +1,31 @@ +From 029cd0370241641eb70235d205aa0b90c84dce44 Mon Sep 17 00:00:00 2001 +From: Felix Fietkau +Date: Thu, 24 Sep 2015 16:59:46 +0200 +Subject: ath9k: declare required extra tx headroom + +From: Felix Fietkau + +commit 029cd0370241641eb70235d205aa0b90c84dce44 upstream. + +ath9k inserts padding between the 802.11 header and the data area (to +align it). Since it didn't declare this extra required headroom, this +led to some nasty issues like randomly dropped packets in some setups. + +Signed-off-by: Felix Fietkau +Signed-off-by: Kalle Valo +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/net/wireless/ath/ath9k/init.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/net/wireless/ath/ath9k/init.c ++++ b/drivers/net/wireless/ath/ath9k/init.c +@@ -874,6 +874,7 @@ static void ath9k_set_hw_capab(struct at + hw->max_rate_tries = 10; + hw->sta_data_size = sizeof(struct ath_node); + hw->vif_data_size = sizeof(struct ath_vif); ++ hw->extra_tx_headroom = 4; + + hw->wiphy->available_antennas_rx = BIT(ah->caps.max_rxchains) - 1; + hw->wiphy->available_antennas_tx = BIT(ah->caps.max_txchains) - 1;