Lines Matching refs:mvif

190 	struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv;  in mt76_connac_mcu_set_vif_ps()  local
198 .bss_idx = mvif->idx, in mt76_connac_mcu_set_vif_ps()
233 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_beacon_loss_iter() local
236 if (mvif->idx != event->bss_idx) in mt76_connac_mcu_beacon_loss_iter()
274 __mt76_connac_mcu_alloc_sta_req(struct mt76_dev *dev, struct mt76_vif *mvif, in __mt76_connac_mcu_alloc_sta_req() argument
278 .bss_idx = mvif->idx, in __mt76_connac_mcu_alloc_sta_req()
279 .muar_idx = wcid ? mvif->omac_idx : 0, in __mt76_connac_mcu_alloc_sta_req()
327 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_bss_omac_tlv() local
328 u8 omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv()
360 omac->omac_idx = mvif->omac_idx; in mt76_connac_mcu_bss_omac_tlv()
361 omac->band_idx = mvif->band_idx; in mt76_connac_mcu_bss_omac_tlv()
492 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_sta_update_hdr_trans() local
497 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_sta_update_hdr_trans()
540 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_wtbl_generic_tlv() local
558 generic->muar_idx = mvif->omac_idx; in mt76_connac_mcu_wtbl_generic_tlv()
1021 struct mt76_vif *mvif = (struct mt76_vif *)info->vif->drv_priv; in mt76_connac_mcu_sta_cmd() local
1027 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, info->wcid); in mt76_connac_mcu_sta_cmd()
1114 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_uni_add_dev() local
1131 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1132 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_dev()
1148 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_add_dev()
1153 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_dev()
1154 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_dev()
1155 .wmm_idx = mvif->wmm_idx, in mt76_connac_mcu_uni_add_dev()
1182 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_dev()
1235 int mt76_connac_mcu_sta_ba(struct mt76_dev *dev, struct mt76_vif *mvif, in mt76_connac_mcu_sta_ba() argument
1245 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_sta_ba()
1268 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_sta_ba()
1418 int mt76_connac_mcu_uni_set_chctx(struct mt76_phy *phy, struct mt76_vif *mvif, in mt76_connac_mcu_uni_set_chctx() argument
1447 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_set_chctx()
1506 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_uni_add_bss() local
1519 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_add_bss()
1526 .omac_idx = mvif->omac_idx, in mt76_connac_mcu_uni_add_bss()
1527 .band_idx = mvif->band_idx, in mt76_connac_mcu_uni_add_bss()
1528 .wmm_idx = mvif->wmm_idx, in mt76_connac_mcu_uni_add_bss()
1541 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt76_connac_mcu_uni_add_bss()
1595 .bss_idx = mvif->idx, in mt76_connac_mcu_uni_add_bss()
1624 return mt76_connac_mcu_uni_set_chctx(phy, mvif, ctx); in mt76_connac_mcu_uni_add_bss()
1632 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_hw_scan() local
1650 mvif->scan_seq_num = (mvif->scan_seq_num + 1) & 0x7f; in mt76_connac_mcu_hw_scan()
1654 req->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt76_connac_mcu_hw_scan()
1655 req->bss_idx = mvif->idx; in mt76_connac_mcu_hw_scan()
1738 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_cancel_hw_scan() local
1744 .seq_num = mvif->scan_seq_num, in mt76_connac_mcu_cancel_hw_scan()
1764 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_sched_scan_req() local
1778 mvif->scan_seq_num = (mvif->scan_seq_num + 1) & 0x7f; in mt76_connac_mcu_sched_scan_req()
1782 req->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt76_connac_mcu_sched_scan_req()
1793 req->mt7921.bss_idx = mvif->idx; in mt76_connac_mcu_sched_scan_req()
2290 struct ieee80211_vif *mvif = container_of(info, struct ieee80211_vif, in mt76_connac_mcu_update_arp_filter() local
2293 int i, len = min_t(int, mvif->cfg.arp_addr_cnt, in mt76_connac_mcu_update_arp_filter()
2321 skb_put_data(skb, &mvif->cfg.arp_addr_list[i], sizeof(__be32)); in mt76_connac_mcu_update_arp_filter()
2330 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_p2p_oppps() local
2339 .bss_idx = mvif->idx, in mt76_connac_mcu_set_p2p_oppps()
2397 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_update_gtk_rekey() local
2405 .bss_idx = mvif->idx, in mt76_connac_mcu_update_gtk_rekey()
2438 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_arp_filter() local
2447 .bss_idx = mvif->idx, in mt76_connac_mcu_set_arp_filter()
2464 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_gtk_rekey() local
2473 .bss_idx = mvif->idx, in mt76_connac_mcu_set_gtk_rekey()
2492 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_suspend_mode() local
2501 .bss_idx = mvif->idx, in mt76_connac_mcu_set_suspend_mode()
2522 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_wow_pattern() local
2529 .bss_idx = mvif->idx, in mt76_connac_mcu_set_wow_pattern()
2554 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_set_wow_ctrl() local
2565 .bss_idx = mvif->idx, in mt76_connac_mcu_set_wow_ctrl()
2761 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_add_key() local
2765 skb = mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid); in mt76_connac_mcu_add_key()
2783 void mt76_connac_mcu_bss_ext_tlv(struct sk_buff *skb, struct mt76_vif *mvif) in mt76_connac_mcu_bss_ext_tlv() argument
2789 ext_bss_idx = mvif->omac_idx - EXT_BSSID_START; in mt76_connac_mcu_bss_ext_tlv()
2807 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt76_connac_mcu_bss_basic_tlv() local
2858 bss->wmm_idx = mvif->wmm_idx; in mt76_connac_mcu_bss_basic_tlv()
2860 bss->cipher = mvif->cipher; in mt76_connac_mcu_bss_basic_tlv()