ath10k: rework legacy rx rate decoding
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 30 Mar 2015 06:51:56 +0000 (09:51 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 30 Mar 2015 12:09:38 +0000 (15:09 +0300)
commit5528e032702be937acdfe8c6395461e0e8acaa85
tree55a73984679f7f8ae0262e441003283ef3101f3b
parentaf00148f63af1b537dd86d46ef468da8e54c3678
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 <michal.kazior@tieto.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
This page took 0.024692 seconds and 5 git commands to generate.