Searched refs:wcid_mask (Results 1 – 19 of 19) sorted by relevance
/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | main.c | 62 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 D | mt7601u.h | 160 unsigned long wcid_mask[N_WCIDS / BITS_PER_LONG]; member
|
H A D | init.c | 583 dev->wcid_mask[0] |= 1; in mt7601u_register_device()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | util.c | 76 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 D | mt76x02_util.c | 248 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT76x02_N_WCIDS); in mt76x02_sta_add()
|
H A D | mt792x_core.c | 749 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT792x_WTBL_STA - 1); in mt792x_init_wcid()
|
H A D | mt76.h | 882 u32 wcid_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)]; member
|
H A D | mac80211.c | 1491 mt76_wcid_mask_clear(dev->wcid_mask, idx); in __mt76_sta_remove()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | pci_init.c | 58 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7615_WTBL_STA - 1); in mt7615_init_hardware()
|
H A D | usb_sdio.c | 295 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7615_WTBL_STA - 1); in mt7663_usb_sdio_init_hardware()
|
H A D | main.c | 643 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 D | main.c | 248 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 D | mac.c | 1475 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 D | init.c | 836 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7915_WTBL_STA); in mt7915_init_hardware()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | main.c | 338 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 D | main.c | 845 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 D | init.c | 921 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7996_WTBL_STA); in mt7996_init_hardware()
|
H A D | main.c | 677 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 D | main.c | 790 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT792x_WTBL_STA - 1); in mt7921_mac_sta_add()
|