Commit 91639c76 authored by John W. Linville's avatar John W. Linville

rt2x00: remove now unused noise field from struct rxdone_entry_desc

Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Acked-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
parent 1f55c12c
...@@ -895,10 +895,6 @@ static void rt2800pci_fill_rxdone(struct queue_entry *entry, ...@@ -895,10 +895,6 @@ static void rt2800pci_fill_rxdone(struct queue_entry *entry,
(rt2x00_get_field32(rxwi2, RXWI_W2_RSSI0) + (rt2x00_get_field32(rxwi2, RXWI_W2_RSSI0) +
rt2x00_get_field32(rxwi2, RXWI_W2_RSSI1)) / 2; rt2x00_get_field32(rxwi2, RXWI_W2_RSSI1)) / 2;
rxdesc->noise =
(rt2x00_get_field32(rxwi3, RXWI_W3_SNR0) +
rt2x00_get_field32(rxwi3, RXWI_W3_SNR1)) / 2;
rxdesc->size = rt2x00_get_field32(rxwi0, RXWI_W0_MPDU_TOTAL_BYTE_COUNT); rxdesc->size = rt2x00_get_field32(rxwi0, RXWI_W0_MPDU_TOTAL_BYTE_COUNT);
/* /*
......
...@@ -645,10 +645,6 @@ static void rt2800usb_fill_rxdone(struct queue_entry *entry, ...@@ -645,10 +645,6 @@ static void rt2800usb_fill_rxdone(struct queue_entry *entry,
(rt2x00_get_field32(rxwi2, RXWI_W2_RSSI0) + (rt2x00_get_field32(rxwi2, RXWI_W2_RSSI0) +
rt2x00_get_field32(rxwi2, RXWI_W2_RSSI1)) / 2; rt2x00_get_field32(rxwi2, RXWI_W2_RSSI1)) / 2;
rxdesc->noise =
(rt2x00_get_field32(rxwi3, RXWI_W3_SNR0) +
rt2x00_get_field32(rxwi3, RXWI_W3_SNR1)) / 2;
rxdesc->size = rt2x00_get_field32(rxwi0, RXWI_W0_MPDU_TOTAL_BYTE_COUNT); rxdesc->size = rt2x00_get_field32(rxwi0, RXWI_W0_MPDU_TOTAL_BYTE_COUNT);
/* /*
......
...@@ -183,7 +183,6 @@ enum rxdone_entry_desc_flags { ...@@ -183,7 +183,6 @@ enum rxdone_entry_desc_flags {
* @timestamp: RX Timestamp * @timestamp: RX Timestamp
* @signal: Signal of the received frame. * @signal: Signal of the received frame.
* @rssi: RSSI of the received frame. * @rssi: RSSI of the received frame.
* @noise: Measured noise during frame reception.
* @size: Data size of the received frame. * @size: Data size of the received frame.
* @flags: MAC80211 receive flags (See &enum mac80211_rx_flags). * @flags: MAC80211 receive flags (See &enum mac80211_rx_flags).
* @dev_flags: Ralink receive flags (See &enum rxdone_entry_desc_flags). * @dev_flags: Ralink receive flags (See &enum rxdone_entry_desc_flags).
...@@ -197,7 +196,6 @@ struct rxdone_entry_desc { ...@@ -197,7 +196,6 @@ struct rxdone_entry_desc {
u64 timestamp; u64 timestamp;
int signal; int signal;
int rssi; int rssi;
int noise;
int size; int size;
int flags; int flags;
int dev_flags; int dev_flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment