Lines Matching refs:rxdesc
599 struct rxdone_entry_desc *rxdesc) in rt2x00lib_rxdone_check_ba() argument
607 if (rxdesc->size < sizeof(*ba) + FCS_LEN) in rt2x00lib_rxdone_check_ba()
643 struct rxdone_entry_desc *rxdesc) in rt2x00lib_rxdone_check_ps() argument
663 if (!(rxdesc->dev_flags & RXDONE_MY_BSS) || in rt2x00lib_rxdone_check_ps()
692 struct rxdone_entry_desc *rxdesc) in rt2x00lib_rxdone_read_signal() argument
697 int signal = rxdesc->signal; in rt2x00lib_rxdone_read_signal()
698 int type = (rxdesc->dev_flags & RXDONE_SIGNAL_MASK); in rt2x00lib_rxdone_read_signal()
700 switch (rxdesc->rate_mode) { in rt2x00lib_rxdone_read_signal()
707 if (rxdesc->dev_flags & RXDONE_SIGNAL_MCS) in rt2x00lib_rxdone_read_signal()
708 signal = RATE_MCS(rxdesc->rate_mode, signal); in rt2x00lib_rxdone_read_signal()
733 rxdesc->rate_mode, signal, type); in rt2x00lib_rxdone_read_signal()
740 struct rxdone_entry_desc rxdesc; in rt2x00lib_rxdone() local
769 memset(&rxdesc, 0, sizeof(rxdesc)); in rt2x00lib_rxdone()
770 rt2x00dev->ops->lib->fill_rxdone(entry, &rxdesc); in rt2x00lib_rxdone()
776 if (unlikely(rxdesc.size == 0 || in rt2x00lib_rxdone()
777 rxdesc.size > entry->queue->data_size)) { in rt2x00lib_rxdone()
779 rxdesc.size, entry->queue->data_size); in rt2x00lib_rxdone()
796 if ((rxdesc.dev_flags & RXDONE_CRYPTO_IV) && in rt2x00lib_rxdone()
797 (rxdesc.flags & RX_FLAG_IV_STRIPPED)) in rt2x00lib_rxdone()
799 &rxdesc); in rt2x00lib_rxdone()
801 (rxdesc.size > header_length) && in rt2x00lib_rxdone()
802 (rxdesc.dev_flags & RXDONE_L2PAD)) in rt2x00lib_rxdone()
806 skb_trim(entry->skb, rxdesc.size); in rt2x00lib_rxdone()
811 rate_idx = rt2x00lib_rxdone_read_signal(rt2x00dev, &rxdesc); in rt2x00lib_rxdone()
812 if (rxdesc.rate_mode == RATE_MODE_HT_MIX || in rt2x00lib_rxdone()
813 rxdesc.rate_mode == RATE_MODE_HT_GREENFIELD) in rt2x00lib_rxdone()
814 rxdesc.encoding = RX_ENC_HT; in rt2x00lib_rxdone()
820 rt2x00lib_rxdone_check_ps(rt2x00dev, entry->skb, &rxdesc); in rt2x00lib_rxdone()
826 rt2x00lib_rxdone_check_ba(rt2x00dev, entry->skb, &rxdesc); in rt2x00lib_rxdone()
831 rt2x00link_update_stats(rt2x00dev, entry->skb, &rxdesc); in rt2x00lib_rxdone()
832 rt2x00debug_update_crypto(rt2x00dev, &rxdesc); in rt2x00lib_rxdone()
848 rx_status->mactime = rxdesc.timestamp; in rt2x00lib_rxdone()
852 rx_status->signal = rxdesc.rssi; in rt2x00lib_rxdone()
853 rx_status->flag = rxdesc.flags; in rt2x00lib_rxdone()
854 rx_status->enc_flags = rxdesc.enc_flags; in rt2x00lib_rxdone()
855 rx_status->encoding = rxdesc.encoding; in rt2x00lib_rxdone()
856 rx_status->bw = rxdesc.bw; in rt2x00lib_rxdone()