提交 55ad5962 编写于 作者: R Rafał Miłecki 提交者: John W. Linville

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

We don't want to report random quality info (new PHYs are affected).
Signed-off-by: NRafał Miłecki <zajec5@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 73a253ca
......@@ -735,11 +735,13 @@ 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),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册