Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mac.c274 #define __bitrate_mask_check(_mcs, _mode) \ argument
277 for (nss = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \
278 if (!mask->control[band]._mcs[i]) \
280 if (hweight16(mask->control[band]._mcs[i]) == 1) { \
282 rateidx = ffs(mask->control[band]._mcs[i]) - 1; \
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c1405 #define __sta_phy_bitrate_mask_check(_mcs, _gi, _ht, _he) \ in mt7915_mcu_add_rate_ctrl_fixed() argument
1413 for (i = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \ in mt7915_mcu_add_rate_ctrl_fixed()
1414 if (!mask->control[band]._mcs[i]) \ in mt7915_mcu_add_rate_ctrl_fixed()
1416 nrates += hweight16(mask->control[band]._mcs[i]); \ in mt7915_mcu_add_rate_ctrl_fixed()
1417 phy.mcs = ffs(mask->control[band]._mcs[i]) - 1; \ in mt7915_mcu_add_rate_ctrl_fixed()