Home
last modified time | relevance | path

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

/drivers/net/wireless/mediatek/mt7601u/
Dtrace.h256 TP_PROTO(struct mt7601u_dev *dev, struct mt7601u_rxwi *rxwi, u32 f),
257 TP_ARGS(dev, rxwi, f),
260 __field_struct(struct mt7601u_rxwi, rxwi)
265 __entry->rxwi = *rxwi;
272 le32_to_cpu(__entry->rxwi.rxinfo),
273 le32_to_cpu(__entry->rxwi.ctl),
274 le16_to_cpu(__entry->rxwi.frag_sn),
275 le16_to_cpu(__entry->rxwi.rate),
276 __entry->rxwi.unknown,
277 __entry->rxwi.zero[0], __entry->rxwi.zero[1],
[all …]
Ddma.c36 mt7601u_rx_skb_from_seg(struct mt7601u_dev *dev, struct mt7601u_rxwi *rxwi, in mt7601u_rx_skb_from_seg() argument
46 true_len = mt76_mac_process_rx(dev, skb, data, rxwi); in mt7601u_rx_skb_from_seg()
54 if (rxwi->rxinfo & cpu_to_le32(MT_RXINFO_L2PAD)) { in mt7601u_rx_skb_from_seg()
88 struct mt7601u_rxwi *rxwi; in mt7601u_rx_process_seg() local
100 rxwi = (struct mt7601u_rxwi *) data; in mt7601u_rx_process_seg()
104 if (unlikely(rxwi->zero[0] || rxwi->zero[1] || rxwi->zero[2])) in mt7601u_rx_process_seg()
109 trace_mt_rx(dev, rxwi, fce_info); in mt7601u_rx_process_seg()
111 skb = mt7601u_rx_skb_from_seg(dev, rxwi, data, seg_len, truesize, p); in mt7601u_rx_process_seg()
Dmac.c435 mt7601u_rx_monitor_beacon(struct mt7601u_dev *dev, struct mt7601u_rxwi *rxwi, in mt7601u_rx_monitor_beacon() argument
438 dev->bcn_freq_off = rxwi->freq_off; in mt7601u_rx_monitor_beacon()
456 struct mt7601u_rxwi *rxwi = rxi; in mt76_mac_process_rx() local
457 u32 len, ctl = le32_to_cpu(rxwi->ctl); in mt76_mac_process_rx()
458 u16 rate = le16_to_cpu(rxwi->rate); in mt76_mac_process_rx()
465 if (rxwi->rxinfo & cpu_to_le32(MT_RXINFO_DECRYPT)) { in mt76_mac_process_rx()
471 rssi = mt7601u_phy_get_rssi(dev, rxwi, rate); in mt76_mac_process_rx()
480 mt7601u_rx_monitor_beacon(dev, rxwi, rate, rssi); in mt76_mac_process_rx()
481 else if (rxwi->rxinfo & cpu_to_le32(MT_RXINFO_U2M)) in mt76_mac_process_rx()
Dphy.c240 struct mt7601u_rxwi *rxwi, u16 rate) in mt7601u_phy_get_rssi() argument
253 int aux_lna = MT76_GET(MT_RXWI_ANT_AUX_LNA, rxwi->ant); in mt7601u_phy_get_rssi()
254 int lna_id = MT76_GET(MT_RXWI_GAIN_RSSI_LNA_ID, rxwi->gain); in mt7601u_phy_get_rssi()
262 val -= MT76_GET(MT_RXWI_GAIN_RSSI_VAL, rxwi->gain); in mt7601u_phy_get_rssi()
Dmt7601u.h357 struct mt7601u_rxwi *rxwi, u16 rate);
/drivers/net/wireless/rt2x00/
Drt2800lib.c816 __le32 *rxwi = (__le32 *) entry->skb->data; in rt2800_process_rxwi() local
819 rt2x00_desc_read(rxwi, 0, &word); in rt2800_process_rxwi()
824 rt2x00_desc_read(rxwi, 1, &word); in rt2800_process_rxwi()
845 rt2x00_desc_read(rxwi, 2, &word); in rt2800_process_rxwi()