aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/base.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-12-23 13:12:04 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-12-28 16:19:45 -0500
commit671adc93b6472eaa0142a88d096c945f7b07893a (patch)
treefb30cd3cc5e9fa25815e4eccf13bff4a9e6c6b74 /drivers/net/wireless/ath/ath5k/base.c
parent5e31258945f60dff65952575625cac214a75893e (diff)
downloadkernel_samsung_tuna-671adc93b6472eaa0142a88d096c945f7b07893a.zip
kernel_samsung_tuna-671adc93b6472eaa0142a88d096c945f7b07893a.tar.gz
kernel_samsung_tuna-671adc93b6472eaa0142a88d096c945f7b07893a.tar.bz2
wireless: remove remaining qual code
This removes the remaining users of the rx status 'qual' field and the field itself. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/base.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
index 2a446a9..e63b7c4 100644
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -1903,17 +1903,6 @@ accept:
rxs->noise = sc->ah->ah_noise_floor;
rxs->signal = rxs->noise + rs.rs_rssi;
- /* An rssi of 35 indicates you should be able use
- * 54 Mbps reliably. A more elaborate scheme can be used
- * here but it requires a map of SNR/throughput for each
- * possible mode used */
- rxs->qual = rs.rs_rssi * 100 / 35;
-
- /* rssi can be more than 35 though, anything above that
- * should be considered at 100% */
- if (rxs->qual > 100)
- rxs->qual = 100;
-
rxs->antenna = rs.rs_antenna;
rxs->rate_idx = ath5k_hw_to_driver_rix(sc, rs.rs_rate);
rxs->flag |= ath5k_rx_decrypted(sc, ds, skb, &rs);