From: Michal Kazior Date: Mon, 30 Mar 2015 06:51:56 +0000 (+0300) Subject: ath10k: rework legacy rx rate decoding X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~34^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5528e032702be937acdfe8c6395461e0e8acaa85;p=pandora-kernel.git ath10k: rework legacy rx rate decoding Instead of using a hacky table and magic values use supported band information advertised to mac80211. This may impact performance a little when dealing with legacy rx rates depending on system architecture. It's probably negligible. This also fixes a highly theoretical corner case when HT/VHT rates weren't reported correctly if channel frequency wasn't known. Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed