Lines Matching defs:mphy
296 u16 mt76_connac2_mac_tx_rate_val(struct mt76_phy *mphy,
308 mvif = mt76_vif_conf_link(mphy->dev, conf->vif, conf);
309 chandef = mvif->ctx ? &mvif->ctx->def : &mphy->chandef;
312 if (is_mt7921(mphy->dev)) {
502 struct mt76_phy *mphy = &dev->phy;
521 mphy = dev->phys[MT_BAND1];
589 u16 rate = mt76_connac2_mac_tx_rate_val(mphy,
602 u8 spe_idx = mt76_connac_spe_idx(mphy->antenna_mask);
619 struct mt76_phy *mphy;
669 mphy = &dev->phy;
671 mphy = dev->phys[MT_BAND1];
673 if (mphy->chandef.chan->band == NL80211_BAND_5GHZ)
674 sband = &mphy->sband_5g.sband;
675 else if (mphy->chandef.chan->band == NL80211_BAND_6GHZ)
676 sband = &mphy->sband_6g.sband;
678 sband = &mphy->sband_2g.sband;
680 rate.mcs = mt76_get_rate(mphy->dev, sband, rate.mcs, cck);