diff options
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_xmit.c')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_xmit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c b/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c index c0efbfe605a5..0159e4e93201 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c | |||
@@ -496,15 +496,14 @@ int bcm43xx_rx(struct bcm43xx_private *bcm, | |||
496 | stats.signal = bcm43xx_rssi_postprocess(bcm, rxhdr->rssi, is_ofdm, | 496 | stats.signal = bcm43xx_rssi_postprocess(bcm, rxhdr->rssi, is_ofdm, |
497 | !!(rxflags1 & BCM43xx_RXHDR_FLAGS1_2053RSSIADJ), | 497 | !!(rxflags1 & BCM43xx_RXHDR_FLAGS1_2053RSSIADJ), |
498 | !!(rxflags3 & BCM43xx_RXHDR_FLAGS3_2050RSSIADJ)); | 498 | !!(rxflags3 & BCM43xx_RXHDR_FLAGS3_2050RSSIADJ)); |
499 | //TODO stats.noise = | 499 | stats.noise = bcm->stats.noise; |
500 | if (is_ofdm) | 500 | if (is_ofdm) |
501 | stats.rate = bcm43xx_plcp_get_bitrate_ofdm(plcp); | 501 | stats.rate = bcm43xx_plcp_get_bitrate_ofdm(plcp); |
502 | else | 502 | else |
503 | stats.rate = bcm43xx_plcp_get_bitrate_cck(plcp); | 503 | stats.rate = bcm43xx_plcp_get_bitrate_cck(plcp); |
504 | stats.received_channel = radio->channel; | 504 | stats.received_channel = radio->channel; |
505 | //TODO stats.control = | ||
506 | stats.mask = IEEE80211_STATMASK_SIGNAL | | 505 | stats.mask = IEEE80211_STATMASK_SIGNAL | |
507 | //TODO IEEE80211_STATMASK_NOISE | | 506 | IEEE80211_STATMASK_NOISE | |
508 | IEEE80211_STATMASK_RATE | | 507 | IEEE80211_STATMASK_RATE | |
509 | IEEE80211_STATMASK_RSSI; | 508 | IEEE80211_STATMASK_RSSI; |
510 | if (phy->type == BCM43xx_PHYTYPE_A) | 509 | if (phy->type == BCM43xx_PHYTYPE_A) |