mvif 413 drivers/net/wireless/ath/carl9170/mac.c struct carl9170_vif_info *mvif; mvif 414 drivers/net/wireless/ath/carl9170/mac.c mvif = (void *) vif->drv_priv; mvif 416 drivers/net/wireless/ath/carl9170/mac.c if (mvif->enable_beacon && !WARN_ON(!ar->beacon_enabled)) { mvif 16 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mvif 19 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) mvif 26 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt76_tx_queue_skb(dev, MT_TXQ_BEACON, skb, &mvif->sta.wcid, NULL); mvif 30 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c FIELD_PREP(MT_DMA_FQCR0_TARGET_WCID, mvif->sta.wcid.idx) | mvif 47 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mvif 51 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) mvif 63 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c data->tail[mvif->idx] = skb; mvif 64 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c data->count[mvif->idx]++; mvif 121 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mvif 123 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt76_tx_queue_skb(dev, MT_TXQ_CAB, skb, &mvif->sta.wcid, NULL); mvif 789 drivers/net/wireless/mediatek/mt76/mt7603/mac.c struct mt7603_vif *mvif; mvif 801 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mvif = (struct mt7603_vif *)vif->drv_priv; mvif 802 drivers/net/wireless/mediatek/mt76/mt7603/mac.c vif_idx = mvif->idx; mvif 37 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mvif 46 drivers/net/wireless/mediatek/mt76/mt7603/main.c mvif->idx = ffs(~dev->vif_mask) - 1; mvif 47 drivers/net/wireless/mediatek/mt76/mt7603/main.c if (mvif->idx >= MT7603_MAX_INTERFACES) { mvif 52 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_MAC_ADDR0(mvif->idx), mvif 54 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_MAC_ADDR1(mvif->idx), mvif 59 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID0(mvif->idx), mvif 61 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID1(mvif->idx), mvif 66 drivers/net/wireless/mediatek/mt76/mt7603/main.c idx = MT7603_WTBL_RESERVED - 1 - mvif->idx; mvif 67 drivers/net/wireless/mediatek/mt76/mt7603/main.c dev->vif_mask |= BIT(mvif->idx); mvif 68 drivers/net/wireless/mediatek/mt76/mt7603/main.c mvif->sta.wcid.idx = idx; mvif 69 drivers/net/wireless/mediatek/mt76/mt7603/main.c mvif->sta.wcid.hw_key_idx = -1; mvif 72 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_wtbl_init(dev, idx, mvif->idx, bc_addr); mvif 75 drivers/net/wireless/mediatek/mt76/mt7603/main.c mtxq->wcid = &mvif->sta.wcid; mvif 77 drivers/net/wireless/mediatek/mt76/mt7603/main.c rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid); mvif 88 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mvif 90 drivers/net/wireless/mediatek/mt76/mt7603/main.c int idx = mvif->sta.wcid.idx; mvif 92 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_MAC_ADDR0(mvif->idx), 0); mvif 93 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_MAC_ADDR1(mvif->idx), 0); mvif 94 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID0(mvif->idx), 0); mvif 95 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID1(mvif->idx), 0); mvif 96 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_beacon_set_timer(dev, mvif->idx, 0); mvif 102 drivers/net/wireless/mediatek/mt76/mt7603/main.c dev->vif_mask &= ~BIT(mvif->idx); mvif 276 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mvif 282 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID0(mvif->idx), mvif 284 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID1(mvif->idx), mvif 288 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID0(mvif->idx), 0); mvif 289 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID1(mvif->idx), 0); mvif 306 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_beacon_set_timer(dev, mvif->idx, beacon_int); mvif 319 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mvif 332 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_wtbl_init(dev, idx, mvif->idx, sta->addr); mvif 454 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mvif 456 drivers/net/wireless/mediatek/mt76/mt7603/main.c &mvif->sta; mvif 647 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct mt7603_vif *mvif; mvif 649 drivers/net/wireless/mediatek/mt76/mt7603/main.c mvif = (struct mt7603_vif *)vif->drv_priv; mvif 650 drivers/net/wireless/mediatek/mt76/mt7603/main.c wcid = &mvif->sta.wcid; mvif 322 drivers/net/wireless/mediatek/mt76/mt7615/mac.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 324 drivers/net/wireless/mediatek/mt76/mt7615/mac.c omac_idx = mvif->omac_idx; mvif 325 drivers/net/wireless/mediatek/mt76/mt7615/mac.c wmm_idx = mvif->wmm_idx; mvif 814 drivers/net/wireless/mediatek/mt76/mt7615/mac.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 816 drivers/net/wireless/mediatek/mt76/mt7615/mac.c txp->bss_idx = mvif->idx; mvif 69 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 76 drivers/net/wireless/mediatek/mt76/mt7615/main.c mvif->idx = ffs(~dev->vif_mask) - 1; mvif 77 drivers/net/wireless/mediatek/mt76/mt7615/main.c if (mvif->idx >= MT7615_MAX_INTERFACES) { mvif 87 drivers/net/wireless/mediatek/mt76/mt7615/main.c mvif->omac_idx = idx; mvif 90 drivers/net/wireless/mediatek/mt76/mt7615/main.c mvif->band_idx = 0; mvif 91 drivers/net/wireless/mediatek/mt76/mt7615/main.c mvif->wmm_idx = mvif->idx % MT7615_MAX_WMM_SETS; mvif 97 drivers/net/wireless/mediatek/mt76/mt7615/main.c dev->vif_mask |= BIT(mvif->idx); mvif 98 drivers/net/wireless/mediatek/mt76/mt7615/main.c dev->omac_mask |= BIT(mvif->omac_idx); mvif 99 drivers/net/wireless/mediatek/mt76/mt7615/main.c idx = MT7615_WTBL_RESERVED - mvif->idx; mvif 100 drivers/net/wireless/mediatek/mt76/mt7615/main.c mvif->sta.wcid.idx = idx; mvif 101 drivers/net/wireless/mediatek/mt76/mt7615/main.c mvif->sta.wcid.hw_key_idx = -1; mvif 103 drivers/net/wireless/mediatek/mt76/mt7615/main.c rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid); mvif 105 drivers/net/wireless/mediatek/mt76/mt7615/main.c mtxq->wcid = &mvif->sta.wcid; mvif 117 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 119 drivers/net/wireless/mediatek/mt76/mt7615/main.c int idx = mvif->sta.wcid.idx; mvif 129 drivers/net/wireless/mediatek/mt76/mt7615/main.c dev->vif_mask &= ~BIT(mvif->idx); mvif 130 drivers/net/wireless/mediatek/mt76/mt7615/main.c dev->omac_mask &= ~BIT(mvif->omac_idx); mvif 172 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 174 drivers/net/wireless/mediatek/mt76/mt7615/main.c &mvif->sta; mvif 252 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 255 drivers/net/wireless/mediatek/mt76/mt7615/main.c queue += mvif->wmm_idx * MT7615_MAX_WMM_SETS; mvif 344 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 351 drivers/net/wireless/mediatek/mt76/mt7615/main.c msta->vif = mvif; mvif 420 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct mt7615_vif *mvif; mvif 422 drivers/net/wireless/mediatek/mt76/mt7615/main.c mvif = (struct mt7615_vif *)vif->drv_priv; mvif 423 drivers/net/wireless/mediatek/mt76/mt7615/main.c wcid = &mvif->sta.wcid; mvif 708 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 726 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .omac_idx = mvif->omac_idx, mvif 727 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .band_idx = mvif->band_idx, mvif 735 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .band_idx = mvif->band_idx, mvif 745 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_bss_info_omac_header(struct mt7615_vif *mvif, u8 *data, mvif 751 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; mvif 755 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c hdr->omac_idx = mvif->omac_idx; mvif 756 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c hdr->band_idx = mvif->band_idx; mvif 765 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 774 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c hdr->wmm_idx = mvif->wmm_idx; mvif 780 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_bss_info_ext_header(struct mt7615_vif *mvif, u8 *data) mvif 787 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c ext_bss_idx = mvif->omac_idx - EXT_BSSID_START; mvif 800 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 817 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c if (mvif->omac_idx > EXT_BSSID_START) { mvif 828 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c tx_wlan_idx = mvif->sta.wcid.idx; mvif 861 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c hdr->bss_idx = mvif->idx; mvif 871 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_bss_info_omac_header(mvif, data, mvif 881 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_bss_info_ext_header(mvif, data); mvif 898 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif) mvif 906 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .wlan_idx = mvif->sta.wcid.idx, mvif 932 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 936 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .wlan_idx = mvif->sta.wcid.idx, mvif 944 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c return mt7615_mcu_add_wtbl_bmc(dev, mvif); mvif 950 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 965 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .muar_idx = mvif->omac_idx, mvif 1009 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 1015 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .bss_idx = mvif->idx, mvif 1016 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .wlan_idx = mvif->sta.wcid.idx, mvif 1019 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .muar_idx = mvif->omac_idx, mvif 1045 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 1053 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .bss_idx = mvif->idx, mvif 1057 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .muar_idx = mvif->omac_idx, mvif 1097 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 1116 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .omac_idx = mvif->omac_idx, mvif 1119 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .band_idx = mvif->band_idx, mvif 1346 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mvif 1432 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c sta_hdr->bss_idx = mvif->idx; mvif 1437 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c sta_hdr->muar_idx = mvif->omac_idx; mvif 1471 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = msta->vif; mvif 1495 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .bss_idx = mvif->idx, mvif 1499 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .muar_idx = mvif->omac_idx, mvif 1539 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = msta->vif; mvif 1564 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .bss_idx = mvif->idx, mvif 1568 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .muar_idx = mvif->omac_idx, mvif 110 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mvif 119 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c dev->mt76.beacon_mask |= BIT(mvif->idx); mvif 121 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c dev->mt76.beacon_mask &= ~BIT(mvif->idx); mvif 122 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76x02_mac_set_beacon(dev, mvif->idx, NULL); mvif 178 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mvif 181 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) mvif 188 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76x02_mac_set_beacon(dev, mvif->idx, skb); mvif 197 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mvif 201 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) mvif 213 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c data->tail[mvif->idx] = skb; mvif 52 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mvif 54 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76_tx_queue_skb(dev, MT_TXQ_PSD, skb, &mvif->group_wcid, mvif 25 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c struct mt76x02_vif *mvif; mvif 27 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c mvif = (struct mt76x02_vif *)vif->drv_priv; mvif 28 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c wcid = &mvif->group_wcid; mvif 252 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mvif 261 drivers/net/wireless/mediatek/mt76/mt76x02_util.c msta->vif = mvif; mvif 265 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); mvif 291 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mvif 294 drivers/net/wireless/mediatek/mt76/mt76x02_util.c memset(mvif, 0, sizeof(*mvif)); mvif 296 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mvif->idx = idx; mvif 297 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mvif->group_wcid.idx = MT_VIF_WCID(idx); mvif 298 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mvif->group_wcid.hw_key_idx = -1; mvif 300 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mtxq->wcid = &mvif->group_wcid; mvif 350 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mvif 353 drivers/net/wireless/mediatek/mt76/mt76x02_util.c dev->vif_mask &= ~BIT(mvif->idx); mvif 413 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mvif 452 drivers/net/wireless/mediatek/mt76/mt76x02_util.c wcid = msta ? &msta->wcid : &mvif->group_wcid; mvif 478 drivers/net/wireless/mediatek/mt76/mt76x02_util.c return mt76x02_mac_shared_key_setup(dev, mvif->idx, idx, key); mvif 637 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mvif 643 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_mac_set_bssid(dev, mvif->idx, info->bssid); mvif 48 drivers/net/wireless/mediatek/mt7601u/main.c struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; mvif 57 drivers/net/wireless/mediatek/mt7601u/main.c mvif->idx = idx; mvif 65 drivers/net/wireless/mediatek/mt7601u/main.c mvif->group_wcid.idx = wcid; mvif 66 drivers/net/wireless/mediatek/mt7601u/main.c mvif->group_wcid.hw_key_idx = -1; mvif 75 drivers/net/wireless/mediatek/mt7601u/main.c struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; mvif 76 drivers/net/wireless/mediatek/mt7601u/main.c unsigned int wcid = mvif->group_wcid.idx; mvif 214 drivers/net/wireless/mediatek/mt7601u/main.c struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; mvif 228 drivers/net/wireless/mediatek/mt7601u/main.c mt7601u_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); mvif 297 drivers/net/wireless/mediatek/mt7601u/main.c struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; mvif 299 drivers/net/wireless/mediatek/mt7601u/main.c struct mt76_wcid *wcid = msta ? &msta->wcid : &mvif->group_wcid; mvif 331 drivers/net/wireless/mediatek/mt7601u/main.c return mt76_mac_shared_key_setup(dev, mvif->idx, idx, key); mvif 215 drivers/net/wireless/mediatek/mt7601u/tx.c struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mvif 217 drivers/net/wireless/mediatek/mt7601u/tx.c wcid = &mvif->group_wcid;