mac80211: ath10k: increase rx buffer size to 2048
authorLinus Lüssing <ll@simonwunderlich.de>
Wed, 5 Feb 2020 19:10:43 +0000 (20:10 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 4 May 2020 22:05:26 +0000 (00:05 +0200)
commit005adba9393b460172ba3c4267ff0acced68921e
treecee7e35ba1ed4073f75680962f5038ff36268a24
parent0974d59b5f1808a0748b5611d8943c72027f72ff
mac80211: 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>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
(cherry picked from commit 066ec97167e49b5c037b04dc4ec76c4cad5b75e2)
package/kernel/mac80211/patches/ath/922-ath10k-increase-rx-buffer-size-to-2048.patch [new file with mode: 0644]