* [PATCH 2/2] p54: remove obsolet signal quality calculation
@ 2009-04-11 1:58 Christian Lamparter
0 siblings, 0 replies; only message in thread
From: Christian Lamparter @ 2009-04-11 1:58 UTC (permalink / raw)
To: linux-wireless; +Cc: John W. Linville
The signal quality percentage is now calculated by mac80211 stack.
Signed-off-by: Christian Lamparter <chunkeey@web.de>
---
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
index d57e0ca..c9d564c 100644
--- a/drivers/net/wireless/p54/p54common.c
+++ b/drivers/net/wireless/p54/p54common.c
@@ -958,8 +958,6 @@ static int p54_rx_data(struct ieee80211_hw *dev, struct sk_buff *skb)
rx_status.signal = p54_rssi_to_dbm(dev, hdr->rssi);
rx_status.noise = priv->noise;
- /* XX correct? */
- rx_status.qual = (100 * hdr->rssi) / 127;
if (hdr->rate & 0x10)
rx_status.flag |= RX_FLAG_SHORTPRE;
if (dev->conf.channel->band == IEEE80211_BAND_5GHZ)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-11 1:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-11 1:58 [PATCH 2/2] p54: remove obsolet signal quality calculation Christian Lamparter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).