Searched refs:wcid_mask (Results 1 – 9 of 9) sorted by relevance
70 if (dev->wcid_mask[wcid / BITS_PER_LONG] & BIT(wcid % BITS_PER_LONG)) in mt7601u_add_interface()72 dev->wcid_mask[wcid / BITS_PER_LONG] |= BIT(wcid % BITS_PER_LONG); in mt7601u_add_interface()86 dev->wcid_mask[wcid / BITS_PER_LONG] &= ~BIT(wcid % BITS_PER_LONG); in mt7601u_remove_interface()199 for (i = 0; i < ARRAY_SIZE(dev->wcid_mask); i++) { in mt76_wcid_alloc()200 idx = ffs(~dev->wcid_mask[i]); in mt76_wcid_alloc()205 dev->wcid_mask[i] |= BIT(idx); in mt76_wcid_alloc()258 dev->wcid_mask[idx / BITS_PER_LONG] &= ~BIT(idx % BITS_PER_LONG); in mt7601u_sta_remove()
168 unsigned long wcid_mask[N_WCIDS / BITS_PER_LONG]; member
588 dev->wcid_mask[0] |= 1; in mt7601u_register_device()
314 for (i = 0; i < ARRAY_SIZE(dev->wcid_mask); i++) { in mt76x2_phy_get_min_avg_rssi()315 unsigned long mask = dev->wcid_mask[i]; in mt76x2_phy_get_min_avg_rssi()
107 idx = mt76_wcid_alloc(dev->wcid_mask, ARRAY_SIZE(dev->wcid)); in mt76x2_sta_add()149 mt76_wcid_free(dev->wcid_mask, idx); in mt76x2_sta_remove()
101 unsigned long wcid_mask[128 / BITS_PER_LONG]; member
209 idx = mt76_wcid_alloc(dev->wcid_mask, ARRAY_SIZE(dev->wcid)); in mt76x0_sta_add()239 dev->wcid_mask[idx / BITS_PER_LONG] &= ~BIT(idx % BITS_PER_LONG); in mt76x0_sta_remove()
162 unsigned long wcid_mask[DIV_ROUND_UP(N_WCIDS, BITS_PER_LONG)]; member
666 dev->wcid_mask[0] |= 1; in mt76x0_register_device()