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.c287 #define __bitrate_mask_check(_mcs, _mode) \ argument
290 for (nss = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \
291 if (!mask->control[band]._mcs[i]) \
293 if (hweight16(mask->control[band]._mcs[i]) == 1) { \
295 rateidx = ffs(mask->control[band]._mcs[i]) - 1; \
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c1487 #define __sta_phy_bitrate_mask_check(_mcs, _gi, _ht, _he) \ in mt7915_mcu_add_rate_ctrl_fixed() argument
1495 for (i = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \ in mt7915_mcu_add_rate_ctrl_fixed()
1496 if (!mask->control[band]._mcs[i]) \ in mt7915_mcu_add_rate_ctrl_fixed()
1498 nrates += hweight16(mask->control[band]._mcs[i]); \ in mt7915_mcu_add_rate_ctrl_fixed()
1499 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.c2331 #define __sta_phy_bitrate_mask_check(_mcs, _gi, _ht, _he) \ in mt7996_mcu_add_rate_ctrl_fixed() argument
2337 for (i = 0; i < ARRAY_SIZE(mask.control[band]._mcs); i++) { \ in mt7996_mcu_add_rate_ctrl_fixed()
2338 if (!mask.control[band]._mcs[i]) \ in mt7996_mcu_add_rate_ctrl_fixed()
2340 nrates += hweight16(mask.control[band]._mcs[i]); \ in mt7996_mcu_add_rate_ctrl_fixed()
2341 phy.mcs = ffs(mask.control[band]._mcs[i]) - 1; \ in mt7996_mcu_add_rate_ctrl_fixed()