relayd: update to the latest version, fixes some issues found by Coverity
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / patches / 332-ath10k-fix-DMA-related-firmware-crashes-on-multiple-.patch
1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Sun, 13 Sep 2015 22:26:10 +0200
3 Subject: [PATCH] ath10k: fix DMA related firmware crashes on multiple devices
4
5 Some platforms really don't like DMA bursts of 256 bytes, and this
6 causes the firmware to crash when sending beacons.
7 Also, changing this based on the firmware version does not seem to make
8 much sense, so use 128 bytes for all versions.
9
10 Cc: stable@vger.kernel.org
11 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
12 ---
13
14 --- a/drivers/net/wireless/ath/ath10k/hw.h
15 +++ b/drivers/net/wireless/ath/ath10k/hw.h
16 @@ -340,7 +340,7 @@ enum ath10k_hw_rate_cck {
17 #define TARGET_10X_MAX_FRAG_ENTRIES 0
18
19 /* 10.2 parameters */
20 -#define TARGET_10_2_DMA_BURST_SIZE 1
21 +#define TARGET_10_2_DMA_BURST_SIZE 0
22
23 /* Target specific defines for WMI-TLV firmware */
24 #define TARGET_TLV_NUM_VDEVS 4
25 @@ -397,7 +397,7 @@ enum ath10k_hw_rate_cck {
26
27 #define TARGET_10_4_TX_DBG_LOG_SIZE 1024
28 #define TARGET_10_4_NUM_WDS_ENTRIES 32
29 -#define TARGET_10_4_DMA_BURST_SIZE 1
30 +#define TARGET_10_4_DMA_BURST_SIZE 0
31 #define TARGET_10_4_MAC_AGGR_DELIM 0
32 #define TARGET_10_4_RX_SKIP_DEFRAG_TIMEOUT_DUP_DETECTION_CHECK 1
33 #define TARGET_10_4_VOW_CONFIG 0