Home
last modified time | relevance | path

Searched refs:vifs (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dpower.c665 struct iwl_power_vifs *vifs) in iwl_mvm_power_set_pm() argument
681 if (vifs->bss_vif) in iwl_mvm_power_set_pm()
682 bss_mvmvif = iwl_mvm_vif_from_mac80211(vifs->bss_vif); in iwl_mvm_power_set_pm()
684 if (vifs->p2p_vif) in iwl_mvm_power_set_pm()
685 p2p_mvmvif = iwl_mvm_vif_from_mac80211(vifs->p2p_vif); in iwl_mvm_power_set_pm()
687 if (vifs->ap_vif) in iwl_mvm_power_set_pm()
688 ap_mvmvif = iwl_mvm_vif_from_mac80211(vifs->ap_vif); in iwl_mvm_power_set_pm()
695 if (vifs->bss_active && !vifs->p2p_active && !vifs->ap_active) { in iwl_mvm_power_set_pm()
701 if (vifs->p2p_active && !vifs->bss_active && !vifs->ap_active) { in iwl_mvm_power_set_pm()
706 if (vifs->bss_active && vifs->p2p_active) in iwl_mvm_power_set_pm()
[all …]
Dmac80211.c4328 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mvm_switch_vif_chanctx_swap() argument
4333 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap()
4334 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap()
4336 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
4342 ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, in iwl_mvm_switch_vif_chanctx_swap()
4357 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
4360 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap()
4365 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_swap()
4385 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mvm_switch_vif_chanctx_reassign() argument
4390 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign()
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Ddriver-ops.c274 struct ieee80211_vif_chanctx_switch *vifs, in drv_switch_vif_chanctx() argument
287 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
291 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
302 trace_drv_switch_vif_chanctx(local, vifs, n_vifs, mode); in drv_switch_vif_chanctx()
304 vifs, n_vifs, mode); in drv_switch_vif_chanctx()
310 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
314 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
Dtrace.h1578 #define SWITCH_ENTRY_ASSIGN(to, from) local_vifs[i].to = vifs[i].from
1583 struct ieee80211_vif_chanctx_switch *vifs,
1585 TP_ARGS(local, vifs, n_vifs, mode),
1591 __dynamic_array(u8, vifs,
1601 __get_dynamic_array(vifs);
1607 sdata = container_of(vifs[i].vif,
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_mr.c69 struct mlxsw_sp_mr_vif vifs[MAXVIFS]; member
323 &mr_table->vifs[i]); in mlxsw_sp_mr_route_create()
326 if (mr_table->vifs[i].dev && in mlxsw_sp_mr_route_create()
327 mr_table->vifs[i].dev->mtu < mr_route->min_mtu) in mlxsw_sp_mr_route_create()
328 mr_route->min_mtu = mr_table->vifs[i].dev->mtu; in mlxsw_sp_mr_route_create()
332 &mr_table->vifs[mfc->mfc_parent]); in mlxsw_sp_mr_route_create()
685 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_index]; in mlxsw_sp_mr_vif_add()
696 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_index]; in mlxsw_sp_mr_vif_del()
712 if (mr_table->vifs[vif_index].dev == dev) in mlxsw_sp_mr_dev_vif_lookup()
713 return &mr_table->vifs[vif_index]; in mlxsw_sp_mr_dev_vif_lookup()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dnetdev.c20 vif = wil->vifs[i]; in wil_has_other_active_ifaces()
150 vif = wil->vifs[txdata->mid]; in wil6210_netdev_poll_tx()
290 if (!wil->vifs[i]) in wil_vif_find_free_mid()
416 if (wil->vifs[vif->mid]) { in wil_vif_add()
435 wil->vifs[vif->mid] = vif; in wil_vif_add()
500 vif = wil->vifs[mid]; in wil_vif_remove()
521 wil->vifs[mid] = NULL; in wil_vif_remove()
Dpm.c19 struct wil6210_vif *vif = wil->vifs[i]; in wil_pm_wake_connected_net_queues()
33 struct wil6210_vif *vif = wil->vifs[i]; in wil_pm_stop_all_net_queues()
116 struct wil6210_vif *vif = wil->vifs[i]; in wil_can_suspend()
Dmain.c679 vif = wil->vifs[i]; in wil_bcast_fini_all()
1490 struct wil6210_vif *vif = wil->vifs[i]; in wil_abort_scan_all_vifs()
1554 vif = wil->vifs[i]; in wil_restore_vifs()
1644 vif = wil->vifs[i]; in wil_reset()
Ddebugfs.c1440 vif = (mid < GET_MAX_VIFS(wil)) ? wil->vifs[mid] : NULL; in link_show()
1639 struct wil6210_vif *vif = wil->vifs[mid]; in sta_show()
1705 vif = wil->vifs[i]; in mids_show()
1926 vif = wil->vifs[i]; in wil_link_stats_debugfs_show()
1982 vif = wil->vifs[i]; in wil_link_stats_write()
Drx_reorder.c101 vif = wil->vifs[mid]; in wil_rx_reorder()
Dtxrx_edma.c773 vif = wil->vifs[mid]; in wil_check_bar()
1094 struct wil6210_vif *vif = wil->vifs[mid]; in wil_rx_handle_edma()
1205 vif = wil->vifs[txdata->mid]; in wil_tx_sring_handler()
Dpcie_bus.c171 vif = wil->vifs[i]; in wil_remove_all_additional_vifs()
Dcfg80211.c611 if (wil->vifs[i]) { in wil_cfg80211_validate_add_iface()
612 wdev = vif_to_wdev(wil->vifs[i]); in wil_cfg80211_validate_add_iface()
632 struct wil6210_vif *vif_pos = wil->vifs[i]; in wil_cfg80211_validate_change_iface()
2013 struct wil6210_vif *vif = wil->vifs[i]; in wil_cfg80211_ap_recovery()
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c487 if (!adapter->vifs[i] || in rsi_mac80211_add_interface()
488 !memcmp(vif->addr, adapter->vifs[i]->addr, ETH_ALEN)) { in rsi_mac80211_add_interface()
499 adapter->vifs[vap_idx] = vif; in rsi_mac80211_add_interface()
554 if (!adapter->vifs[i]) in rsi_mac80211_remove_interface()
556 if (vif == adapter->vifs[i]) { in rsi_mac80211_remove_interface()
560 adapter->vifs[i] = NULL; in rsi_mac80211_remove_interface()
592 vif = adapter->vifs[i]; in rsi_channel_change()
692 vif = adapter->vifs[i]; in rsi_mac80211_config()
1090 if (vif == adapter->vifs[ii]) in rsi_mac80211_ampdu_action()
1331 vif = adapter->vifs[i]; in rsi_fill_rx_status()
[all …]
Drsi_main.h357 struct ieee80211_vif *vifs[RSI_MAX_VIFS]; member
Drsi_91x_core.c359 vif = adapter->vifs[i]; in rsi_get_vif()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dchannel.c119 INIT_LIST_HEAD(&ctx->vifs); in ath_chanctx_init()
169 list_for_each_entry(avp, &ctx->vifs, list) { in ath_is_go_chanctx_present()
280 list_for_each_entry(avp, &ctx->vifs, list) { in ath_chanctx_check_active()
297 if (!ctx->assigned || list_empty(&ctx->vifs)) in ath_chanctx_check_active()
867 if (!ctx->assigned || list_empty(&ctx->vifs)) in ath_chanctx_get_oper_chan()
1154 list_for_each_entry(avp, &sc->cur_chan->vifs, list) { in ath_chanctx_send_ps_frame()
1348 INIT_LIST_HEAD(&ctx->vifs); in ath9k_offchannel_init()
Dmain.c1078 list_for_each_entry(avp, &ctx->vifs, list) { in ath9k_update_bssid_mask()
1110 list_for_each_entry(avp, &ctx->vifs, list) in ath9k_calculate_iter_data()
1364 list_add_tail(&avp->list, &avp->chanctx->vifs); in ath9k_add_interface()
2623 list_add_tail(&avp->list, &ctx->vifs); in ath9k_assign_vif_chanctx()
Dath9k.h330 struct list_head vifs; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
Dmain.c678 ar->vifs++; in carl9170_op_add_interface()
736 ar->vifs--; in carl9170_op_add_interface()
742 if (ar->vifs > 1) in carl9170_op_add_interface()
764 ar->vifs--; in carl9170_op_remove_interface()
780 if (ar->vifs) { in carl9170_op_remove_interface()
804 if (ar->vifs == 1) in carl9170_op_remove_interface()
1805 ar->vifs = 0; in carl9170_alloc()
Dcarl9170.h308 unsigned int vifs; member
Ddebug.c443 ar->vifs, ar->fw.vif_num); in carl9170_debugfs_vif_dump_read()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dmac.c5047 struct ieee80211_vif_chanctx_switch *vifs; member
5078 arg->vifs[arg->next_vif].vif = vif; in ath11k_mac_change_chanctx_fill_iter()
5079 arg->vifs[arg->next_vif].old_ctx = ctx; in ath11k_mac_change_chanctx_fill_iter()
5080 arg->vifs[arg->next_vif].new_ctx = ctx; in ath11k_mac_change_chanctx_fill_iter()
5086 struct ieee80211_vif_chanctx_switch *vifs, in ath11k_mac_update_vif_chan() argument
5097 arvif = (void *)vifs[i].vif->drv_priv; in ath11k_mac_update_vif_chan()
5102 vifs[i].old_ctx->def.chan->center_freq, in ath11k_mac_update_vif_chan()
5103 vifs[i].new_ctx->def.chan->center_freq, in ath11k_mac_update_vif_chan()
5104 vifs[i].old_ctx->def.width, in ath11k_mac_update_vif_chan()
5105 vifs[i].new_ctx->def.width); in ath11k_mac_update_vif_chan()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dmac.c8472 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_rx_channel() argument
8483 WARN_ON(ctx && vifs); in ath10k_mac_update_rx_channel()
8484 WARN_ON(vifs && !n_vifs); in ath10k_mac_update_rx_channel()
8502 if (vifs) in ath10k_mac_update_rx_channel()
8503 def = &vifs[0].new_ctx->def; in ath10k_mac_update_rx_channel()
8522 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_vif_chan() argument
8538 arvif = (void *)vifs[i].vif->drv_priv; in ath10k_mac_update_vif_chan()
8543 vifs[i].old_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan()
8544 vifs[i].new_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan()
8545 vifs[i].old_ctx->def.width, in ath10k_mac_update_vif_chan()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dipmr.c2827 struct nlattr *vifs, *af; in ipmr_rtm_dumplink() local
2854 vifs = nla_nest_start_noflag(skb, IPMRA_TABLE_VIFS); in ipmr_rtm_dumplink()
2855 if (!vifs) { in ipmr_rtm_dumplink()
2864 nla_nest_end(skb, vifs); in ipmr_rtm_dumplink()
2874 nla_nest_end(skb, vifs); in ipmr_rtm_dumplink()

12