Home
last modified time | relevance | path

Searched refs:wcid_mask (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dmain.c62 if (dev->wcid_mask[wcid / BITS_PER_LONG] & BIT(wcid % BITS_PER_LONG)) in mt7601u_add_interface()
64 dev->wcid_mask[wcid / BITS_PER_LONG] |= BIT(wcid % BITS_PER_LONG); in mt7601u_add_interface()
78 dev->wcid_mask[wcid / BITS_PER_LONG] &= ~BIT(wcid % BITS_PER_LONG); in mt7601u_remove_interface()
191 for (i = 0; i < ARRAY_SIZE(dev->wcid_mask); i++) { in mt76_wcid_alloc()
192 idx = ffs(~dev->wcid_mask[i]); in mt76_wcid_alloc()
197 dev->wcid_mask[i] |= BIT(idx); in mt76_wcid_alloc()
250 dev->wcid_mask[idx / BITS_PER_LONG] &= ~BIT(idx % BITS_PER_LONG); in mt7601u_sta_remove()
H A Dmt7601u.h160 unsigned long wcid_mask[N_WCIDS / BITS_PER_LONG]; member
H A Dinit.c583 dev->wcid_mask[0] |= 1; in mt7601u_register_device()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dutil.c76 for (i = 0; i < ARRAY_SIZE(dev->wcid_mask); i++) { in mt76_get_min_avg_rssi()
77 u32 mask = dev->wcid_mask[i]; in mt76_get_min_avg_rssi()
H A Dmt76x02_util.c248 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT76x02_N_WCIDS); in mt76x02_sta_add()
H A Dmt792x_core.c749 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT792x_WTBL_STA - 1); in mt792x_init_wcid()
H A Dmt76.h882 u32 wcid_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)]; member
H A Dmac80211.c1491 mt76_wcid_mask_clear(dev->wcid_mask, idx); in __mt76_sta_remove()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dpci_init.c58 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7615_WTBL_STA - 1); in mt7615_init_hardware()
H A Dusb_sdio.c295 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7615_WTBL_STA - 1); in mt7663_usb_sdio_init_hardware()
H A Dmain.c643 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7615_WTBL_STA - 1); in mt7615_mac_sta_add()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmain.c248 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, mt7915_wtbl_size(dev)); in mt7915_add_interface()
297 mt76_wcid_mask_clear(dev->mt76.wcid_mask, mvif->sta.wcid.idx); in mt7915_remove_interface()
740 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7915_WTBL_STA); in mt7915_mac_sta_add()
H A Dmac.c1475 memset(dev->mt76.wcid_mask, 0, sizeof(dev->mt76.wcid_mask)); in mt7915_mac_full_reset()
1478 i = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7915_WTBL_STA); in mt7915_mac_full_reset()
H A Dinit.c836 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7915_WTBL_STA); in mt7915_init_hardware()
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmain.c338 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7603_WTBL_STA - 1); in mt7603_sta_add()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmain.c845 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT792x_WTBL_STA - 1); in mt7925_mac_link_sta_add()
1187 mt76_wcid_mask_clear(mdev->wcid_mask, wcid->idx); in mt7925_mac_sta_remove_links()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dinit.c921 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7996_WTBL_STA); in mt7996_init_hardware()
H A Dmain.c677 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7996_WTBL_STA); in mt7996_mac_sta_add()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c790 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT792x_WTBL_STA - 1); in mt7921_mac_sta_add()