Skip to content

Commit

Permalink
Revert "b43: trivial: do not report any link quality instead of inval…
Browse files Browse the repository at this point in the history
…id one"

This reverts commit 55ad596.

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>
  • Loading branch information
Rafał Miłecki authored and John W. Linville committed Oct 14, 2011
1 parent b7a57e7 commit 5b346f3
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions drivers/net/wireless/b43/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,13 +735,11 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr)
}

/* Link quality statistics */
if ((chanstat & B43_RX_CHAN_PHYTYPE) >= B43_PHYTYPE_N) {
/*
s8 rssi = max(rxhdr->power0, rxhdr->power1);
TODO: Find out what the rssi value is (dBm or percentage?)
and also find out what the maximum possible value is.
Fill status.ssi and status.signal fields.
*/
if ((chanstat & B43_RX_CHAN_PHYTYPE) == B43_PHYTYPE_N) {
// s8 rssi = max(rxhdr->power0, rxhdr->power1);
//TODO: Find out what the rssi value is (dBm or percentage?)
// and also find out what the maximum possible value is.
// Fill status.ssi and status.signal fields.
} else {
status.signal = b43_rssi_postprocess(dev, rxhdr->jssi,
(phystat0 & B43_RX_PHYST0_OFDM),
Expand Down

0 comments on commit 5b346f3

Please sign in to comment.