Lines Matching refs:mib

82 	struct mt76_mib_stats *mib = &phy->mib;  in mt792x_mac_update_mib_stats()  local
87 mib->fcs_err_cnt += mt76_get_field(dev, MT_MIB_SDR3(0), in mt792x_mac_update_mib_stats()
89 mib->ack_fail_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR3(0), in mt792x_mac_update_mib_stats()
91 mib->ba_miss_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR2(0), in mt792x_mac_update_mib_stats()
93 mib->rts_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR0(0), in mt792x_mac_update_mib_stats()
95 mib->rts_retries_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR1(0), in mt792x_mac_update_mib_stats()
98 mib->tx_ampdu_cnt += mt76_rr(dev, MT_MIB_SDR12(0)); in mt792x_mac_update_mib_stats()
99 mib->tx_mpdu_attempts_cnt += mt76_rr(dev, MT_MIB_SDR14(0)); in mt792x_mac_update_mib_stats()
100 mib->tx_mpdu_success_cnt += mt76_rr(dev, MT_MIB_SDR15(0)); in mt792x_mac_update_mib_stats()
103 mib->tx_pkt_ebf_cnt += FIELD_GET(MT_MIB_SDR9_EBF_CNT_MASK, val); in mt792x_mac_update_mib_stats()
104 mib->tx_pkt_ibf_cnt += FIELD_GET(MT_MIB_SDR9_IBF_CNT_MASK, val); in mt792x_mac_update_mib_stats()
107 mib->tx_bf_ibf_ppdu_cnt += FIELD_GET(MT_ETBF_TX_IBF_CNT, val); in mt792x_mac_update_mib_stats()
108 mib->tx_bf_ebf_ppdu_cnt += FIELD_GET(MT_ETBF_TX_EBF_CNT, val); in mt792x_mac_update_mib_stats()
111 mib->tx_bf_rx_fb_all_cnt += FIELD_GET(MT_ETBF_RX_FB_ALL, val); in mt792x_mac_update_mib_stats()
112 mib->tx_bf_rx_fb_he_cnt += FIELD_GET(MT_ETBF_RX_FB_HE, val); in mt792x_mac_update_mib_stats()
113 mib->tx_bf_rx_fb_vht_cnt += FIELD_GET(MT_ETBF_RX_FB_VHT, val); in mt792x_mac_update_mib_stats()
114 mib->tx_bf_rx_fb_ht_cnt += FIELD_GET(MT_ETBF_RX_FB_HT, val); in mt792x_mac_update_mib_stats()
116 mib->rx_mpdu_cnt += mt76_rr(dev, MT_MIB_SDR5(0)); in mt792x_mac_update_mib_stats()
117 mib->rx_ampdu_cnt += mt76_rr(dev, MT_MIB_SDR22(0)); in mt792x_mac_update_mib_stats()
118 mib->rx_ampdu_bytes_cnt += mt76_rr(dev, MT_MIB_SDR23(0)); in mt792x_mac_update_mib_stats()
119 mib->rx_ba_cnt += mt76_rr(dev, MT_MIB_SDR31(0)); in mt792x_mac_update_mib_stats()
121 for (i = 0; i < ARRAY_SIZE(mib->tx_amsdu); i++) { in mt792x_mac_update_mib_stats()
123 mib->tx_amsdu[i] += val; in mt792x_mac_update_mib_stats()
124 mib->tx_amsdu_cnt += val; in mt792x_mac_update_mib_stats()