Home
last modified time | relevance | path

Searched refs:_mcs (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c278 #define __bitrate_mask_check(_mcs, _mode) \ argument
281 for (nss = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \
282 if (!mask->control[band]._mcs[i]) \
284 if (hweight16(mask->control[band]._mcs[i]) == 1) { \
286 rateidx = ffs(mask->control[band]._mcs[i]) - 1; \
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c1461 #define __sta_phy_bitrate_mask_check(_mcs, _gi, _ht, _he) \ in mt7915_mcu_add_rate_ctrl_fixed() argument
1469 for (i = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \ in mt7915_mcu_add_rate_ctrl_fixed()
1470 if (!mask->control[band]._mcs[i]) \ in mt7915_mcu_add_rate_ctrl_fixed()
1472 nrates += hweight16(mask->control[band]._mcs[i]); \ in mt7915_mcu_add_rate_ctrl_fixed()
1473 phy.mcs = ffs(mask->control[band]._mcs[i]) - 1; \ in mt7915_mcu_add_rate_ctrl_fixed()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c2065 #define __sta_phy_bitrate_mask_check(_mcs, _gi, _ht, _he) \ in mt7996_mcu_add_rate_ctrl_fixed() argument
2071 for (i = 0; i < ARRAY_SIZE(mask.control[band]._mcs); i++) { \ in mt7996_mcu_add_rate_ctrl_fixed()
2072 if (!mask.control[band]._mcs[i]) \ in mt7996_mcu_add_rate_ctrl_fixed()
2074 nrates += hweight16(mask.control[band]._mcs[i]); \ in mt7996_mcu_add_rate_ctrl_fixed()
2075 phy.mcs = ffs(mask.control[band]._mcs[i]) - 1; \ in mt7996_mcu_add_rate_ctrl_fixed()