Lines Matching defs:mphy
41 struct mt76_phy *mphy = phy->mt76;
42 struct cfg80211_chan_def *chandef = &mphy->chandef;
257 struct mt76_phy *mphy = phy->mt76;
258 struct mt76_testmode_data *td = &mphy->test;
274 if (mphy->chandef.chan->band == NL80211_BAND_5GHZ)
275 sband = &mphy->sband_5g.sband;
276 else if (mphy->chandef.chan->band == NL80211_BAND_6GHZ)
277 sband = &mphy->sband_6g.sband;
279 sband = &mphy->sband_2g.sband;
308 switch (mphy->chandef.width) {
650 mt7915_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state)
652 struct mt76_testmode_data *td = &mphy->test;
653 struct mt7915_phy *phy = mphy->priv;
656 mphy->test.state = state;
692 mt7915_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb,
695 struct mt76_testmode_data *td = &mphy->test;
696 struct mt7915_phy *phy = mphy->priv;
698 u32 chainmask = mphy->chainmask, changed = 0;
723 mt7915_tm_dump_stats(struct mt76_phy *mphy, struct sk_buff *msg)
725 struct mt7915_phy *phy = mphy->priv;
780 mphy->test.rx_stats.packets[q] += fcs_err;
781 mphy->test.rx_stats.fcs_error[q] += fcs_err;