From: Michal Kazior Date: Thu, 26 Sep 2013 07:12:24 +0000 (+0300) Subject: ath10k: align RX frames properly X-Git-Tag: v3.13-rc1~105^2~225^2~25^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d316c79a5dcc13dea8110f0fcf295a17b4b625b;p=pandora-kernel.git ath10k: align RX frames properly Ethernet-like decapping mode leaves IP protocol frame not aligned to 4-byte boundaries. This leads to re-aligning in mac80211 which in turn leads to poor CPU cache behaviour on some machines. Since HW doesn't allow to change payload offset properly the solution is to force HW to decap in Native Wifi mode which always has 24-bytes long 802.11 header (even for QoS frames). This means IP frame is properly aligned in this decap mode. Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed