Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36526
b: refs/heads/master
c: b2f206f
h: refs/heads/master
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Sep 25, 2006
1 parent eb281a8 commit 9c91cff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a271ca5bbb1df988806bead8910b603819f4190f
refs/heads/master: b2f206f4a711b0b1e6d3cdca52e919a986aceada
1 change: 0 additions & 1 deletion trunk/drivers/net/wireless/bcm43xx/bcm43xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,6 @@ struct bcm43xx_noise_calculation {
};

struct bcm43xx_stats {
u8 link_quality;
u8 noise;
struct iw_statistics wstats;
/* Store the last TX/RX times here for updating the leds. */
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,15 +496,14 @@ int bcm43xx_rx(struct bcm43xx_private *bcm,
stats.signal = bcm43xx_rssi_postprocess(bcm, rxhdr->rssi, is_ofdm,
!!(rxflags1 & BCM43xx_RXHDR_FLAGS1_2053RSSIADJ),
!!(rxflags3 & BCM43xx_RXHDR_FLAGS3_2050RSSIADJ));
//TODO stats.noise =
stats.noise = bcm->stats.noise;
if (is_ofdm)
stats.rate = bcm43xx_plcp_get_bitrate_ofdm(plcp);
else
stats.rate = bcm43xx_plcp_get_bitrate_cck(plcp);
stats.received_channel = radio->channel;
//TODO stats.control =
stats.mask = IEEE80211_STATMASK_SIGNAL |
//TODO IEEE80211_STATMASK_NOISE |
IEEE80211_STATMASK_NOISE |
IEEE80211_STATMASK_RATE |
IEEE80211_STATMASK_RSSI;
if (phy->type == BCM43xx_PHYTYPE_A)
Expand Down

0 comments on commit 9c91cff

Please sign in to comment.