diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-04-28 17:00:52 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-03 14:51:46 -0400 |
commit | 91639c76bfd9d27ac54a3c521a2559d02f409ebe (patch) | |
tree | 8f44a43a88a4ea0c7842b54775ab16695d04ade2 /drivers/net/wireless/rt2x00 | |
parent | 1f55c12cef6d369d76ae13d522edd1c07e667788 (diff) |
rt2x00: remove now unused noise field from struct rxdone_entry_desc
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 2 |
3 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index 0e52f174896c..89281d78f04d 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -895,10 +895,6 @@ static void rt2800pci_fill_rxdone(struct queue_entry *entry, | |||
895 | (rt2x00_get_field32(rxwi2, RXWI_W2_RSSI0) + | 895 | (rt2x00_get_field32(rxwi2, RXWI_W2_RSSI0) + |
896 | rt2x00_get_field32(rxwi2, RXWI_W2_RSSI1)) / 2; | 896 | rt2x00_get_field32(rxwi2, RXWI_W2_RSSI1)) / 2; |
897 | 897 | ||
898 | rxdesc->noise = | ||
899 | (rt2x00_get_field32(rxwi3, RXWI_W3_SNR0) + | ||
900 | rt2x00_get_field32(rxwi3, RXWI_W3_SNR1)) / 2; | ||
901 | |||
902 | rxdesc->size = rt2x00_get_field32(rxwi0, RXWI_W0_MPDU_TOTAL_BYTE_COUNT); | 898 | rxdesc->size = rt2x00_get_field32(rxwi0, RXWI_W0_MPDU_TOTAL_BYTE_COUNT); |
903 | 899 | ||
904 | /* | 900 | /* |
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c index a71615606c37..6f2a945cd45c 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c | |||
@@ -645,10 +645,6 @@ static void rt2800usb_fill_rxdone(struct queue_entry *entry, | |||
645 | (rt2x00_get_field32(rxwi2, RXWI_W2_RSSI0) + | 645 | (rt2x00_get_field32(rxwi2, RXWI_W2_RSSI0) + |
646 | rt2x00_get_field32(rxwi2, RXWI_W2_RSSI1)) / 2; | 646 | rt2x00_get_field32(rxwi2, RXWI_W2_RSSI1)) / 2; |
647 | 647 | ||
648 | rxdesc->noise = | ||
649 | (rt2x00_get_field32(rxwi3, RXWI_W3_SNR0) + | ||
650 | rt2x00_get_field32(rxwi3, RXWI_W3_SNR1)) / 2; | ||
651 | |||
652 | rxdesc->size = rt2x00_get_field32(rxwi0, RXWI_W0_MPDU_TOTAL_BYTE_COUNT); | 648 | rxdesc->size = rt2x00_get_field32(rxwi0, RXWI_W0_MPDU_TOTAL_BYTE_COUNT); |
653 | 649 | ||
654 | /* | 650 | /* |
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index c1e482bb37b3..f519aba4ff0f 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -183,7 +183,6 @@ enum rxdone_entry_desc_flags { | |||
183 | * @timestamp: RX Timestamp | 183 | * @timestamp: RX Timestamp |
184 | * @signal: Signal of the received frame. | 184 | * @signal: Signal of the received frame. |
185 | * @rssi: RSSI of the received frame. | 185 | * @rssi: RSSI of the received frame. |
186 | * @noise: Measured noise during frame reception. | ||
187 | * @size: Data size of the received frame. | 186 | * @size: Data size of the received frame. |
188 | * @flags: MAC80211 receive flags (See &enum mac80211_rx_flags). | 187 | * @flags: MAC80211 receive flags (See &enum mac80211_rx_flags). |
189 | * @dev_flags: Ralink receive flags (See &enum rxdone_entry_desc_flags). | 188 | * @dev_flags: Ralink receive flags (See &enum rxdone_entry_desc_flags). |
@@ -197,7 +196,6 @@ struct rxdone_entry_desc { | |||
197 | u64 timestamp; | 196 | u64 timestamp; |
198 | int signal; | 197 | int signal; |
199 | int rssi; | 198 | int rssi; |
200 | int noise; | ||
201 | int size; | 199 | int size; |
202 | int flags; | 200 | int flags; |
203 | int dev_flags; | 201 | int dev_flags; |