/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | main.c | 287 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7921_add_interface() local 295 mvif->mt76.idx = __ffs64(~dev->mt76.vif_mask); in mt7921_add_interface() 296 if (mvif->mt76.idx >= MT792x_MAX_INTERFACES) { in mt7921_add_interface() 301 mvif->mt76.omac_idx = mvif->mt76.idx; in mt7921_add_interface() 302 mvif->phy = phy; in mt7921_add_interface() 303 mvif->mt76.band_idx = 0; in mt7921_add_interface() 304 mvif->mt76.wmm_idx = mvif->mt76.idx % MT76_CONNAC_MAX_WMM_SETS; in mt7921_add_interface() 306 ret = mt76_connac_mcu_uni_add_dev(&dev->mphy, vif, &mvif in mt7921_add_interface() 344 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_roc_iter() local 419 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_remain_on_channel() local 433 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_cancel_remain_on_channel() local 476 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_set_key() local 698 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_bss_info_changed() local 712 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_mac_sta_add() local 753 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_mac_sta_assoc() local 787 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_mac_sta_remove() local 1097 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_ipv6_addr_change() local 1203 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_start_ap() local 1231 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_stop_ap() local 1265 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_ctx_iter() local 1295 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_mgd_prepare_tx() local 1310 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_mgd_complete_tx() local [all...] |
H A D | mcu.c | 99 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7921_mcu_set_ipv6_ns_filter() local 108 .bss_idx = mvif->mt76.idx, in mt7921_mcu_set_ipv6_ns_filter() 177 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7921_mcu_connection_loss_iter() local 180 if (mvif->idx != event->bss_idx) in mt7921_mcu_connection_loss_iter() 487 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7921_mcu_set_tx() local 503 .bss_idx = mvif->mt76.idx, in mt7921_mcu_set_tx() 505 .wmm_idx = mvif->mt76.wmm_idx, in mt7921_mcu_set_tx() 526 .bss_idx = mvif->mt76.idx, in mt7921_mcu_set_tx() 528 .wmm_idx = mvif->mt76.wmm_idx, in mt7921_mcu_set_tx() 534 struct ieee80211_tx_queue_params *q = &mvif in mt7921_mcu_set_tx() 753 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_mcu_uni_bss_ps() local 792 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_mcu_uni_bss_bcnft() local 828 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_mcu_set_bss_pm() local 866 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_mcu_sta_update() local 947 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt7921_mcu_set_sniffer() local 1048 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt7921_mcu_uni_add_beacon_offload() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | main.c | 119 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; in mt7915_add_interface() local 128 mvif->idx = ffs(~phy->mt76->vif_mask) - 1; in mt7915_add_interface() 129 if (mvif->idx >= MT7915_MAX_INTERFACES) { in mt7915_add_interface() 139 mvif->omac_idx = idx; in mt7915_add_interface() 140 mvif->phy = phy; in mt7915_add_interface() 141 mvif->band_idx = ext_phy; in mt7915_add_interface() 144 mvif->wmm_idx = ext_phy * (MT7915_MAX_WMM_SETS / 2) + in mt7915_add_interface() 145 mvif->idx % (MT7915_MAX_WMM_SETS / 2); in mt7915_add_interface() 147 mvif->wmm_idx = mvif in mt7915_add_interface() 183 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_remove_interface() local 265 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_set_key() local 353 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_conf_tx() local 488 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mac_sta_add() local 555 struct mt7915_vif *mvif; mt7915_tx() local 673 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_get_tsf() local 700 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_set_tsf() local [all...] |
H A D | mcu.c | 168 struct mt7915_vif *mvif; in mt7915_get_phy_mode() local 170 mvif = (struct mt7915_vif *)vif->drv_priv; in mt7915_get_phy_mode() 171 phy = mvif->band_idx ? mt7915_ext_phy(dev) : &dev->phy; in mt7915_get_phy_mode() 627 mt7915_mcu_alloc_sta_req(struct mt7915_dev *dev, struct mt7915_vif *mvif, in mt7915_mcu_alloc_sta_req() argument 631 .bss_idx = mvif->idx, in mt7915_mcu_alloc_sta_req() 634 .muar_idx = msta && msta->wcid.sta ? mvif->omac_idx : 0xe, in mt7915_mcu_alloc_sta_req() 731 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; in mt7915_mcu_bss_basic_tlv() local 735 u16 wlan_idx = mvif->sta.wcid.idx; in mt7915_mcu_bss_basic_tlv() 779 bss->wmm_idx = mvif->wmm_idx; in mt7915_mcu_bss_basic_tlv() 788 struct mt7915_vif *mvif in mt7915_mcu_bss_omac_tlv() local 970 mt7915_mcu_bss_ext_tlv(struct sk_buff *skb, struct mt7915_vif *mvif) mt7915_mcu_bss_ext_tlv() argument 1025 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_bss_info() local 1123 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_key() local 1196 struct mt7915_vif *mvif = msta->vif; mt7915_mcu_sta_ba() local 1251 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_wtbl_generic_tlv() local 1556 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_mu() local 1699 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_smps() local 1995 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_txbf() local 2191 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_rate_ctrl() local 2211 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_group() local 2262 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_sta() local 2297 struct mt7915_vif *mvif = msta->vif; mt7915_mcu_set_fixed_rate() local 2342 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_dev_info() local 2428 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_beacon() local 2997 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_set_tx() local 3390 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_obss_spr() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | main.c | 38 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_add_interface() local 47 mvif->idx = __ffs64(~dev->mt76.vif_mask); in mt7603_add_interface() 48 if (mvif->idx >= MT7603_MAX_INTERFACES) { in mt7603_add_interface() 53 mt76_wr(dev, MT_MAC_ADDR0(mvif->idx), in mt7603_add_interface() 55 mt76_wr(dev, MT_MAC_ADDR1(mvif->idx), in mt7603_add_interface() 60 mt76_wr(dev, MT_BSSID0(mvif->idx), in mt7603_add_interface() 62 mt76_wr(dev, MT_BSSID1(mvif->idx), in mt7603_add_interface() 67 idx = MT7603_WTBL_RESERVED - 1 - mvif->idx; in mt7603_add_interface() 68 dev->mt76.vif_mask |= BIT_ULL(mvif->idx); in mt7603_add_interface() 69 INIT_LIST_HEAD(&mvif in mt7603_add_interface() 91 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mt7603_remove_interface() local 304 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mt7603_bss_info_changed() local 347 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mt7603_sta_add() local 385 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mt7603_sta_remove() local 492 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mt7603_set_key() local 694 struct mt7603_vif *mvif; mt7603_tx() local [all...] |
H A D | beacon.c | 34 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_update_beacon_iter() local 36 u32 om_idx = mvif->idx; in mt7603_update_beacon_iter() 39 if (!(mdev->beacon_mask & BIT(mvif->idx))) in mt7603_update_beacon_iter() 70 MT_TXQ_BEACON, skb, &mvif->sta.wcid, NULL); in mt7603_update_beacon_iter() 81 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_add_buffered_bc() local 85 if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) in mt7603_add_buffered_bc() 97 data->tail[mvif->idx] = skb; in mt7603_add_buffered_bc() 98 data->count[mvif->idx]++; in mt7603_add_buffered_bc() 163 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_pre_tbtt_tasklet() local 165 mt76_tx_queue_skb(dev, q, MT_TXQ_CAB, skb, &mvif in mt7603_pre_tbtt_tasklet() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | main.c | 146 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_init_bitrate_mask() local 149 for (i = 0; i < ARRAY_SIZE(mvif->bitrate_mask.control); i++) { in mt7996_init_bitrate_mask() 150 mvif->bitrate_mask.control[i].gi = NL80211_TXRATE_DEFAULT_GI; in mt7996_init_bitrate_mask() 151 mvif->bitrate_mask.control[i].he_gi = 0xff; in mt7996_init_bitrate_mask() 152 mvif->bitrate_mask.control[i].he_ltf = 0xff; in mt7996_init_bitrate_mask() 153 mvif->bitrate_mask.control[i].legacy = GENMASK(31, 0); in mt7996_init_bitrate_mask() 154 memset(mvif->bitrate_mask.control[i].ht_mcs, 0xff, in mt7996_init_bitrate_mask() 155 sizeof(mvif->bitrate_mask.control[i].ht_mcs)); in mt7996_init_bitrate_mask() 156 memset(mvif->bitrate_mask.control[i].vht_mcs, 0xff, in mt7996_init_bitrate_mask() 157 sizeof(mvif in mt7996_init_bitrate_mask() 166 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_add_interface() local 245 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_remove_interface() local 315 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_set_key() local 416 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_conf_tx() local 496 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_update_bss_color() local 514 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt7996_get_rates_table() local 543 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_update_mu_group() local 564 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt7996_bss_info_changed() local 654 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mac_sta_add() local 724 struct mt7996_vif *mvif; mt7996_tx() local 838 __mt7996_get_tsf(struct ieee80211_hw *hw, struct mt7996_vif *mvif) __mt7996_get_tsf() argument 864 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_get_tsf() local 879 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_set_tsf() local 905 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_offset_tsf() local 1037 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_set_bitrate_mask() local 1233 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_get_et_stats() local [all...] |
H A D | mcu.c | 607 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7996_mcu_bss_bmc_tlv() local 612 u8 idx = mvif->mcast_rates_idx ? in mt7996_mcu_bss_bmc_tlv() 613 mvif->mcast_rates_idx : mvif->basic_rates_idx; in mt7996_mcu_bss_bmc_tlv() 639 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_bss_mld_tlv() local 647 mld->own_mld_id = mvif->mt76.idx; in mt7996_mcu_bss_mld_tlv() 654 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7996_mcu_bss_sec_tlv() local 661 sec->cipher = mvif->cipher; in mt7996_mcu_bss_sec_tlv() 670 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_muar_config() local 671 u32 idx = mvif in mt7996_mcu_muar_config() 711 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_bss_ifs_timing_tlv() local 743 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt7996_mcu_bss_basic_tlv() local 815 __mt7996_mcu_alloc_bss_req(struct mt76_dev *dev, struct mt76_vif *mvif, int len) __mt7996_mcu_alloc_bss_req() argument 834 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_add_bss_info() local 876 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_set_timing() local 892 mt7996_mcu_sta_ba(struct mt76_dev *dev, struct mt76_vif *mvif, struct ieee80211_ampdu_params *params, bool enable, bool tx) mt7996_mcu_sta_ba() argument 926 struct mt7996_vif *mvif = msta->vif; mt7996_mcu_add_tx_ba() local 940 struct mt7996_vif *mvif = msta->vif; mt7996_mcu_add_rx_ba() local 1410 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_sta_bfer_tlv() local 1481 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_sta_bfee_tlv() local 1643 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_sta_rate_ctrl_tlv() local 1745 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_add_rate_ctrl() local 1776 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_add_group() local 1805 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_add_sta() local 1936 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt7996_mcu_add_key() local 1956 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_add_dev_info() local 2043 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_add_beacon() local 2095 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_beacon_inband_discov() local 2680 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_set_tx() local 3426 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_set_obss_spr_siga() local 3546 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_update_bss_color() local 3569 mt7996_mcu_twt_agrt_update(struct mt7996_dev *dev, struct mt7996_vif *mvif, struct mt7996_twt_flow *flow, int cmd) mt7996_mcu_twt_agrt_update() argument 3698 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; mt7996_mcu_wtbl_update_hdr_trans() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | main.c | 38 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_add_interface() local 47 mvif->idx = ffs(~dev->mphy.vif_mask) - 1; in mt7603_add_interface() 48 if (mvif->idx >= MT7603_MAX_INTERFACES) { in mt7603_add_interface() 53 mt76_wr(dev, MT_MAC_ADDR0(mvif->idx), in mt7603_add_interface() 55 mt76_wr(dev, MT_MAC_ADDR1(mvif->idx), in mt7603_add_interface() 60 mt76_wr(dev, MT_BSSID0(mvif->idx), in mt7603_add_interface() 62 mt76_wr(dev, MT_BSSID1(mvif->idx), in mt7603_add_interface() 67 idx = MT7603_WTBL_RESERVED - 1 - mvif->idx; in mt7603_add_interface() 68 dev->mphy.vif_mask |= BIT(mvif->idx); in mt7603_add_interface() 69 INIT_LIST_HEAD(&mvif in mt7603_add_interface() 89 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mt7603_remove_interface() local 282 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mt7603_bss_info_changed() local 325 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mt7603_sta_add() local 466 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; mt7603_set_key() local 667 struct mt7603_vif *mvif; mt7603_tx() local [all...] |
H A D | beacon.c | 16 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_update_beacon_iter() local 19 if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) in mt7603_update_beacon_iter() 26 mt76_tx_queue_skb(dev, MT_TXQ_BEACON, skb, &mvif->sta.wcid, NULL); in mt7603_update_beacon_iter() 30 FIELD_PREP(MT_DMA_FQCR0_TARGET_WCID, mvif->sta.wcid.idx) | in mt7603_update_beacon_iter() 47 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_add_buffered_bc() local 51 if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) in mt7603_add_buffered_bc() 63 data->tail[mvif->idx] = skb; in mt7603_add_buffered_bc() 64 data->count[mvif->idx]++; in mt7603_add_buffered_bc() 121 struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; in mt7603_pre_tbtt_tasklet() local 123 mt76_tx_queue_skb(dev, MT_TXQ_CAB, skb, &mvif in mt7603_pre_tbtt_tasklet() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | main.c | 187 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; in mt7915_init_bitrate_mask() local 190 for (i = 0; i < ARRAY_SIZE(mvif->bitrate_mask.control); i++) { in mt7915_init_bitrate_mask() 191 mvif->bitrate_mask.control[i].gi = NL80211_TXRATE_DEFAULT_GI; in mt7915_init_bitrate_mask() 192 mvif->bitrate_mask.control[i].he_gi = 0xff; in mt7915_init_bitrate_mask() 193 mvif->bitrate_mask.control[i].he_ltf = 0xff; in mt7915_init_bitrate_mask() 194 mvif->bitrate_mask.control[i].legacy = GENMASK(31, 0); in mt7915_init_bitrate_mask() 195 memset(mvif->bitrate_mask.control[i].ht_mcs, 0xff, in mt7915_init_bitrate_mask() 196 sizeof(mvif->bitrate_mask.control[i].ht_mcs)); in mt7915_init_bitrate_mask() 197 memset(mvif->bitrate_mask.control[i].vht_mcs, 0xff, in mt7915_init_bitrate_mask() 198 sizeof(mvif in mt7915_init_bitrate_mask() 207 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_add_interface() local 287 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_remove_interface() local 369 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_set_key() local 508 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_conf_tx() local 583 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_update_bss_color() local 667 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_vif_check_caps() local 732 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mac_sta_add() local 802 struct mt7915_vif *mvif; mt7915_tx() local 918 __mt7915_get_tsf(struct ieee80211_hw *hw, struct mt7915_vif *mvif) __mt7915_get_tsf() argument 949 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_get_tsf() local 964 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_set_tsf() local 995 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_offset_tsf() local 1160 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_set_bitrate_mask() local 1425 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_get_et_stats() local 1622 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_net_fill_forward_path() local [all...] |
H A D | mcu.c | 606 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; in mt7915_mcu_muar_config() local 607 u32 idx = mvif->mt76.omac_idx - REPEATER_BSSID_START; in mt7915_mcu_muar_config() 642 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; in mt7915_mcu_add_bss_info() local 646 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) { in mt7915_mcu_add_bss_info() 651 skb = __mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, NULL, in mt7915_mcu_add_bss_info() 661 mvif->sta.wcid.idx, enable); in mt7915_mcu_add_bss_info() 675 if (mvif->mt76.omac_idx >= EXT_BSSID_START && in mt7915_mcu_add_bss_info() 676 mvif->mt76.omac_idx < REPEATER_BSSID_START) in mt7915_mcu_add_bss_info() 677 mt76_connac_mcu_bss_ext_tlv(skb, &mvif->mt76); in mt7915_mcu_add_bss_info() 690 struct mt7915_vif *mvif in mt7915_mcu_add_tx_ba() local 705 struct mt7915_vif *mvif = msta->vif; mt7915_mcu_add_rx_ba() local 716 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_sta_he_tlv() local 859 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_sta_muru_tlv() local 986 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_sta_wtbl_tlv() local 1017 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_is_ebf_supported() local 1187 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_sta_bfer_tlv() local 1256 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_sta_bfee_tlv() local 1308 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_set_fixed_rate_ctrl() local 1351 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_smps() local 1385 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_set_spe_idx() local 1398 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_rate_ctrl_fixed() local 1487 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_sta_rate_ctrl_tlv() local 1589 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_rate_ctrl() local 1628 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_group() local 1654 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_sta() local 1737 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_dev_info() local 1893 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_inband_discov() local 1975 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_add_beacon() local 2477 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_set_tx() local 3503 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_set_obss_spr_siga() local 3620 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_get_rx_rate() local 3726 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; mt7915_mcu_update_bss_color() local 3750 mt7915_mcu_twt_agrt_update(struct mt7915_dev *dev, struct mt7915_vif *mvif, struct mt7915_twt_flow *flow, int cmd) mt7915_mcu_twt_agrt_update() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | main.c | 154 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_add_interface() local 169 mvif->idx = ffs(~dev->mphy.vif_mask) - 1; in mt7615_add_interface() 170 if (mvif->idx >= MT7615_MAX_INTERFACES) { in mt7615_add_interface() 180 mvif->omac_idx = idx; in mt7615_add_interface() 182 mvif->band_idx = ext_phy; in mt7615_add_interface() 184 mvif->wmm_idx = ext_phy * (MT7615_MAX_WMM_SETS / 2) + in mt7615_add_interface() 185 mvif->idx % (MT7615_MAX_WMM_SETS / 2); in mt7615_add_interface() 187 mvif->wmm_idx = mvif->idx % MT7615_MAX_WMM_SETS; in mt7615_add_interface() 189 dev->mphy.vif_mask |= BIT(mvif in mt7615_add_interface() 232 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_remove_interface() local 375 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_set_key() local 473 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_conf_tx() local 604 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mac_sta_add() local 650 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mac_sta_remove() local 731 struct mt7615_vif *mvif; mt7615_tx() local [all...] |
H A D | mcu.c | 544 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_mcu_beacon_loss_iter() local 547 if (mvif->idx != event->bss_idx) in mt7615_mcu_beacon_loss_iter() 664 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_mcu_add_dev() local 682 .omac_idx = mvif->omac_idx, in mt7615_mcu_add_dev() 683 .band_idx = mvif->band_idx, in mt7615_mcu_add_dev() 691 .band_idx = mvif->band_idx, in mt7615_mcu_add_dev() 705 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_mcu_add_beacon_offload() local 725 .omac_idx = mvif->omac_idx, in mt7615_mcu_add_beacon_offload() 728 .band_idx = mvif->band_idx, in mt7615_mcu_add_beacon_offload() 742 if (mvif in mt7615_mcu_add_beacon_offload() 797 mt7615_mcu_alloc_sta_req(struct mt7615_dev *dev, struct mt7615_vif *mvif, struct mt7615_sta *msta) mt7615_mcu_alloc_sta_req() argument 880 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_bss_basic_tlv() local 924 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_bss_omac_tlv() local 965 mt7615_mcu_bss_ext_tlv(struct sk_buff *skb, struct mt7615_vif *mvif) mt7615_mcu_bss_ext_tlv() argument 1158 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_wtbl_generic_tlv() local 1273 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_add_bss() local 1299 struct mt7615_vif *mvif = msta->vif; mt7615_mcu_wtbl_tx_ba() local 1331 struct mt7615_vif *mvif = msta->vif; mt7615_mcu_wtbl_rx_ba() local 1362 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_wtbl_sta_add() local 1426 struct mt7615_vif *mvif = msta->vif; mt7615_mcu_sta_ba() local 1467 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_add_sta_cmd() local 1522 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_uni_add_dev() local 1618 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_uni_add_bss() local 1765 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_uni_add_beacon_offload() local 1837 struct mt7615_vif *mvif = msta->vif; mt7615_mcu_uni_tx_ba() local 1878 struct mt7615_vif *mvif = msta->vif; mt7615_mcu_uni_rx_ba() local 2996 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_set_vif_ps() local 3080 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_hw_scan() local 3166 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_cancel_hw_scan() local 3192 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_sched_scan_req() local 3557 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_set_bss_pm() local 3633 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_set_wow_ctrl() local 3677 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_set_wow_pattern() local 3712 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_set_suspend_mode() local 3741 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_set_gtk_rekey() local 3767 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_set_arp_filter() local 3844 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_update_gtk_rekey() local 3884 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_set_roc() local 3905 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_update_arp_filter() local 3951 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_set_p2p_oppps() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | main.c | 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 in mt7615_add_interface() 250 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_remove_interface() local 349 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_set_key() local 479 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt7615_conf_tx() local 559 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_update_mu_group() local 620 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_bss_info_changed() local 652 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mac_sta_add() local 694 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mac_sta_remove() local 779 struct mt7615_vif *mvif; mt7615_tx() local 912 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_get_tsf() local 940 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_set_tsf() local 966 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_offset_tsf() local [all...] |
H A D | mcu.c | 590 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_mcu_muar_config() local 591 u32 idx = mvif->mt76.omac_idx - REPEATER_BSSID_START; in mt7615_mcu_muar_config() 626 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_mcu_add_dev() local 645 .omac_idx = mvif->mt76.omac_idx, in mt7615_mcu_add_dev() 646 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_dev() 654 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_dev() 658 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7615_mcu_add_dev() 671 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_mcu_add_beacon_offload() local 691 .omac_idx = mvif->mt76.omac_idx, in mt7615_mcu_add_beacon_offload() 694 .band_idx = mvif in mt7615_mcu_add_beacon_offload() 743 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_add_bss() local 774 struct mt7615_vif *mvif = msta->vif; mt7615_mcu_wtbl_tx_ba() local 809 struct mt7615_vif *mvif = msta->vif; mt7615_mcu_wtbl_rx_ba() local 843 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_wtbl_sta_add() local 930 struct mt7615_vif *mvif = msta->vif; mt7615_mcu_sta_ba() local 977 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; __mt7615_mcu_add_sta() local 1036 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_uni_add_beacon_offload() local 1110 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_uni_add_dev() local 1120 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_uni_add_bss() local 1152 struct mt7615_vif *mvif = msta->vif; mt7615_mcu_uni_rx_ba() local 2515 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_set_bss_pm() local 2555 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; mt7615_mcu_set_roc() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_beacon.c | 69 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_mac_set_beacon_enable() local 78 dev->mt76.beacon_mask |= BIT(mvif->idx); in mt76x02_mac_set_beacon_enable() 80 dev->mt76.beacon_mask &= ~BIT(mvif->idx); in mt76x02_mac_set_beacon_enable() 136 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_update_beacon_iter() local 139 if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) in mt76x02_update_beacon_iter() 155 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_add_buffered_bc() local 159 if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) in mt76x02_add_buffered_bc() 171 data->tail[mvif->idx] = skb; in mt76x02_add_buffered_bc()
|
H A D | mt76x02_util.c | 247 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_sta_add() local 256 msta->vif = mvif; in mt76x02_sta_add() 260 mt76x02_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); in mt76x02_sta_add() 287 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_vif_init() local 290 memset(mvif, 0, sizeof(*mvif)); in mt76x02_vif_init() 292 mvif->idx = idx; in mt76x02_vif_init() 293 mvif->group_wcid.idx = MT_VIF_WCID(idx); in mt76x02_vif_init() 294 mvif->group_wcid.hw_key_idx = -1; in mt76x02_vif_init() 296 mtxq->wcid = &mvif in mt76x02_vif_init() 346 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mt76x02_remove_interface() local 411 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mt76x02_set_key() local 639 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mt76x02_bss_info_changed() local [all...] |
H A D | mt76x02_txrx.c | 25 struct mt76x02_vif *mvif; in mt76x02_tx() local 27 mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_tx() 28 wcid = &mvif->group_wcid; in mt76x02_tx()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_beacon.c | 72 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_mac_set_beacon_enable() local 82 dev->mt76.beacon_mask |= BIT(mvif->idx); in mt76x02_mac_set_beacon_enable() 84 dev->mt76.beacon_mask &= ~BIT(mvif->idx); in mt76x02_mac_set_beacon_enable() 140 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_update_beacon_iter() local 143 if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) in mt76x02_update_beacon_iter() 159 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_add_buffered_bc() local 163 if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) in mt76x02_add_buffered_bc() 175 data->tail[mvif->idx] = skb; in mt76x02_add_buffered_bc()
|
H A D | mt76_connac_mcu.c | 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 in mt76_connac_mcu_bss_omac_tlv() 492 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_sta_update_hdr_trans() local 540 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_wtbl_generic_tlv() local 832 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_sta_tlv() local 1023 struct mt76_vif *mvif = (struct mt76_vif *)info->vif->drv_priv; mt76_connac_mcu_sta_cmd() local 1116 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_uni_add_dev() local 1237 mt76_connac_mcu_sta_ba(struct mt76_dev *dev, struct mt76_vif *mvif, struct ieee80211_ampdu_params *params, int cmd, bool enable, bool tx) mt76_connac_mcu_sta_ba() argument 1374 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_get_he_phy_cap() local 1423 mt76_connac_mcu_uni_set_chctx(struct mt76_phy *phy, struct mt76_vif *mvif, struct ieee80211_chanctx_conf *ctx) mt76_connac_mcu_uni_set_chctx() argument 1511 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_uni_add_bss() local 1637 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_hw_scan() local 1743 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_cancel_hw_scan() local 1769 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_sched_scan_req() local 2295 struct ieee80211_vif *mvif = container_of(info, struct ieee80211_vif, mt76_connac_mcu_update_arp_filter() local 2335 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_set_p2p_oppps() local 2402 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_update_gtk_rekey() local 2443 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_set_arp_filter() local 2469 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_set_gtk_rekey() local 2497 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_set_suspend_mode() local 2527 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_set_wow_pattern() local 2559 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_set_wow_ctrl() local 2766 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_add_key() local 2788 mt76_connac_mcu_bss_ext_tlv(struct sk_buff *skb, struct mt76_vif *mvif) mt76_connac_mcu_bss_ext_tlv() argument 2812 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; mt76_connac_mcu_bss_basic_tlv() local [all...] |
H A D | mt792x_core.c | 72 struct mt792x_vif *mvif; in mt792x_tx() local 74 mvif = (struct mt792x_vif *)vif->drv_priv; in mt792x_tx() 75 wcid = &mvif->sta.wcid; in mt792x_tx() 97 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt792x_remove_interface() local 98 struct mt792x_sta *msta = &mvif->sta; in mt792x_remove_interface() 105 mt76_connac_mcu_uni_add_dev(&dev->mphy, vif, &mvif->sta.wcid, false); in mt792x_remove_interface() 109 dev->mt76.vif_mask &= ~BIT_ULL(mvif->mt76.idx); in mt792x_remove_interface() 110 phy->omac_mask &= ~BIT_ULL(mvif->mt76.omac_idx); in mt792x_remove_interface() 126 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt792x_conf_tx() local 130 mvif in mt792x_conf_tx() 157 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt792x_get_tsf() local 183 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt792x_set_tsf() local 242 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt792x_assign_vif_chanctx() local 258 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt792x_unassign_vif_chanctx() local 395 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; mt792x_get_et_stats() local [all...] |
H A D | mt76x02_util.c | 243 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_sta_add() local 252 msta->vif = mvif; in mt76x02_sta_add() 256 mt76x02_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); in mt76x02_sta_add() 283 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; in mt76x02_vif_init() local 286 memset(mvif, 0, sizeof(*mvif)); in mt76x02_vif_init() 288 mvif->idx = idx; in mt76x02_vif_init() 289 mvif->group_wcid.idx = MT_VIF_WCID(idx); in mt76x02_vif_init() 290 mvif->group_wcid.hw_key_idx = -1; in mt76x02_vif_init() 291 mt76_packet_id_init(&mvif in mt76x02_vif_init() 345 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mt76x02_remove_interface() local 412 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mt76x02_set_key() local 641 struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; mt76x02_bss_info_changed() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
H A D | main.c | 48 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_add_interface() local 57 mvif->idx = idx; in mt7601u_add_interface() 65 mvif->group_wcid.idx = wcid; in mt7601u_add_interface() 66 mvif->group_wcid.hw_key_idx = -1; in mt7601u_add_interface() 75 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_remove_interface() local 76 unsigned int wcid = mvif->group_wcid.idx; in mt7601u_remove_interface() 214 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_sta_add() local 228 mt7601u_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); in mt7601u_sta_add() 297 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_set_key() local 299 struct mt76_wcid *wcid = msta ? &msta->wcid : &mvif in mt7601u_set_key() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt7601u/ |
H A D | main.c | 48 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_add_interface() local 57 mvif->idx = idx; in mt7601u_add_interface() 65 mvif->group_wcid.idx = wcid; in mt7601u_add_interface() 66 mvif->group_wcid.hw_key_idx = -1; in mt7601u_add_interface() 75 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_remove_interface() local 76 unsigned int wcid = mvif->group_wcid.idx; in mt7601u_remove_interface() 214 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_sta_add() local 228 mt7601u_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); in mt7601u_sta_add() 297 struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; in mt7601u_set_key() local 299 struct mt76_wcid *wcid = msta ? &msta->wcid : &mvif in mt7601u_set_key() [all...] |