Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac3_mac.c15 __le32 *rxv) in mt76_connac3_mac_decode_he_radiotap_ru() argument
17 u32 ru = le32_get_bits(rxv[0], MT_PRXV_HE_RU_ALLOC), offs = 0; in mt76_connac3_mac_decode_he_radiotap_ru()
58 mt76_connac3_mac_decode_he_mu_radiotap(struct sk_buff *skb, __le32 *rxv) in mt76_connac3_mac_decode_he_mu_radiotap() argument
81 le32_get_bits(rxv[4], MT_CRXV_HE_NUM_USER)); in mt76_connac3_mac_decode_he_mu_radiotap()
83 he_mu->ru_ch1[0] = le32_get_bits(rxv[16], MT_CRXV_HE_RU0) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap()
87 he_mu->ru_ch2[0] = le32_get_bits(rxv[16], MT_CRXV_HE_RU1) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap()
93 he_mu->ru_ch1[1] = le32_get_bits(rxv[16], MT_CRXV_HE_RU2) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap()
95 ru_l = le32_get_bits(rxv[16], MT_CRXV_HE_RU3_L); in mt76_connac3_mac_decode_he_mu_radiotap()
96 ru_h = le32_get_bits(rxv[17], MT_CRXV_HE_RU3_H) & 0x7; in mt76_connac3_mac_decode_he_mu_radiotap()
101 void mt76_connac3_mac_decode_he_radiotap(struct sk_buff *skb, __le32 *rxv, in mt76_connac3_mac_decode_he_radiotap() argument
[all …]
H A Dmt76_connac_mac.c755 __le32 *rxv) in mt76_connac2_mac_decode_he_radiotap_ru() argument
760 ru_l = le32_get_bits(rxv[0], MT_PRXV_HE_RU_ALLOC_L); in mt76_connac2_mac_decode_he_radiotap_ru()
761 ru_h = le32_get_bits(rxv[1], MT_PRXV_HE_RU_ALLOC_H); in mt76_connac2_mac_decode_he_radiotap_ru()
803 __le32 *rxv) in mt76_connac2_mac_decode_he_mu_radiotap() argument
833 le32_get_bits(rxv[2], MT_CRXV_HE_NUM_USER)); in mt76_connac2_mac_decode_he_mu_radiotap()
835 he_mu->ru_ch1[0] = le32_get_bits(rxv[3], MT_CRXV_HE_RU0); in mt76_connac2_mac_decode_he_mu_radiotap()
840 le32_get_bits(rxv[3], MT_CRXV_HE_RU1); in mt76_connac2_mac_decode_he_mu_radiotap()
845 le32_get_bits(rxv[3], MT_CRXV_HE_RU2); in mt76_connac2_mac_decode_he_mu_radiotap()
847 le32_get_bits(rxv[3], MT_CRXV_HE_RU3); in mt76_connac2_mac_decode_he_mu_radiotap()
853 __le32 *rxv, u32 mode) in mt76_connac2_mac_decode_he_radiotap() argument
[all …]
H A Dmt76_connac.h415 __le32 *rxv, u32 mode);
421 __le32 *rxv, u8 *mode);
429 void mt76_connac3_mac_decode_he_radiotap(struct sk_buff *skb, __le32 *rxv,
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dmac.c179 __le32 *rxv = NULL, *rxd = (__le32 *)skb->data; in mt7921_mac_fill_rx() local
339 rxv = rxd; in mt7921_mac_fill_rx()
344 v0 = le32_to_cpu(rxv[0]); in mt7921_mac_fill_rx()
345 v1 = le32_to_cpu(rxv[1]); in mt7921_mac_fill_rx()
351 rxv, &mode); in mt7921_mac_fill_rx()
360 rxv = rxd; in mt7921_mac_fill_rx()
364 v1 = le32_to_cpu(rxv[0]); in mt7921_mac_fill_rx()
439 if (rxv && mode >= MT_PHY_TYPE_HE_SU && !(status->flag & RX_FLAG_8023)) in mt7921_mac_fill_rx()
440 mt76_connac2_mac_decode_he_radiotap(&dev->mt76, skb, rxv, mode); in mt7921_mac_fill_rx()
H A Dmt7921.h98 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) argument
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmac.c288 __le32 *rxv = NULL; in mt7915_mac_fill_rx() local
450 rxv = rxd; in mt7915_mac_fill_rx()
455 v0 = le32_to_cpu(rxv[0]); in mt7915_mac_fill_rx()
456 v1 = le32_to_cpu(rxv[1]); in mt7915_mac_fill_rx()
476 sband, rxv, &mode); in mt7915_mac_fill_rx()
553 if (rxv && mode >= MT_PHY_TYPE_HE_SU && !(status->flag & RX_FLAG_8023)) in mt7915_mac_fill_rx()
554 mt76_connac2_mac_decode_he_radiotap(&dev->mt76, skb, rxv, mode); in mt7915_mac_fill_rx()
574 __le32 *rxv = rxd + 4; in mt7915_mac_fill_rx_vector() local
588 rcpi = le32_to_cpu(rxv[6]); in mt7915_mac_fill_rx_vector()
589 ib_rssi = le32_to_cpu(rxv[7]); in mt7915_mac_fill_rx_vector()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmac.c349 __le32 *rxv, u8 *mode) in mt7996_mac_fill_rx_rate() argument
356 v0 = le32_to_cpu(rxv[0]); in mt7996_mac_fill_rx_rate()
357 v2 = le32_to_cpu(rxv[2]); in mt7996_mac_fill_rx_rate()
461 __le32 *rxv = NULL; in mt7996_mac_fill_rx() local
622 rxv = rxd; in mt7996_mac_fill_rx()
627 v3 = le32_to_cpu(rxv[3]); in mt7996_mac_fill_rx()
642 ret = mt7996_mac_fill_rx_rate(dev, status, sband, rxv, &mode); in mt7996_mac_fill_rx()
714 if (rxv && mode >= MT_PHY_TYPE_HE_SU && !(status->flag & RX_FLAG_8023)) in mt7996_mac_fill_rx()
715 mt76_connac3_mac_decode_he_radiotap(skb, rxv, mode); in mt7996_mac_fill_rx()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmac.c23 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) argument
220 static void mt7615_mac_fill_tm_rx(struct mt7615_phy *phy, __le32 *rxv) in mt7615_mac_fill_tm_rx() argument
223 u32 rxv1 = le32_to_cpu(rxv[0]); in mt7615_mac_fill_tm_rx()
224 u32 rxv3 = le32_to_cpu(rxv[2]); in mt7615_mac_fill_tm_rx()
225 u32 rxv4 = le32_to_cpu(rxv[3]); in mt7615_mac_fill_tm_rx()
226 u32 rxv5 = le32_to_cpu(rxv[4]); in mt7615_mac_fill_tm_rx()