Lines Matching refs:band

344 	status->band = mphy->chandef.chan->band;  in mt7915_mac_fill_rx()
345 if (status->band == NL80211_BAND_5GHZ) in mt7915_mac_fill_rx()
347 else if (status->band == NL80211_BAND_6GHZ) in mt7915_mac_fill_rx()
627 int band; in mt7915_mac_write_txwi_tm() local
656 band = phy->mt76->chandef.chan->band; in mt7915_mac_write_txwi_tm()
657 if (band == NL80211_BAND_2GHZ && !cck) in mt7915_mac_write_txwi_tm()
660 r = &phy->mt76->hw->wiphy->bands[band]->bitrates[rate_idx]; in mt7915_mac_write_txwi_tm()
1165 u8 band = phy->mt76->band_idx; in mt7915_mac_set_timing() local
1167 bool a_band = !(phy->mt76->chandef.chan->band == NL80211_BAND_2GHZ); in mt7915_mac_set_timing()
1176 mt76_set(dev, MT_ARB_SCR(band), in mt7915_mac_set_timing()
1186 mt76_wr(dev, MT_TMAC_ICR1(band), in mt7915_mac_set_timing()
1196 mt76_wr(dev, MT_TMAC_CDTR(band), cck + reg_offset); in mt7915_mac_set_timing()
1197 mt76_wr(dev, MT_TMAC_ODTR(band), ofdm + reg_offset); in mt7915_mac_set_timing()
1198 mt76_wr(dev, MT_TMAC_ICR0(band), in mt7915_mac_set_timing()
1209 mt76_rmw_field(dev, MT_AGG_ACR0(band), MT_AGG_ACR_CFEND_RATE, val); in mt7915_mac_set_timing()
1210 mt76_clear(dev, MT_ARB_SCR(band), in mt7915_mac_set_timing()
1214 void mt7915_mac_enable_nf(struct mt7915_dev *dev, bool band) in mt7915_mac_enable_nf() argument
1218 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_RXTD12(band) : in mt7915_mac_enable_nf()
1219 MT_WF_PHY_RXTD12_MT7916(band); in mt7915_mac_enable_nf()
1224 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_RX_CTRL1(band) : in mt7915_mac_enable_nf()
1225 MT_WF_PHY_RX_CTRL1_MT7916(band); in mt7915_mac_enable_nf()
1713 u8 band = phy->mt76->band_idx; in mt7915_mac_update_stats() local
1716 cnt = mt76_rr(dev, MT_MIB_SDR3(band)); in mt7915_mac_update_stats()
1721 cnt = mt76_rr(dev, MT_MIB_SDR4(band)); in mt7915_mac_update_stats()
1724 cnt = mt76_rr(dev, MT_MIB_SDR5(band)); in mt7915_mac_update_stats()
1727 cnt = mt76_rr(dev, MT_MIB_SDR6(band)); in mt7915_mac_update_stats()
1730 cnt = mt76_rr(dev, MT_MIB_SDR7(band)); in mt7915_mac_update_stats()
1734 cnt = mt76_rr(dev, MT_MIB_SDR8(band)); in mt7915_mac_update_stats()
1738 cnt = mt76_rr(dev, MT_MIB_SDR10(band)); in mt7915_mac_update_stats()
1743 cnt = mt76_rr(dev, MT_MIB_SDR11(band)); in mt7915_mac_update_stats()
1747 cnt = mt76_rr(dev, MT_MIB_SDR12(band)); in mt7915_mac_update_stats()
1750 cnt = mt76_rr(dev, MT_MIB_SDR13(band)); in mt7915_mac_update_stats()
1754 cnt = mt76_rr(dev, MT_MIB_SDR14(band)); in mt7915_mac_update_stats()
1759 cnt = mt76_rr(dev, MT_MIB_SDR15(band)); in mt7915_mac_update_stats()
1764 cnt = mt76_rr(dev, MT_MIB_SDR16(band)); in mt7915_mac_update_stats()
1768 cnt = mt76_rr(dev, MT_MIB_SDR17(band)); in mt7915_mac_update_stats()
1772 cnt = mt76_rr(dev, MT_MIB_SDR18(band)); in mt7915_mac_update_stats()
1776 cnt = mt76_rr(dev, MT_MIB_SDR19(band)); in mt7915_mac_update_stats()
1779 cnt = mt76_rr(dev, MT_MIB_SDR20(band)); in mt7915_mac_update_stats()
1783 cnt = mt76_rr(dev, MT_MIB_SDR21(band)); in mt7915_mac_update_stats()
1787 cnt = mt76_rr(dev, MT_MIB_SDR22(band)); in mt7915_mac_update_stats()
1790 cnt = mt76_rr(dev, MT_MIB_SDR23(band)); in mt7915_mac_update_stats()
1793 cnt = mt76_rr(dev, MT_MIB_SDR24(band)); in mt7915_mac_update_stats()
1798 cnt = mt76_rr(dev, MT_MIB_SDR25(band)); in mt7915_mac_update_stats()
1801 cnt = mt76_rr(dev, MT_MIB_SDR27(band)); in mt7915_mac_update_stats()
1805 cnt = mt76_rr(dev, MT_MIB_SDR28(band)); in mt7915_mac_update_stats()
1809 cnt = mt76_rr(dev, MT_MIB_SDR29(band)); in mt7915_mac_update_stats()
1814 cnt = mt76_rr(dev, MT_MIB_SDRVEC(band)); in mt7915_mac_update_stats()
1819 cnt = mt76_rr(dev, MT_MIB_SDR31(band)); in mt7915_mac_update_stats()
1822 cnt = mt76_rr(dev, MT_MIB_SDRMUBF(band)); in mt7915_mac_update_stats()
1825 cnt = mt76_rr(dev, MT_MIB_DR8(band)); in mt7915_mac_update_stats()
1828 cnt = mt76_rr(dev, MT_MIB_DR9(band)); in mt7915_mac_update_stats()
1831 cnt = mt76_rr(dev, MT_MIB_DR11(band)); in mt7915_mac_update_stats()
1834 cnt = mt76_rr(dev, MT_ETBF_PAR_RPT0(band)); in mt7915_mac_update_stats()
1847 val = mt76_rr(dev, MT_MIB_MB_SDR1(band, (i << 4))); in mt7915_mac_update_stats()
1853 val = mt76_rr(dev, MT_MIB_MB_SDR0(band, (i << 4))); in mt7915_mac_update_stats()
1858 val = mt76_rr(dev, MT_TX_AGG_CNT(band, i)); in mt7915_mac_update_stats()
1862 val = mt76_rr(dev, MT_TX_AGG_CNT2(band, i)); in mt7915_mac_update_stats()
1867 cnt = mt76_rr(dev, MT_MIB_SDR32(band)); in mt7915_mac_update_stats()
1870 cnt = mt76_rr(dev, MT_MIB_SDR33(band)); in mt7915_mac_update_stats()
1873 cnt = mt76_rr(dev, MT_ETBF_TX_APP_CNT(band)); in mt7915_mac_update_stats()
1877 cnt = mt76_rr(dev, MT_ETBF_TX_NDP_BFRP(band)); in mt7915_mac_update_stats()
1881 cnt = mt76_rr(dev, MT_ETBF_RX_FB_CNT(band)); in mt7915_mac_update_stats()
1889 val = mt76_rr(dev, MT_MIB_MB_SDR0(band, (i << 2))); in mt7915_mac_update_stats()
1894 val = mt76_rr(dev, MT_MIB_MB_SDR1(band, (i << 2))); in mt7915_mac_update_stats()
1899 val = mt76_rr(dev, MT_MIB_MB_SDR2(band, (i << 2))); in mt7915_mac_update_stats()
1904 val = mt76_rr(dev, MT_MIB_MB_BFTF(band, (i << 2))); in mt7915_mac_update_stats()
1910 val = mt76_rr(dev, MT_TX_AGG_CNT(band, i)); in mt7915_mac_update_stats()
1915 cnt = mt76_rr(dev, MT_MIB_SDR32(band)); in mt7915_mac_update_stats()
1921 cnt = mt76_rr(dev, MT_MIB_BFCR7(band)); in mt7915_mac_update_stats()
1924 cnt = mt76_rr(dev, MT_MIB_BFCR2(band)); in mt7915_mac_update_stats()
1927 cnt = mt76_rr(dev, MT_MIB_BFCR0(band)); in mt7915_mac_update_stats()
1933 cnt = mt76_rr(dev, MT_MIB_BFCR1(band)); in mt7915_mac_update_stats()