Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21300
b: refs/heads/master
c: b191608
h: refs/heads/master
v: v3
  • Loading branch information
Bill Moss authored and John W. Linville committed Mar 17, 2006
1 parent 034558c commit 7e6da42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d0be03aeeadcd59bd8f57219817e876a5e88e88
refs/heads/master: b191608a451e75ed7f979cac268f5f423176feb3
7 changes: 4 additions & 3 deletions trunk/drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -7831,7 +7831,8 @@ static void ipw_rx(struct ipw_priv *priv)
le16_to_cpu(pkt->u.frame.rssi_dbm) -
IPW_RSSI_TO_DBM,
.signal =
le16_to_cpu(pkt->u.frame.signal),
le16_to_cpu(pkt->u.frame.rssi_dbm) -
IPW_RSSI_TO_DBM + 0x100,
.noise =
le16_to_cpu(pkt->u.frame.noise),
.rate = pkt->u.frame.rate,
Expand Down Expand Up @@ -8358,7 +8359,7 @@ static int ipw_wx_get_range(struct net_device *dev,
range->max_qual.qual = 100;
/* TODO: Find real max RSSI and stick here */
range->max_qual.level = 0;
range->max_qual.noise = priv->ieee->worst_rssi + 0x100;
range->max_qual.noise = 0;
range->max_qual.updated = 7; /* Updated all three */

range->avg_qual.qual = 70;
Expand Down Expand Up @@ -9568,7 +9569,7 @@ static struct iw_statistics *ipw_get_wireless_stats(struct net_device *dev)
wstats->qual.level = average_value(&priv->average_rssi);
wstats->qual.noise = average_value(&priv->average_noise);
wstats->qual.updated = IW_QUAL_QUAL_UPDATED | IW_QUAL_LEVEL_UPDATED |
IW_QUAL_NOISE_UPDATED;
IW_QUAL_NOISE_UPDATED | IW_QUAL_DBM;

wstats->miss.beacon = average_value(&priv->average_missed_beacons);
wstats->discard.retries = priv->last_tx_failures;
Expand Down

0 comments on commit 7e6da42

Please sign in to comment.