Searched refs:_mcs (Results 1 – 3 of 3) sorted by relevance
275 #define __bitrate_mask_check(_mcs, _mode) \ argument278 for (nss = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \279 if (!mask->control[band]._mcs[i]) \281 if (hweight16(mask->control[band]._mcs[i]) == 1) { \283 rateidx = ffs(mask->control[band]._mcs[i]) - 1; \
1417 #define __sta_phy_bitrate_mask_check(_mcs, _gi, _ht, _he) \ in mt7915_mcu_add_rate_ctrl_fixed() argument1425 for (i = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \ in mt7915_mcu_add_rate_ctrl_fixed()1426 if (!mask->control[band]._mcs[i]) \ in mt7915_mcu_add_rate_ctrl_fixed()1428 nrates += hweight16(mask->control[band]._mcs[i]); \ in mt7915_mcu_add_rate_ctrl_fixed()1429 phy.mcs = ffs(mask->control[band]._mcs[i]) - 1; \ in mt7915_mcu_add_rate_ctrl_fixed()
1912 #define __sta_phy_bitrate_mask_check(_mcs, _gi, _ht, _he) \ in mt7996_mcu_add_rate_ctrl_fixed() argument1918 for (i = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \ in mt7996_mcu_add_rate_ctrl_fixed()1919 if (!mask->control[band]._mcs[i]) \ in mt7996_mcu_add_rate_ctrl_fixed()1921 nrates += hweight16(mask->control[band]._mcs[i]); \ in mt7996_mcu_add_rate_ctrl_fixed()1922 phy.mcs = ffs(mask->control[band]._mcs[i]) - 1; \ in mt7996_mcu_add_rate_ctrl_fixed()