Home
last modified time | relevance | path

Searched refs:rxwi (Results 1 – 8 of 8) sorted by relevance

/drivers/net/wireless/mediatek/mt7601u/
Dtrace.h248 TP_PROTO(struct mt7601u_dev *dev, struct mt7601u_rxwi *rxwi, u32 f),
249 TP_ARGS(dev, rxwi, f),
252 __field_struct(struct mt7601u_rxwi, rxwi)
257 __entry->rxwi = *rxwi;
264 le32_to_cpu(__entry->rxwi.rxinfo),
265 le32_to_cpu(__entry->rxwi.ctl),
266 le16_to_cpu(__entry->rxwi.frag_sn),
267 le16_to_cpu(__entry->rxwi.rate),
268 __entry->rxwi.unknown,
269 __entry->rxwi.zero[0], __entry->rxwi.zero[1],
[all …]
Ddma.c28 mt7601u_rx_skb_from_seg(struct mt7601u_dev *dev, struct mt7601u_rxwi *rxwi, in mt7601u_rx_skb_from_seg() argument
38 true_len = mt76_mac_process_rx(dev, skb, data, rxwi); in mt7601u_rx_skb_from_seg()
46 if (rxwi->rxinfo & cpu_to_le32(MT_RXINFO_L2PAD)) { in mt7601u_rx_skb_from_seg()
81 struct mt7601u_rxwi *rxwi; in mt7601u_rx_process_seg() local
93 rxwi = (struct mt7601u_rxwi *) data; in mt7601u_rx_process_seg()
97 if (unlikely(rxwi->zero[0] || rxwi->zero[1] || rxwi->zero[2])) in mt7601u_rx_process_seg()
102 trace_mt_rx(dev, rxwi, fce_info); in mt7601u_rx_process_seg()
104 skb = mt7601u_rx_skb_from_seg(dev, rxwi, data, seg_len, truesize, p); in mt7601u_rx_process_seg()
Dmac.c443 mt7601u_rx_monitor_beacon(struct mt7601u_dev *dev, struct mt7601u_rxwi *rxwi, in mt7601u_rx_monitor_beacon() argument
446 dev->bcn_freq_off = rxwi->freq_off; in mt7601u_rx_monitor_beacon()
464 struct mt7601u_rxwi *rxwi = rxi; in mt76_mac_process_rx() local
465 u32 len, ctl = le32_to_cpu(rxwi->ctl); in mt76_mac_process_rx()
466 u16 rate = le16_to_cpu(rxwi->rate); in mt76_mac_process_rx()
473 if (rxwi->rxinfo & cpu_to_le32(MT_RXINFO_DECRYPT)) { in mt76_mac_process_rx()
483 if (rxwi->rxinfo & cpu_to_le32(MT_RXINFO_PN_LEN)) in mt76_mac_process_rx()
487 rssi = mt7601u_phy_get_rssi(dev, rxwi, rate); in mt76_mac_process_rx()
496 mt7601u_rx_monitor_beacon(dev, rxwi, rate, rssi); in mt76_mac_process_rx()
497 else if (rxwi->rxinfo & cpu_to_le32(MT_RXINFO_U2M)) in mt76_mac_process_rx()
Dphy.c234 struct mt7601u_rxwi *rxwi, u16 rate) in mt7601u_phy_get_rssi() argument
247 int aux_lna = FIELD_GET(MT_RXWI_ANT_AUX_LNA, rxwi->ant); in mt7601u_phy_get_rssi()
248 int lna_id = FIELD_GET(MT_RXWI_GAIN_RSSI_LNA_ID, rxwi->gain); in mt7601u_phy_get_rssi()
256 val -= FIELD_GET(MT_RXWI_GAIN_RSSI_VAL, rxwi->gain); in mt7601u_phy_get_rssi()
Dmt7601u.h353 struct mt7601u_rxwi *rxwi, u16 rate);
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.c778 struct mt76x02_rxwi *rxwi = rxi; in mt76x02_mac_process_rx() local
780 u32 rxinfo = le32_to_cpu(rxwi->rxinfo); in mt76x02_mac_process_rx()
781 u32 ctl = le32_to_cpu(rxwi->ctl); in mt76x02_mac_process_rx()
782 u16 rate = le16_to_cpu(rxwi->rate); in mt76x02_mac_process_rx()
783 u16 tid_sn = le16_to_cpu(rxwi->tid_sn); in mt76x02_mac_process_rx()
784 bool unicast = rxwi->rxinfo & cpu_to_le32(MT_RXINFO_UNICAST); in mt76x02_mac_process_rx()
859 signal = mt76x02_mac_get_rssi(dev, rxwi->rssi[0], 0); in mt76x02_mac_process_rx()
864 rxwi->rssi[1], in mt76x02_mac_process_rx()
Dmt76x02_txrx.c39 void *rxwi = skb->data; in mt76x02_queue_rx_skb() local
47 if (mt76x02_mac_process_rx(dev, skb, rxwi)) { in mt76x02_queue_rx_skb()
/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c900 __le32 *rxwi = (__le32 *) entry->skb->data; in rt2800_process_rxwi() local
903 word = rt2x00_desc_read(rxwi, 0); in rt2800_process_rxwi()
908 word = rt2x00_desc_read(rxwi, 1); in rt2800_process_rxwi()
929 word = rt2x00_desc_read(rxwi, 2); in rt2800_process_rxwi()