Lines Matching defs:rate
19 u8 band, struct ieee80211_tx_rate *rate, u8 hlid)
24 wl1271_error("last Tx rate invalid: %d", fw_rate);
25 rate->idx = 0;
26 rate->flags = 0;
31 rate->idx = fw_rate;
33 rate->idx -= CONF_HW_RATE_INDEX_6MBPS;
34 rate->flags = 0;
36 rate->flags = IEEE80211_TX_RC_MCS;
37 rate->idx = fw_rate - CONF_HW_RATE_INDEX_MCS0;
39 /* SGI modifier is counted as a separate rate */
41 (rate->idx)--;
43 (rate->idx)--;
48 rate->flags |= IEEE80211_TX_RC_SHORT_GI;
55 rate->idx -= 8;
56 rate->flags |= IEEE80211_TX_RC_40_MHZ_WIDTH;