ath10k: fix the wrong RX rate idx report at 11G mode
authorYanbo Li <yanbol@qca.qualcomm.com>
Thu, 12 Nov 2015 18:36:10 +0000 (10:36 -0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 16 Nov 2015 19:48:53 +0000 (21:48 +0200)
commit4b7f353b8026b43e66af475ef2266958ddcfa6eb
tree725846fdcd8c69785b0121ea072c33f26972dfbf
parentd39de9919a0cded8ddb1655441cf403ad5690d6d
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>
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/mac.h