Lines Matching refs:mvif
192 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_vif_ps() local
200 .bss_idx = mvif->idx, in mt76_connac_mcu_set_vif_ps()
235 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_beacon_loss_iter() local
238 if (mvif->idx != event->bss_idx) in mt76_connac_mcu_beacon_loss_iter()
276 __mt76_connac_mcu_alloc_sta_req(struct mt76_dev *dev, struct mt76_vif *mvif, in __mt76_connac_mcu_alloc_sta_req() argument
280 .bss_idx = mvif->idx, in __mt76_connac_mcu_alloc_sta_req()
281 .muar_idx = wcid ? mvif->omac_idx : 0, in __mt76_connac_mcu_alloc_sta_req()
332 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_bss_omac_tlv() local
333 u8 omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv()
365 omac->omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv()
366 omac->band_idx = mvif->band_idx; in mt76_connac_mcu_bss_omac_tlv()
500 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_sta_update_hdr_trans() local
505 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_sta_update_hdr_trans()
548 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_wtbl_generic_tlv() local
566 generic->muar_idx = mvif->omac_idx; in mt76_connac_mcu_wtbl_generic_tlv()
852 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_sta_tlv() local
853 struct cfg80211_chan_def *chandef = mvif->ctx ? in mt76_connac_mcu_sta_tlv()
854 &mvif->ctx->def : &mphy->chandef; in mt76_connac_mcu_sta_tlv()
1044 struct mt76_vif *mvif = (struct mt76_vif *)info->vif->drv_priv; in mt76_connac_mcu_sta_cmd() local
1052 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, info->wcid); in mt76_connac_mcu_sta_cmd()
1143 struct mt76_vif *mvif = (struct mt76_vif *)bss_conf->vif->drv_priv; in mt76_connac_mcu_uni_add_dev() local
1160 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1161 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_dev()
1167 .link_idx = mvif->idx, in mt76_connac_mcu_uni_add_dev()
1178 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_add_dev()
1183 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1184 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_dev()
1185 .wmm_idx = mvif->wmm_idx, in mt76_connac_mcu_uni_add_dev()
1190 .link_idx = mvif->idx, in mt76_connac_mcu_uni_add_dev()
1213 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_dev()
1266 int mt76_connac_mcu_sta_ba(struct mt76_dev *dev, struct mt76_vif *mvif, in mt76_connac_mcu_sta_ba() argument
1276 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_sta_ba()
1299 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_sta_ba()
1404 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_get_he_phy_cap() local
1405 struct cfg80211_chan_def *chandef = mvif->ctx ? in mt76_connac_get_he_phy_cap()
1406 &mvif->ctx->def : &phy->chandef; in mt76_connac_get_he_phy_cap()
1453 int mt76_connac_mcu_uni_set_chctx(struct mt76_phy *phy, struct mt76_vif *mvif, in mt76_connac_mcu_uni_set_chctx() argument
1482 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_set_chctx()
1541 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_uni_add_bss() local
1554 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_add_bss()
1561 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_bss()
1562 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_bss()
1563 .wmm_idx = mvif->wmm_idx, in mt76_connac_mcu_uni_add_bss()
1576 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_bss()
1630 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_add_bss()
1659 return mt76_connac_mcu_uni_set_chctx(phy, mvif, ctx); in mt76_connac_mcu_uni_add_bss()
1667 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_hw_scan() local
1685 mvif->scan_seq_num = (mvif->scan_seq_num + 1) & 0x7f; in mt76_connac_mcu_hw_scan()
1689 req->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt76_connac_mcu_hw_scan()
1690 req->bss_idx = mvif->idx; in mt76_connac_mcu_hw_scan()
1773 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_cancel_hw_scan() local
1779 .seq_num = mvif->scan_seq_num, in mt76_connac_mcu_cancel_hw_scan()
1799 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_sched_scan_req() local
1813 mvif->scan_seq_num = (mvif->scan_seq_num + 1) & 0x7f; in mt76_connac_mcu_sched_scan_req()
1817 req->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt76_connac_mcu_sched_scan_req()
1828 req->mt7921.bss_idx = mvif->idx; in mt76_connac_mcu_sched_scan_req()
2214 struct ieee80211_vif *mvif = container_of(info, struct ieee80211_vif, in mt76_connac_mcu_update_arp_filter() local
2217 int i, len = min_t(int, mvif->cfg.arp_addr_cnt, in mt76_connac_mcu_update_arp_filter()
2245 skb_put_data(skb, &mvif->cfg.arp_addr_list[i], sizeof(__be32)); in mt76_connac_mcu_update_arp_filter()
2254 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_p2p_oppps() local
2263 .bss_idx = mvif->idx, in mt76_connac_mcu_set_p2p_oppps()
2321 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_update_gtk_rekey() local
2329 .bss_idx = mvif->idx, in mt76_connac_mcu_update_gtk_rekey()
2362 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_arp_filter() local
2371 .bss_idx = mvif->idx, in mt76_connac_mcu_set_arp_filter()
2388 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_gtk_rekey() local
2397 .bss_idx = mvif->idx, in mt76_connac_mcu_set_gtk_rekey()
2417 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_suspend_mode() local
2426 .bss_idx = mvif->idx, in mt76_connac_mcu_set_suspend_mode()
2448 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_wow_pattern() local
2455 .bss_idx = mvif->idx, in mt76_connac_mcu_set_wow_pattern()
2480 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_wow_ctrl() local
2491 .bss_idx = mvif->idx, in mt76_connac_mcu_set_wow_ctrl()
2689 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_add_key() local
2693 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_add_key()
2711 void mt76_connac_mcu_bss_ext_tlv(struct sk_buff *skb, struct mt76_vif *mvif) in mt76_connac_mcu_bss_ext_tlv() argument
2717 ext_bss_idx = mvif->omac_idx - EXT_BSSID_START; in mt76_connac_mcu_bss_ext_tlv()
2735 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_bss_basic_tlv() local
2786 bss->wmm_idx = mvif->wmm_idx; in mt76_connac_mcu_bss_basic_tlv()
2788 bss->cipher = mvif->cipher; in mt76_connac_mcu_bss_basic_tlv()