Lines Matching refs:mvif

126 	struct ieee80211_vif *mvif = container_of((void *)link_conf->vif,  in mt7925_mcu_update_arp_filter()  local
131 int i, len = min_t(int, mvif->cfg.arp_addr_cnt, in mt7925_mcu_update_arp_filter()
157 skb_put_data(skb, &mvif->cfg.arp_addr_list[i], sizeof(__be32)); in mt7925_mcu_update_arp_filter()
169 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7925_connac_mcu_set_wow_ctrl() local
180 .bss_idx = mvif->idx, in mt7925_connac_mcu_set_wow_ctrl()
224 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7925_mcu_set_wow_pattern() local
231 .bss_idx = mvif->idx, in mt7925_mcu_set_wow_pattern()
279 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7925_mcu_connection_loss_iter() local
282 if (mvif->idx != event->hdr.bss_idx) in mt7925_mcu_connection_loss_iter()
309 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7925_mcu_roc_iter() local
315 if (mvif->idx != grant->bss_idx) in mt7925_mcu_roc_iter()
318 mvif->band_idx = grant->dbdcband; in mt7925_mcu_roc_iter()
533 mt7925_mcu_sta_ba(struct mt76_dev *dev, struct mt76_vif *mvif, in mt7925_mcu_sta_ba() argument
544 skb = __mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid, in mt7925_mcu_sta_ba()
569 struct mt792x_vif *mvif = msta->vif; in mt7925_mcu_uni_tx_ba() local
574 return mt7925_mcu_sta_ba(&dev->mt76, &mvif->bss_conf.mt76, params, in mt7925_mcu_uni_tx_ba()
583 struct mt792x_vif *mvif = msta->vif; in mt7925_mcu_uni_rx_ba() local
585 return mt7925_mcu_sta_ba(&dev->mt76, &mvif->bss_conf.mt76, params, in mt7925_mcu_uni_rx_ba()
901 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_mcu_sta_hdr_trans_tlv() local
922 wcid = &mvif->sta.deflink.wcid; in mt7925_mcu_sta_hdr_trans_tlv()
940 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_mcu_wtbl_update_hdr_trans() local
947 msta = sta ? (struct mt792x_sta *)sta->drv_priv : &mvif->sta; in mt7925_mcu_wtbl_update_hdr_trans()
951 mconf = mt792x_vif_to_link(mvif, link_id); in mt7925_mcu_wtbl_update_hdr_trans()
1028 struct mt792x_vif *mvif = msta->vif; in mt7925_mcu_sta_key_tlv() local
1029 struct mt792x_bss_conf *mconf = mt792x_vif_to_link(mvif, wcid->link_id); in mt7925_mcu_sta_key_tlv()
1035 sta = msta == &mvif->sta ? in mt7925_mcu_sta_key_tlv()
1038 vif = container_of((void *)mvif, struct ieee80211_vif, drv_priv); in mt7925_mcu_sta_key_tlv()
1110 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_mcu_add_key() local
1111 struct mt792x_bss_conf *mconf = mt792x_vif_to_link(mvif, wcid->link_id); in mt7925_mcu_add_key()
1130 struct mt792x_vif *mvif = mconf->vif; in mt7925_mcu_set_mlo_roc() local
1131 struct ieee80211_vif *vif = container_of((void *)mvif, in mt7925_mcu_set_mlo_roc()
1173 links[i].mconf = mt792x_vif_to_link(mvif, links[i].id); in mt7925_mcu_set_mlo_roc()
1217 return mt76_mcu_send_msg(&mvif->phy->dev->mt76, MCU_UNI_CMD(ROC), in mt7925_mcu_set_mlo_roc()
1589 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_mcu_sta_phy_tlv() local
1598 mconf = mt792x_vif_to_link(mvif, link_sta->link_id); in mt7925_mcu_sta_phy_tlv()
1604 phy->phy_type = mt76_connac_get_phy_mode_v2(mvif->phy->mt76, vif, in mt7925_mcu_sta_phy_tlv()
1666 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_mcu_sta_rate_ctrl_tlv() local
1676 mconf = mt792x_vif_to_link(mvif, link_sta->link_id); in mt7925_mcu_sta_rate_ctrl_tlv()
1703 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_mcu_sta_eht_mld_tlv() local
1704 struct wiphy *wiphy = mvif->phy->mt76->hw->wiphy; in mt7925_mcu_sta_eht_mld_tlv()
1739 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_mcu_sta_mld_tlv() local
1741 unsigned long valid = mvif->valid_links; in mt7925_mcu_sta_mld_tlv()
1753 mld->link_num = min_t(u8, hweight16(mvif->valid_links), 2); in mt7925_mcu_sta_mld_tlv()
1759 mconf = mt792x_vif_to_link(mvif, i); in mt7925_mcu_sta_mld_tlv()
1773 struct mt76_vif *mvif = (struct mt76_vif *)info->vif->drv_priv; in mt7925_mcu_sta_cmd() local
1778 skb = __mt76_connac_mcu_alloc_sta_req(dev, mvif, info->wcid, in mt7925_mcu_sta_cmd()
1827 struct mt792x_vif *mvif = (struct mt792x_vif *)info->vif->drv_priv; in mt7925_mcu_mlo_sta_cmd() local
1832 mconf = mt792x_vif_to_link(mvif, info->wcid->link_id); in mt7925_mcu_mlo_sta_cmd()
1881 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_mcu_sta_update() local
1882 int rssi = -ewma_rssi_read(&mvif->bss_conf.rssi); in mt7925_mcu_sta_update()
1900 info.wcid = link_sta ? &mlink->wcid : &mvif->sta.deflink.wcid; in mt7925_mcu_sta_update()
1917 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_mcu_set_beacon_filter() local
1919 mvif->valid_links : BIT(0); in mt7925_mcu_set_beacon_filter()
1979 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_mcu_set_sniffer() local
1994 .band_idx = mvif->bss_conf.mt76.band_idx, in mt7925_mcu_set_sniffer()
2087 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_mcu_uni_add_beacon_offload() local
2114 .bss_idx = mvif->bss_conf.mt76.idx, in mt7925_mcu_uni_add_beacon_offload()
2222 __mt7925_mcu_alloc_bss_req(struct mt76_dev *dev, struct mt76_vif *mvif, int len) in __mt7925_mcu_alloc_bss_req() argument
2225 .bss_idx = mvif->idx, in __mt7925_mcu_alloc_bss_req()
2238 int mt7925_mcu_set_chctx(struct mt76_phy *phy, struct mt76_vif *mvif, in mt7925_mcu_set_chctx() argument
2244 skb = __mt7925_mcu_alloc_bss_req(phy->dev, mvif, in mt7925_mcu_set_chctx()
2391 struct mt76_vif *mvif = &mconf->mt76; in mt7925_mcu_bss_sec_tlv() local
2405 switch (mvif->cipher) { in mt7925_mcu_bss_sec_tlv()
2430 sec->cipher = mvif->cipher; in mt7925_mcu_bss_sec_tlv()
2442 struct mt76_vif *mvif = &mconf->mt76; in mt7925_mcu_bss_bmc_tlv() local
2445 u8 idx = mvif->mcast_rates_idx ? in mt7925_mcu_bss_bmc_tlv()
2446 mvif->mcast_rates_idx : mvif->basic_rates_idx; in mt7925_mcu_bss_bmc_tlv()
2467 struct mt792x_vif *mvif = (struct mt792x_vif *)link_conf->vif->drv_priv; in mt7925_mcu_bss_mld_tlv() local
2473 (hweight16(mvif->valid_links) > 1); in mt7925_mcu_bss_mld_tlv()
2480 mld->group_mld_id = is_mld ? mvif->bss_conf.mt76.idx : 0xff; in mt7925_mcu_bss_mld_tlv()
2548 struct mt792x_vif *mvif = (struct mt792x_vif *)link_conf->vif->drv_priv; in mt7925_mcu_bss_ifs_tlv() local
2549 struct mt792x_phy *phy = mvif->phy; in mt7925_mcu_bss_ifs_tlv()
2583 struct mt792x_vif *mvif = (struct mt792x_vif *)link_conf->vif->drv_priv; in mt7925_mcu_add_bss_info() local
2594 mlink_bc = mt792x_sta_to_link(&mvif->sta, mconf->link_id); in mt7925_mcu_add_bss_info()
2651 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7925_mcu_hw_scan() local
2678 mvif->scan_seq_num = (mvif->scan_seq_num + 1) & 0x7f; in mt7925_mcu_hw_scan()
2681 hdr->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt7925_mcu_hw_scan()
2682 hdr->bss_idx = mvif->idx; in mt7925_mcu_hw_scan()
2768 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7925_mcu_sched_scan_req() local
2793 mvif->scan_seq_num = (mvif->scan_seq_num + 1) & 0x7f; in mt7925_mcu_sched_scan_req()
2796 hdr->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt7925_mcu_sched_scan_req()
2797 hdr->bss_idx = mvif->idx; in mt7925_mcu_sched_scan_req()
2904 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7925_mcu_cancel_hw_scan() local
2919 .seq_num = mvif->scan_seq_num, in mt7925_mcu_cancel_hw_scan()
2920 .bss_idx = mvif->idx, in mt7925_mcu_cancel_hw_scan()