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()
257 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_len() local
258 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_tx_len()
274 if (mphy->chandef.chan->band == NL80211_BAND_5GHZ) in mt7915_tm_set_tx_len()
275 sband = &mphy->sband_5g.sband; in mt7915_tm_set_tx_len()
276 else if (mphy->chandef.chan->band == NL80211_BAND_6GHZ) in mt7915_tm_set_tx_len()
277 sband = &mphy->sband_6g.sband; in mt7915_tm_set_tx_len()
279 sband = &mphy->sband_2g.sband; in mt7915_tm_set_tx_len()
308 switch (mphy->chandef.width) { in mt7915_tm_set_tx_len()
648 mt7915_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state) in mt7915_tm_set_state() argument
650 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_state()
651 struct mt7915_phy *phy = mphy->priv; in mt7915_tm_set_state()
654 mphy->test.state = state; in mt7915_tm_set_state()
690 mt7915_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb, in mt7915_tm_set_params() argument
693 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_params()
694 struct mt7915_phy *phy = mphy->priv; in mt7915_tm_set_params()
696 u32 chainmask = mphy->chainmask, changed = 0; in mt7915_tm_set_params()
721 mt7915_tm_dump_stats(struct mt76_phy *mphy, struct sk_buff *msg) in mt7915_tm_dump_stats() argument
723 struct mt7915_phy *phy = mphy->priv; in mt7915_tm_dump_stats()
778 mphy->test.rx_stats.packets[q] += fcs_err; in mt7915_tm_dump_stats()
779 mphy->test.rx_stats.fcs_error[q] += fcs_err; in mt7915_tm_dump_stats()