mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
ed2015c386
The following patches: * 972-ath10k_fix-crash-due-to-wrong-handling-of-peer_bw_rxnss_override-parameter.patch * 973-ath10k_fix-band_center_freq-handling-for-VHT160-in-recent-firmwares.patch are replaced by this commit in the upstream kernel: * 3db24065c2c8 ("ath10k: enable VHT160 and VHT80+80 modes") The following patches were applied upstream: * 001-rt2800-enable-MFP-support-unconditionally.patch * 090-wireless-Use-linux-stddef.h-instead-of-stddef.h.patch The rtw88 driver is now split into multiple kernel modules, just put it all into one OpenWrt kernel package. rtl8812au-ct was patched to compile against the mac80211 from kernel 5.8, but not runtime tested. Add a patch which fixes ath10k on IPQ40XX, this patch was send upstream and fixes a crash when loading ath10k on this SoC. Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [ipq40xx/ map-ac2200] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
From: Linus Lüssing <ll@simonwunderlich.de>
|
|
Date: Wed, 5 Feb 2020 20:10:43 +0100
|
|
Subject: ath10k: increase rx buffer size to 2048
|
|
|
|
Before, only frames with a maximum size of 1528 bytes could be
|
|
transmitted between two 802.11s nodes.
|
|
|
|
For batman-adv for instance, which adds its own header to each frame,
|
|
we typically need an MTU of at least 1532 bytes to be able to transmit
|
|
without fragmentation.
|
|
|
|
This patch now increases the maxmimum frame size from 1528 to 1656
|
|
bytes.
|
|
|
|
Tested with two ath10k devices in 802.11s mode, as well as with
|
|
batman-adv on top of 802.11s with forwarding disabled.
|
|
|
|
Fix originally found and developed by Ben Greear.
|
|
|
|
Link: https://github.com/greearb/ath10k-ct/issues/89
|
|
Link: https://github.com/greearb/ath10k-ct/commit/9e5ab25027e0971fa24ccf93373324c08c4e992d
|
|
Cc: Ben Greear <greearb@candelatech.com>
|
|
Signed-off-by: Linus Lüssing <ll@simonwunderlich.de>
|
|
|
|
Forwarded: https://patchwork.kernel.org/patch/11367055/
|
|
|
|
--- a/drivers/net/wireless/ath/ath10k/htt.h
|
|
+++ b/drivers/net/wireless/ath/ath10k/htt.h
|
|
@@ -2242,7 +2242,7 @@ struct htt_rx_chan_info {
|
|
* Should be: sizeof(struct htt_host_rx_desc) + max rx MSDU size,
|
|
* rounded up to a cache line size.
|
|
*/
|
|
-#define HTT_RX_BUF_SIZE 1920
|
|
+#define HTT_RX_BUF_SIZE 2048
|
|
#define HTT_RX_MSDU_SIZE (HTT_RX_BUF_SIZE - (int)sizeof(struct htt_rx_desc))
|
|
|
|
/* Refill a bunch of RX buffers for each refill round so that FW/HW can handle
|