Lines Matching refs:mvif

192 	struct mt76_vif_link *mvif = (struct mt76_vif_link *)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_link *mvif = (struct mt76_vif_link *)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_link *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_link *mvif = (struct mt76_vif_link *)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()
501 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_sta_update_hdr_trans() local
506 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_sta_update_hdr_trans()
549 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_wtbl_generic_tlv() local
567 generic->muar_idx = mvif->omac_idx; in mt76_connac_mcu_wtbl_generic_tlv()
853 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_sta_tlv() local
854 struct cfg80211_chan_def *chandef = mvif->ctx ? in mt76_connac_mcu_sta_tlv()
855 &mvif->ctx->def : &mphy->chandef; in mt76_connac_mcu_sta_tlv()
1045 struct mt76_vif_link *mvif = (struct mt76_vif_link *)info->vif->drv_priv; in mt76_connac_mcu_sta_cmd() local
1056 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, info->wcid); in mt76_connac_mcu_sta_cmd()
1144 struct mt76_vif_link *mvif, in mt76_connac_mcu_uni_add_dev() argument
1164 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1165 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_dev()
1171 .link_idx = mvif->idx, in mt76_connac_mcu_uni_add_dev()
1182 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_add_dev()
1187 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1188 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_dev()
1189 .wmm_idx = mvif->wmm_idx, in mt76_connac_mcu_uni_add_dev()
1194 .link_idx = mvif->idx, in mt76_connac_mcu_uni_add_dev()
1220 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_dev()
1273 int mt76_connac_mcu_sta_ba(struct mt76_dev *dev, struct mt76_vif_link *mvif, in mt76_connac_mcu_sta_ba() argument
1283 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_sta_ba()
1306 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_sta_ba()
1411 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_get_he_phy_cap() local
1412 struct cfg80211_chan_def *chandef = mvif->ctx ? in mt76_connac_get_he_phy_cap()
1413 &mvif->ctx->def : &phy->chandef; in mt76_connac_get_he_phy_cap()
1460 int mt76_connac_mcu_uni_set_chctx(struct mt76_phy *phy, struct mt76_vif_link *mvif, in mt76_connac_mcu_uni_set_chctx() argument
1489 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_set_chctx()
1548 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_uni_add_bss() local
1561 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_add_bss()
1568 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_bss()
1569 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_bss()
1570 .wmm_idx = mvif->wmm_idx, in mt76_connac_mcu_uni_add_bss()
1583 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_bss()
1637 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_add_bss()
1666 return mt76_connac_mcu_uni_set_chctx(phy, mvif, ctx); in mt76_connac_mcu_uni_add_bss()
1674 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_hw_scan() local
1692 mvif->scan_seq_num = (mvif->scan_seq_num + 1) & 0x7f; in mt76_connac_mcu_hw_scan()
1696 req->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt76_connac_mcu_hw_scan()
1697 req->bss_idx = mvif->idx; in mt76_connac_mcu_hw_scan()
1780 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_cancel_hw_scan() local
1786 .seq_num = mvif->scan_seq_num, in mt76_connac_mcu_cancel_hw_scan()
1806 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_sched_scan_req() local
1820 mvif->scan_seq_num = (mvif->scan_seq_num + 1) & 0x7f; in mt76_connac_mcu_sched_scan_req()
1824 req->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt76_connac_mcu_sched_scan_req()
1835 req->mt7921.bss_idx = mvif->idx; in mt76_connac_mcu_sched_scan_req()
2221 struct ieee80211_vif *mvif = container_of(info, struct ieee80211_vif, in mt76_connac_mcu_update_arp_filter() local
2224 int i, len = min_t(int, mvif->cfg.arp_addr_cnt, in mt76_connac_mcu_update_arp_filter()
2252 skb_put_data(skb, &mvif->cfg.arp_addr_list[i], sizeof(__be32)); in mt76_connac_mcu_update_arp_filter()
2261 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_set_p2p_oppps() local
2270 .bss_idx = mvif->idx, in mt76_connac_mcu_set_p2p_oppps()
2328 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_update_gtk_rekey() local
2336 .bss_idx = mvif->idx, in mt76_connac_mcu_update_gtk_rekey()
2369 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_set_arp_filter() local
2378 .bss_idx = mvif->idx, in mt76_connac_mcu_set_arp_filter()
2395 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_set_gtk_rekey() local
2404 .bss_idx = mvif->idx, in mt76_connac_mcu_set_gtk_rekey()
2424 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_set_suspend_mode() local
2433 .bss_idx = mvif->idx, in mt76_connac_mcu_set_suspend_mode()
2455 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_set_wow_pattern() local
2462 .bss_idx = mvif->idx, in mt76_connac_mcu_set_wow_pattern()
2487 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_set_wow_ctrl() local
2498 .bss_idx = mvif->idx, in mt76_connac_mcu_set_wow_ctrl()
2696 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_add_key() local
2700 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_add_key()
2718 void mt76_connac_mcu_bss_ext_tlv(struct sk_buff *skb, struct mt76_vif_link *mvif) in mt76_connac_mcu_bss_ext_tlv() argument
2724 ext_bss_idx = mvif->omac_idx - EXT_BSSID_START; in mt76_connac_mcu_bss_ext_tlv()
2742 struct mt76_vif_link *mvif = (struct mt76_vif_link *)vif->drv_priv; in mt76_connac_mcu_bss_basic_tlv() local
2793 bss->wmm_idx = mvif->wmm_idx; in mt76_connac_mcu_bss_basic_tlv()
2795 bss->cipher = mvif->cipher; in mt76_connac_mcu_bss_basic_tlv()