aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/mac.h
diff options
context:
space:
mode:
authorYanbo Li <yanbol@qca.qualcomm.com>2015-11-12 10:36:10 -0800
committerKalle Valo <kvalo@qca.qualcomm.com>2015-11-16 21:48:53 +0200
commit4b7f353b8026b43e66af475ef2266958ddcfa6eb (patch)
tree725846fdcd8c69785b0121ea072c33f26972dfbf /drivers/net/wireless/ath/ath10k/mac.h
parentath10k: fix peerid configuration in htt tx desc for htt version < 3.4 (diff)
downloadlinux-dev-4b7f353b8026b43e66af475ef2266958ddcfa6eb.tar.xz
linux-dev-4b7f353b8026b43e66af475ef2266958ddcfa6eb.zip
ath10k: fix the wrong RX rate idx report at 11G mode
The RX rate idx is not correct for 11G mode OFDM packet. Because the bitrate table start with CCK index instead of OFDM. Signed-off-by: Yanbo Li <yanbol@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/mac.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/mac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.h b/drivers/net/wireless/ath/ath10k/mac.h
index f5048049b870..53091588090d 100644
--- a/drivers/net/wireless/ath/ath10k/mac.h
+++ b/drivers/net/wireless/ath/ath10k/mac.h
@@ -66,7 +66,7 @@ void ath10k_mac_handle_tx_pause_vdev(struct ath10k *ar, u32 vdev_id,
enum wmi_tlv_tx_pause_action action);
u8 ath10k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,
- u8 hw_rate);
+ u8 hw_rate, bool cck);
u8 ath10k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
u32 bitrate);