ath10k: deduplicate bitrate to rate idx conversion
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:46 +0000 (15:09 +0300)
commit01cebe1c50d43a79de1ee48bd9917c9fbbd3901d
tree42a3b5ab2f6736ab4fd42a661965605016761456
parent5528e032702be937acdfe8c6395461e0e8acaa85
ath10k: deduplicate bitrate to rate idx conversion

It's possible to derive rate index from bitrate
without any additional mapping structures/logic.

This should have little to none impact on
performance since this is only done for management
frames and the previous approach wasn't
particularly optimized.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/mac.h
drivers/net/wireless/ath/ath10k/wmi.c
This page took 0.026534 seconds and 5 git commands to generate.