Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/wireless/mediatek/mt7601u/
A Dtrace.h249 TP_ARGS(dev, rxwi, f),
257 __entry->rxwi = *rxwi;
264 le32_to_cpu(__entry->rxwi.rxinfo),
265 le32_to_cpu(__entry->rxwi.ctl),
267 le16_to_cpu(__entry->rxwi.rate),
268 __entry->rxwi.unknown,
269 __entry->rxwi.zero[0], __entry->rxwi.zero[1],
270 __entry->rxwi.zero[2],
271 __entry->rxwi.snr, __entry->rxwi.ant,
272 __entry->rxwi.gain, __entry->rxwi.freq_off,
[all …]
A 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()
A 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()
A 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()
A Dmt7601u.h353 struct mt7601u_rxwi *rxwi, u16 rate);
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A 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()
A Dmt76x02_mac.c775 struct mt76x02_rxwi *rxwi = rxi; in mt76x02_mac_process_rx() local
777 u32 rxinfo = le32_to_cpu(rxwi->rxinfo); in mt76x02_mac_process_rx()
778 u32 ctl = le32_to_cpu(rxwi->ctl); in mt76x02_mac_process_rx()
779 u16 rate = le16_to_cpu(rxwi->rate); in mt76x02_mac_process_rx()
780 u16 tid_sn = le16_to_cpu(rxwi->tid_sn); in mt76x02_mac_process_rx()
781 bool unicast = rxwi->rxinfo & cpu_to_le32(MT_RXINFO_UNICAST); in mt76x02_mac_process_rx()
856 signal = mt76x02_mac_get_rssi(dev, rxwi->rssi[0], 0); in mt76x02_mac_process_rx()
861 rxwi->rssi[1], in mt76x02_mac_process_rx()
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/
A 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()

Completed in 31 milliseconds