aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt61pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index 914aee0ce8ce..4baa916b80cf 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -1645,10 +1645,14 @@ static void rt61pci_fill_rxdone(struct queue_entry *entry,
1645 1645
1646 /* 1646 /*
1647 * Obtain the status about this packet. 1647 * Obtain the status about this packet.
1648 * When frame was received with an OFDM bitrate,
1649 * the signal is the PLCP value. If it was received with
1650 * a CCK bitrate the signal is the rate in 100kbit/s.
1648 */ 1651 */
1652 rxdesc->ofdm = rt2x00_get_field32(word0, RXD_W0_OFDM);
1649 rxdesc->signal = rt2x00_get_field32(word1, RXD_W1_SIGNAL); 1653 rxdesc->signal = rt2x00_get_field32(word1, RXD_W1_SIGNAL);
1654 rxdesc->signal_plcp = rxdesc->ofdm;
1650 rxdesc->rssi = rt61pci_agc_to_rssi(entry->queue->rt2x00dev, word1); 1655 rxdesc->rssi = rt61pci_agc_to_rssi(entry->queue->rt2x00dev, word1);
1651 rxdesc->ofdm = rt2x00_get_field32(word0, RXD_W0_OFDM);
1652 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); 1656 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT);
1653 rxdesc->my_bss = !!rt2x00_get_field32(word0, RXD_W0_MY_BSS); 1657 rxdesc->my_bss = !!rt2x00_get_field32(word0, RXD_W0_MY_BSS);
1654} 1658}