Searched refs:rateval (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_mac.c | 184 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/ |
D | mac.c | 107 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/ |
D | testmode.h | 64 __le16 rateval; member
|
D | testmode.c | 525 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()
|
D | mac.c | 559 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/ |
D | mac.c | 683 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/ |
D | mac.c | 672 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/ |
D | nl80211.c | 11084 int rateval) in nl80211_parse_mcast_rate() argument 11098 if (sband->bitrates[i].bitrate == rateval) { in nl80211_parse_mcast_rate()
|