Lines Matching refs:mvif
243 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_sta_add() local
252 msta->vif = mvif; in mt76x02_sta_add()
256 mt76x02_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); in mt76x02_sta_add()
283 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_vif_init() local
286 memset(mvif, 0, sizeof(*mvif)); in mt76x02_vif_init()
288 mvif->idx = idx; in mt76x02_vif_init()
289 mvif->group_wcid.idx = MT_VIF_WCID(idx); in mt76x02_vif_init()
290 mvif->group_wcid.hw_key_idx = -1; in mt76x02_vif_init()
291 mt76_wcid_init(&mvif->group_wcid); in mt76x02_vif_init()
294 rcu_assign_pointer(dev->mt76.wcid[MT_VIF_WCID(idx)], &mvif->group_wcid); in mt76x02_vif_init()
345 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_remove_interface() local
347 dev->mt76.vif_mask &= ~BIT_ULL(mvif->idx); in mt76x02_remove_interface()
348 rcu_assign_pointer(dev->mt76.wcid[mvif->group_wcid.idx], NULL); in mt76x02_remove_interface()
349 mt76_wcid_cleanup(&dev->mt76, &mvif->group_wcid); in mt76x02_remove_interface()
412 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_set_key() local
455 wcid = msta ? &msta->wcid : &mvif->group_wcid; in mt76x02_set_key()
481 return mt76x02_mac_shared_key_setup(dev, mvif->idx, idx, key); in mt76x02_set_key()
641 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_bss_info_changed() local
647 mt76x02_mac_set_bssid(dev, mvif->idx, info->bssid); in mt76x02_bss_info_changed()