Lines Matching defs:mphy
296 u16 mt76_connac2_mac_tx_rate_val(struct mt76_phy *mphy,
300 struct mt76_vif_link *mvif = mt76_vif_conf_link(mphy->dev, conf->vif, conf);
302 &mvif->ctx->def : &mphy->chandef;
310 if (is_mt7921(mphy->dev)) {
500 struct mt76_phy *mphy = &dev->phy;
519 mphy = dev->phys[MT_BAND1];
587 u16 rate = mt76_connac2_mac_tx_rate_val(mphy, &vif->bss_conf, beacon,
599 u8 spe_idx = mt76_connac_spe_idx(mphy->antenna_mask);
616 struct mt76_phy *mphy;
666 mphy = &dev->phy;
668 mphy = dev->phys[MT_BAND1];
670 if (mphy->chandef.chan->band == NL80211_BAND_5GHZ)
671 sband = &mphy->sband_5g.sband;
672 else if (mphy->chandef.chan->band == NL80211_BAND_6GHZ)
673 sband = &mphy->sband_6g.sband;
675 sband = &mphy->sband_2g.sband;
677 rate.mcs = mt76_get_rate(mphy->dev, sband, rate.mcs, cck);