| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | mt76_connac3_mac.c | 18 __le32 *rxv) in mt76_connac3_mac_decode_he_radiotap_ru() argument 20 u32 ru = le32_get_bits(rxv[0], MT_PRXV_HE_RU_ALLOC), offs = 0; in mt76_connac3_mac_decode_he_radiotap_ru() 61 mt76_connac3_mac_decode_he_mu_radiotap(struct sk_buff *skb, __le32 *rxv) in mt76_connac3_mac_decode_he_mu_radiotap() argument 84 le32_get_bits(rxv[4], MT_CRXV_HE_NUM_USER)); in mt76_connac3_mac_decode_he_mu_radiotap() 86 he_mu->ru_ch1[0] = le32_get_bits(rxv[16], MT_CRXV_HE_RU0) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap() 90 he_mu->ru_ch2[0] = le32_get_bits(rxv[16], MT_CRXV_HE_RU1) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap() 96 he_mu->ru_ch1[1] = le32_get_bits(rxv[16], MT_CRXV_HE_RU2) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap() 98 ru_l = le32_get_bits(rxv[16], MT_CRXV_HE_RU3_L); in mt76_connac3_mac_decode_he_mu_radiotap() 99 ru_h = le32_get_bits(rxv[17], MT_CRXV_HE_RU3_H) & 0x7; in mt76_connac3_mac_decode_he_mu_radiotap() 104 void mt76_connac3_mac_decode_he_radiotap(struct sk_buff *skb, __le32 *rxv, in mt76_connac3_mac_decode_he_radiotap() argument [all …]
|
| H A D | mt76_connac_mac.c | 774 __le32 *rxv) in mt76_connac2_mac_decode_he_radiotap_ru() argument 779 ru_l = le32_get_bits(rxv[0], MT_PRXV_HE_RU_ALLOC_L); in mt76_connac2_mac_decode_he_radiotap_ru() 780 ru_h = le32_get_bits(rxv[1], MT_PRXV_HE_RU_ALLOC_H); in mt76_connac2_mac_decode_he_radiotap_ru() 822 __le32 *rxv) in mt76_connac2_mac_decode_he_mu_radiotap() argument 852 le32_get_bits(rxv[2], MT_CRXV_HE_NUM_USER)); in mt76_connac2_mac_decode_he_mu_radiotap() 854 he_mu->ru_ch1[0] = le32_get_bits(rxv[3], MT_CRXV_HE_RU0); in mt76_connac2_mac_decode_he_mu_radiotap() 859 le32_get_bits(rxv[3], MT_CRXV_HE_RU1); in mt76_connac2_mac_decode_he_mu_radiotap() 864 le32_get_bits(rxv[3], MT_CRXV_HE_RU2); in mt76_connac2_mac_decode_he_mu_radiotap() 866 le32_get_bits(rxv[3], MT_CRXV_HE_RU3); in mt76_connac2_mac_decode_he_mu_radiotap() 872 __le32 *rxv, u32 mode) in mt76_connac2_mac_decode_he_radiotap() argument [all …]
|
| H A D | mt76_connac.h | 443 __le32 *rxv, u32 mode); 449 __le32 *rxv, u8 *mode); 457 void mt76_connac3_mac_decode_he_radiotap(struct sk_buff *skb, __le32 *rxv, 459 void mt76_connac3_mac_decode_eht_radiotap(struct sk_buff *skb, __le32 *rxv,
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
| H A D | mac.c | 182 __le32 *rxv = NULL, *rxd = (__le32 *)skb->data; in mt7921_mac_fill_rx() local 340 rxv = rxd; in mt7921_mac_fill_rx() 345 v0 = le32_to_cpu(rxv[0]); in mt7921_mac_fill_rx() 346 v1 = le32_to_cpu(rxv[1]); in mt7921_mac_fill_rx() 352 rxv, &mode); in mt7921_mac_fill_rx() 361 rxv = rxd; in mt7921_mac_fill_rx() 365 v1 = le32_to_cpu(rxv[0]); in mt7921_mac_fill_rx() 440 if (rxv && mode >= MT_PHY_TYPE_HE_SU && !(status->flag & RX_FLAG_8023)) in mt7921_mac_fill_rx() 441 mt76_connac2_mac_decode_he_radiotap(&dev->mt76, skb, rxv, mode); in mt7921_mac_fill_rx()
|
| H A D | mt7921.h | 104 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) argument
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7925/ |
| H A D | mac.c | 252 __le32 *rxv, u8 *mode) in mt7925_mac_fill_rx_rate() argument 259 v0 = le32_to_cpu(rxv[0]); in mt7925_mac_fill_rx_rate() 260 v2 = le32_to_cpu(rxv[2]); in mt7925_mac_fill_rx_rate() 361 __le32 *rxv = NULL, *rxd = (__le32 *)skb->data; in mt7925_mac_fill_rx() local 514 rxv = rxd; in mt7925_mac_fill_rx() 519 v3 = le32_to_cpu(rxv[3]); in mt7925_mac_fill_rx() 534 ret = mt7925_mac_fill_rx_rate(dev, status, sband, rxv, &mode); in mt7925_mac_fill_rx() 598 if (rxv && !(status->flag & RX_FLAG_8023)) { in mt7925_mac_fill_rx() 601 mt76_connac3_mac_decode_eht_radiotap(skb, rxv, mode); in mt7925_mac_fill_rx() 604 mt76_connac3_mac_decode_he_radiotap(skb, rxv, mode); in mt7925_mac_fill_rx()
|
| H A D | mt7925.h | 112 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) argument
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
| H A D | mac.c | 292 __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/mt7615/ |
| H A D | mac.c | 23 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) argument 217 static void mt7615_mac_fill_tm_rx(struct mt7615_phy *phy, __le32 *rxv) in mt7615_mac_fill_tm_rx() argument 220 u32 rxv1 = le32_to_cpu(rxv[0]); in mt7615_mac_fill_tm_rx() 221 u32 rxv3 = le32_to_cpu(rxv[2]); in mt7615_mac_fill_tm_rx() 222 u32 rxv4 = le32_to_cpu(rxv[3]); in mt7615_mac_fill_tm_rx() 223 u32 rxv5 = le32_to_cpu(rxv[4]); in mt7615_mac_fill_tm_rx()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
| H A D | mac.c | 320 __le32 *rxv, u8 *mode) in mt7996_mac_fill_rx_rate() argument 327 v0 = le32_to_cpu(rxv[0]); in mt7996_mac_fill_rx_rate() 328 v2 = le32_to_cpu(rxv[2]); in mt7996_mac_fill_rx_rate() 462 __le32 *rxv = NULL; in mt7996_mac_fill_rx() local 624 rxv = rxd; in mt7996_mac_fill_rx() 629 v3 = le32_to_cpu(rxv[3]); in mt7996_mac_fill_rx() 644 ret = mt7996_mac_fill_rx_rate(dev, status, sband, rxv, &mode); in mt7996_mac_fill_rx() 728 if (rxv && !(status->flag & RX_FLAG_8023)) { in mt7996_mac_fill_rx() 731 mt76_connac3_mac_decode_eht_radiotap(skb, rxv, mode); in mt7996_mac_fill_rx() 734 mt76_connac3_mac_decode_he_radiotap(skb, rxv, mode); in mt7996_mac_fill_rx()
|