diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-10-12 17:18:14 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-10-14 14:48:20 -0400 |
commit | 5b346f3eb4b59e00fbaca51637f2cf1df3f47f9d (patch) | |
tree | 0c5f0db1edd56ad9334b2e3f07d38c56b203c621 /drivers/net | |
parent | b7a57e762ecf5d9971549ab3f9eb66b559840e72 (diff) |
Revert "b43: trivial: do not report any link quality instead of invalid one"
This reverts commit 55ad5962e97430c83d51df36fc18865ee4f78c48.
I assumed N is newer than LP, which isn't true. This regressed LP case.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/b43/xmit.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/net/wireless/b43/xmit.c b/drivers/net/wireless/b43/xmit.c index 5f812d1d6d0e..b8de62c22479 100644 --- a/drivers/net/wireless/b43/xmit.c +++ b/drivers/net/wireless/b43/xmit.c | |||
@@ -735,13 +735,11 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr) | |||
735 | } | 735 | } |
736 | 736 | ||
737 | /* Link quality statistics */ | 737 | /* Link quality statistics */ |
738 | if ((chanstat & B43_RX_CHAN_PHYTYPE) >= B43_PHYTYPE_N) { | 738 | if ((chanstat & B43_RX_CHAN_PHYTYPE) == B43_PHYTYPE_N) { |
739 | /* | 739 | // s8 rssi = max(rxhdr->power0, rxhdr->power1); |
740 | s8 rssi = max(rxhdr->power0, rxhdr->power1); | 740 | //TODO: Find out what the rssi value is (dBm or percentage?) |
741 | TODO: Find out what the rssi value is (dBm or percentage?) | 741 | // and also find out what the maximum possible value is. |
742 | and also find out what the maximum possible value is. | 742 | // Fill status.ssi and status.signal fields. |
743 | Fill status.ssi and status.signal fields. | ||
744 | */ | ||
745 | } else { | 743 | } else { |
746 | status.signal = b43_rssi_postprocess(dev, rxhdr->jssi, | 744 | status.signal = b43_rssi_postprocess(dev, rxhdr->jssi, |
747 | (phystat0 & B43_RX_PHYST0_OFDM), | 745 | (phystat0 & B43_RX_PHYST0_OFDM), |