Home
last modified time | relevance | path

Searched refs:rateval (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.c184 u16 rateval; in mt76x02_mac_tx_rate_val() local
218 rateval = FIELD_PREP(MT_RXWI_RATE_INDEX, rate_idx); in mt76x02_mac_tx_rate_val()
219 rateval |= FIELD_PREP(MT_RXWI_RATE_PHY, phy); in mt76x02_mac_tx_rate_val()
220 rateval |= FIELD_PREP(MT_RXWI_RATE_BW, bw); in mt76x02_mac_tx_rate_val()
222 rateval |= MT_RXWI_RATE_SGI; in mt76x02_mac_tx_rate_val()
225 return rateval; in mt76x02_mac_tx_rate_val()
232 u16 rateval; in mt76x02_mac_wcid_set_rate() local
236 rateval = mt76x02_mac_tx_rate_val(dev, rate, &nss); in mt76x02_mac_wcid_set_rate()
237 tx_info = FIELD_PREP(MT_WCID_TX_INFO_RATE, rateval) | in mt76x02_mac_wcid_set_rate()
345 u16 txwi_flags = 0, rateval; in mt76x02_mac_write_txwi() local
[all …]
/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/
Dmac.c107 u16 rateval; in mt76_mac_tx_rate_val() local
136 rateval = FIELD_PREP(MT_RXWI_RATE_MCS, rate_idx); in mt76_mac_tx_rate_val()
137 rateval |= FIELD_PREP(MT_RXWI_RATE_PHY, phy); in mt76_mac_tx_rate_val()
138 rateval |= FIELD_PREP(MT_RXWI_RATE_BW, bw); in mt76_mac_tx_rate_val()
140 rateval |= MT_RXWI_RATE_SGI; in mt76_mac_tx_rate_val()
143 return rateval; in mt76_mac_tx_rate_val()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.h64 __le16 rateval; member
Dtestmode.c525 u16 rateval; in mt7915_tm_set_tx_cont() local
617 rateval = mode << 6 | rate_idx; in mt7915_tm_set_tx_cont()
618 tx_cont->rateval = cpu_to_le16(rateval); in mt7915_tm_set_tx_cont()
Dmac.c559 u16 rateval = 0; in mt7915_mac_write_txwi_tm() local
624 rateval |= MT_TX_RATE_STBC; in mt7915_mac_write_txwi_tm()
627 rateval |= FIELD_PREP(MT_TX_RATE_IDX, rate_idx) | in mt7915_mac_write_txwi_tm()
639 FIELD_PREP(MT_TXD6_TX_RATE, rateval) | in mt7915_mac_write_txwi_tm()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c683 u16 rateval; in mt7603_mac_tx_rate_val() local
710 rateval = (FIELD_PREP(MT_TX_RATE_IDX, rate_idx) | in mt7603_mac_tx_rate_val()
714 rateval |= MT_TX_RATE_STBC; in mt7603_mac_tx_rate_val()
716 return rateval; in mt7603_mac_tx_rate_val()
987 u16 rateval = mt7603_mac_tx_rate_val(dev, rate, stbc, &bw); in mt7603_mac_write_txwi() local
993 FIELD_PREP(MT_TXD6_TX_RATE, rateval); in mt7603_mac_write_txwi()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c672 u16 rateval = 0; in mt7615_mac_tx_rate_val() local
712 rateval |= MT_TX_RATE_STBC; in mt7615_mac_tx_rate_val()
715 rateval |= (FIELD_PREP(MT_TX_RATE_IDX, rate_idx) | in mt7615_mac_tx_rate_val()
719 return rateval; in mt7615_mac_tx_rate_val()
815 u16 rateval = mt7615_mac_tx_rate_val(dev, mphy, rate, stbc, in mt7615_mac_write_txwi() local
822 FIELD_PREP(MT_TXD6_TX_RATE, rateval); in mt7615_mac_write_txwi()
/linux-6.1.9/net/wireless/
Dnl80211.c11084 int rateval) in nl80211_parse_mcast_rate() argument
11098 if (sband->bitrates[i].bitrate == rateval) { in nl80211_parse_mcast_rate()