Lines Matching refs:mt76
17 struct mt76_wcid *wcid = &dev->mt76.global_wcid; in mt76x02_tx()
31 mt76_tx(&dev->mt76, control->sta, wcid, skb); in mt76x02_tx()
38 struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); in mt76x02_queue_rx_skb()
43 mt76_mcu_rx_event(&dev->mt76, skb); in mt76x02_queue_rx_skb()
66 max_txpwr = dev->mt76.rate_power.vht[8]; in mt76x02_tx_get_max_txpwr_adj()
72 max_txpwr = dev->mt76.rate_power.ht[idx & 0xf]; in mt76x02_tx_get_max_txpwr_adj()
75 max_txpwr = dev->mt76.rate_power.ht[rate->idx & 0xf]; in mt76x02_tx_get_max_txpwr_adj()
77 enum nl80211_band band = dev->mt76.chandef.chan->band; in mt76x02_tx_get_max_txpwr_adj()
81 struct wiphy *wiphy = dev->mt76.hw->wiphy; in mt76x02_tx_get_max_txpwr_adj()
82 struct mt76_rate_power *rp = &dev->mt76.rate_power; in mt76x02_tx_get_max_txpwr_adj()
90 max_txpwr = dev->mt76.rate_power.ofdm[rate->idx & 0x7]; in mt76x02_tx_get_max_txpwr_adj()
99 txpwr = min_t(s8, txpwr, dev->mt76.txpower_conf); in mt76x02_tx_get_txpwr_adj()
116 dev->mt76.rate_power.ofdm[4]); in mt76x02_tx_set_txpwr_auto()
126 struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); in mt76x02_tx_status_data()
143 struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); in mt76x02_tx_prepare_skb()