Lines Matching refs:mphy
41 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_power() local
42 struct cfg80211_chan_def *chandef = &mphy->chandef; in mt7915_tm_set_tx_power()
256 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_len() local
257 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_tx_len()
273 if (mphy->chandef.chan->band == NL80211_BAND_5GHZ) in mt7915_tm_set_tx_len()
274 sband = &mphy->sband_5g.sband; in mt7915_tm_set_tx_len()
275 else if (mphy->chandef.chan->band == NL80211_BAND_6GHZ) in mt7915_tm_set_tx_len()
276 sband = &mphy->sband_6g.sband; in mt7915_tm_set_tx_len()
278 sband = &mphy->sband_2g.sband; in mt7915_tm_set_tx_len()
307 switch (mphy->chandef.width) { in mt7915_tm_set_tx_len()
652 mt7915_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state) in mt7915_tm_set_state() argument
654 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_state()
655 struct mt7915_phy *phy = mphy->priv; in mt7915_tm_set_state()
658 mphy->test.state = state; in mt7915_tm_set_state()
694 mt7915_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb, in mt7915_tm_set_params() argument
697 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_params()
698 struct mt7915_phy *phy = mphy->priv; in mt7915_tm_set_params()
708 if (td->tx_antenna_mask & ~mphy->chainmask) in mt7915_tm_set_params()
722 mt7915_tm_dump_stats(struct mt76_phy *mphy, struct sk_buff *msg) in mt7915_tm_dump_stats() argument
724 struct mt7915_phy *phy = mphy->priv; in mt7915_tm_dump_stats()
779 mphy->test.rx_stats.packets[q] += fcs_err; in mt7915_tm_dump_stats()
780 mphy->test.rx_stats.fcs_error[q] += fcs_err; in mt7915_tm_dump_stats()