Lines Matching refs:mvif

182 	struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv;  in mt7615_add_interface()  local
197 mvif->mt76.idx = __ffs64(~dev->mt76.vif_mask); in mt7615_add_interface()
198 if (mvif->mt76.idx >= MT7615_MAX_INTERFACES) { in mt7615_add_interface()
208 mvif->mt76.omac_idx = idx; in mt7615_add_interface()
210 mvif->mt76.band_idx = ext_phy; in mt7615_add_interface()
211 mvif->mt76.wmm_idx = vif->type != NL80211_IFTYPE_AP; in mt7615_add_interface()
213 mvif->mt76.wmm_idx += 2; in mt7615_add_interface()
215 dev->mt76.vif_mask |= BIT_ULL(mvif->mt76.idx); in mt7615_add_interface()
216 dev->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7615_add_interface()
217 phy->omac_mask |= BIT_ULL(mvif->mt76.omac_idx); in mt7615_add_interface()
223 idx = MT7615_WTBL_RESERVED - mvif->mt76.idx; in mt7615_add_interface()
225 INIT_LIST_HEAD(&mvif->sta.wcid.poll_list); in mt7615_add_interface()
226 mvif->sta.wcid.idx = idx; in mt7615_add_interface()
227 mvif->sta.wcid.phy_idx = mvif->mt76.band_idx; in mt7615_add_interface()
228 mvif->sta.wcid.hw_key_idx = -1; in mt7615_add_interface()
229 mt76_wcid_init(&mvif->sta.wcid); in mt7615_add_interface()
234 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid); in mt7615_add_interface()
250 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_remove_interface() local
251 struct mt7615_sta *msta = &mvif->sta; in mt7615_remove_interface()
271 dev->mt76.vif_mask &= ~BIT_ULL(mvif->mt76.idx); in mt7615_remove_interface()
272 dev->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7615_remove_interface()
273 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt7615_remove_interface()
282 mt76_wcid_cleanup(&dev->mt76, &mvif->sta.wcid); in mt7615_remove_interface()
342 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_set_key() local
344 &mvif->sta; in mt7615_set_key()
380 if (cmd == SET_KEY && !sta && !mvif->mt76.cipher) { in mt7615_set_key()
381 mvif->mt76.cipher = mt76_connac_mcu_get_cipher(key->cipher); in mt7615_set_key()
466 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7615_conf_tx() local
473 queue += mvif->wmm_idx * MT7615_MAX_WMM_SETS; in mt7615_conf_tx()
546 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_update_mu_group() local
548 u8 i, band = mvif->mt76.band_idx; in mt7615_update_mu_group()
607 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_bss_info_changed() local
609 mt76_connac_mcu_update_arp_filter(&dev->mt76, &mvif->mt76, in mt7615_bss_info_changed()
639 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_mac_sta_add() local
648 msta->vif = mvif; in mt7615_mac_sta_add()
651 msta->wcid.phy_idx = mvif->mt76.band_idx; in mt7615_mac_sta_add()
653 phy = mvif->mt76.band_idx ? mt7615_ext_phy(dev) : &dev->phy; in mt7615_mac_sta_add()
681 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_mac_sta_remove() local
686 phy = mvif->mt76.band_idx ? mt7615_ext_phy(dev) : &dev->phy; in mt7615_mac_sta_remove()
766 struct mt7615_vif *mvif; in mt7615_tx() local
768 mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_tx()
769 msta = &mvif->sta; in mt7615_tx()
899 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_get_tsf() local
905 u16 idx = mvif->mt76.omac_idx; in mt7615_get_tsf()
927 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_set_tsf() local
933 u16 idx = mvif->mt76.omac_idx; in mt7615_set_tsf()
953 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_offset_tsf() local
959 u16 idx = mvif->mt76.omac_idx; in mt7615_offset_tsf()