Revert "b43: trivial: do not report any link quality instead of invalid one"

This reverts commit 55ad5962e9.

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>
This commit is contained in:
Rafał Miłecki 2011-10-12 23:18:14 +02:00 коммит произвёл John W. Linville
Родитель b7a57e762e
Коммит 5b346f3eb4
1 изменённых файлов: 5 добавлений и 7 удалений

Просмотреть файл

@ -735,13 +735,11 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr)
} }
/* Link quality statistics */ /* Link quality statistics */
if ((chanstat & B43_RX_CHAN_PHYTYPE) >= B43_PHYTYPE_N) { if ((chanstat & B43_RX_CHAN_PHYTYPE) == B43_PHYTYPE_N) {
/* // s8 rssi = max(rxhdr->power0, rxhdr->power1);
s8 rssi = max(rxhdr->power0, rxhdr->power1); //TODO: Find out what the rssi value is (dBm or percentage?)
TODO: Find out what the rssi value is (dBm or percentage?) // and also find out what the maximum possible value is.
and also find out what the maximum possible value is. // Fill status.ssi and status.signal fields.
Fill status.ssi and status.signal fields.
*/
} else { } else {
status.signal = b43_rssi_postprocess(dev, rxhdr->jssi, status.signal = b43_rssi_postprocess(dev, rxhdr->jssi,
(phystat0 & B43_RX_PHYST0_OFDM), (phystat0 & B43_RX_PHYST0_OFDM),