Lines Matching refs:rate
46 * As a work-around encode the desired rate in PKT_ID of TX descriptor
47 * and based on that guess the retries (every rate is tried once).
55 static u8 mt7601u_tx_pktid_enc(struct mt7601u_dev *dev, u8 rate, bool is_probe)
57 u8 encoded = (rate + 1) + is_probe * 8;
64 if (is_probe && rate == 7)
74 u8 eff_rate = stat->rate & 0x7;
135 struct ieee80211_tx_rate *rate = &info->control.rates[0];
151 if (rate->idx < 0 || !rate->count)
154 rate_ctl = mt76_mac_tx_rate_val(dev, rate, &nss);